![]() |
ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
Generate and return .true.
if the attempt to create a temporary directory fails.
Otherwise return .false.
and set the output path
to the newly created temporary directory.
More...
Generate and return .true.
if the attempt to create a temporary directory fails.
Otherwise return .false.
and set the output path
to the newly created temporary directory.
The procedures of this generic interface attempt to create a unique temporary directory wihtin a parent directory that is either,
parent
, or[out] | path | : The output allocatable scalar character of default kind SK containing a POSIX-style or Windows-style path to the temporary directory the procedure creates.If the procedure fails, the allocation status or contents of path will be undefined. |
[in] | parent | : The input scalar character of default kind SK containing the parent directory within which the temporary directory should be created.(optional, default = either the system-specified temporary directory or the current working directory) |
[in,out] | errmsg | : The input/output scalar character of default kind SK of arbitrary length type parameter.If present and an error occurs, it is assigned an explanatory message describing the nature of the error that has occurred. If the length of errmsg is too short for the output error message, the message tail will be clipped as needed.A length of 2047 characters for errmsg is likely enough to capture most error messages in full.(optional. If missing, no error message will be output.) |
failed
: The output scalar logical
of default kind LK. It is .true.
if and only if an error occurs while creating the temporary directory.
Possible calling interfaces ⛓
impure
.
Example usage ⛓
ifort
compiler ⛓ ifort
compiler ⛓ gfortran
compiler ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Definition at line 3308 of file pm_sysPath.F90.