2%> Finalize the ParaMonte MATLAB sampler simulation run and
return nothing.<br>
5%> This is a ``
private`` and ``Hidden`` dynamic method of the
class [pm.sampling.Sampler](@ref
Sampler).<br>
7%> \param[in] self : The input parent
object of
class [pm.sampling.Sampler](@ref
Sampler)
8%>
which is **implicitly** passed to
this dynamic method (not by the user).<br>
13%> \JoshuaOsborne, May 21 2024, 12:10 AM, University of Texas at Arlington<br>
14%> \AmirShahmoradi, September 1, 2012, 12:00 AM, National Institute
for Fusion Studies, The University of Texas at Austin%>
15function finalize(self)
16 if self.partype ==
"openmp"
18 delete(gcp(
"nocreate"));
20 evalc(
'delete(gcp("nocreate"))');
23 munlock(self.mexname);
26 if self.clstype ==
"gnu"
27 setenv(
'GFORTRAN_STDIN_UNIT' ,
'-1');
28 setenv(
'GFORTRAN_STDOUT_UNIT',
'-1');
29 setenv(
'GFORTRAN_STDERR_UNIT',
'-1');
This is the base class for the ParaMonte sampler routines.
function which(in vendor)
Return the a MATLAB string containing the path to the first mpiexec executable binary found in system...