ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This is the kernelis_type class for generating objects with logical
components to determine the operating system (OS) kernel.
More...
Public Attributes | |
logical(LK) | windows = .false._LK |
The scalar logical value indicating whether the OS is Windows. More... | |
logical(LK) | cygwin = .false._LK |
The scalar logical value indicating whether the OS is Cygwin. More... | |
logical(LK) | mingw = .false._LK |
The scalar logical value indicating whether the OS is MinGW. More... | |
logical(LK) | msys = .false._LK |
The scalar logical value indicating whether the OS is MSYS. More... | |
logical(LK) | linux = .false._LK |
The scalar logical value indicating whether the OS is Linux. More... | |
logical(LK) | darwin = .false._LK |
The scalar logical value indicating whether the OS is Darwin. More... | |
logical(LK) | freebsd = .false._LK |
The scalar logical value indicating whether the OS is FreeBSD. More... | |
This is the kernelis_type class for generating objects with logical
components to determine the operating system (OS) kernel.
When an object of this type is generated, a single object component corresponding to OS kernel is set to .true.
.
The OS kernel is inferred either through compile-time preprocessing OS macros if they are defined or otherwise through runtime shell.
"msys"
, "MinGW"
, "Cygwin"
are not really standalone Operating Systems, rather Linux compatibility environments within Windows platforms.windows
component of the object of type kernelis_type is always set to .true.
.[out] | failed | : The output scalar logical of default kind LK that is .true. if and only if an error occurs while inferring the operating system kernel.(optional. If missing and a runtime error occurs, the program will halt by calling error stop .) |
[in,out] | errmsg | : The input/output scalar character of default kind SK of arbitrary length type parameter.If an error occurs, errmsg will be set to a descriptive message about the nature of the runtime error.A length of LEN_IOMSG characters is likely sufficient to capture most error messages in full. (optional. It can be present only if failed is also present. If missing, no error message will be output.) |
kernelis
: The output scalar object of type kernelis_type containing the specifics of the runtime operating system kernel.
Possible calling interfaces ⛓
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 117 of file pm_sysInfo.F90.
logical(LK) pm_sysInfo::kernelis_type::cygwin = .false._LK |
The scalar logical
value indicating whether the OS is Cygwin.
Definition at line 119 of file pm_sysInfo.F90.
logical(LK) pm_sysInfo::kernelis_type::darwin = .false._LK |
The scalar logical
value indicating whether the OS is Darwin.
Definition at line 123 of file pm_sysInfo.F90.
logical(LK) pm_sysInfo::kernelis_type::freebsd = .false._LK |
The scalar logical
value indicating whether the OS is FreeBSD.
Definition at line 124 of file pm_sysInfo.F90.
logical(LK) pm_sysInfo::kernelis_type::linux = .false._LK |
The scalar logical
value indicating whether the OS is Linux.
Definition at line 122 of file pm_sysInfo.F90.
logical(LK) pm_sysInfo::kernelis_type::mingw = .false._LK |
The scalar logical
value indicating whether the OS is MinGW.
Definition at line 120 of file pm_sysInfo.F90.
logical(LK) pm_sysInfo::kernelis_type::msys = .false._LK |
The scalar logical
value indicating whether the OS is MSYS.
Definition at line 121 of file pm_sysInfo.F90.
logical(LK) pm_sysInfo::kernelis_type::windows = .false._LK |
The scalar logical
value indicating whether the OS is Windows.
Definition at line 118 of file pm_sysInfo.F90.