105 impure module function isLinux()
result(itis)
106#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
107 !DEC$ ATTRIBUTES DLLEXPORT ::
isLinux
112 impure module function isLinuxFailed(failed)
result(itis)
113#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
114 !DEC$ ATTRIBUTES DLLEXPORT :: isLinuxFailed
117 logical(LK) ,
intent(out) :: failed
121 impure module function isLinuxFailedMsg(failed, errmsg)
result(itis)
122#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
123 !DEC$ ATTRIBUTES DLLEXPORT :: isLinuxFailedMsg
125 logical(LK) ,
intent(out) :: failed
126 character(
*, SK),
intent(inout) :: errmsg
193 impure module function isDarwin()
result(itis)
194#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
195 !DEC$ ATTRIBUTES DLLEXPORT ::
isDarwin
200 impure module function isDarwinFailed(failed)
result(itis)
201#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
202 !DEC$ ATTRIBUTES DLLEXPORT :: isDarwinFailed
205 logical(LK) ,
intent(out) :: failed
209 impure module function isDarwinFailedMsg(failed, errmsg)
result(itis)
210#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
211 !DEC$ ATTRIBUTES DLLEXPORT :: isDarwinFailedMsg
213 logical(LK) ,
intent(out) :: failed
214 character(
*, SK),
intent(inout) :: errmsg
281 impure module function isWindows()
result(itis)
282#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
288 impure module function isWindowsFailed(failed)
result(itis)
289#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
290 !DEC$ ATTRIBUTES DLLEXPORT :: isWindowsFailed
293 logical(LK) ,
intent(out) :: failed
297 impure module function isWindowsFailedMsg(failed, errmsg)
result(itis)
298#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
299 !DEC$ ATTRIBUTES DLLEXPORT :: isWindowsFailedMsg
301 logical(LK) ,
intent(out) :: failed
302 character(
*, SK),
intent(inout) :: errmsg
310end module pm_os ! LCOV_EXCL_LINE
Generate and return .true. if the runtime operating system is Darwin (macOS).
Generate and return .true. if the runtime operating system is Linux.
Generate and return .true. if the runtime operating system is Windows.
This module defines the relevant Fortran kind type-parameters frequently used in the ParaMonte librar...
integer, parameter RK
The default real kind in the ParaMonte library: real64 in Fortran, c_double in C-Fortran Interoperati...
integer, parameter LK
The default logical kind in the ParaMonte library: kind(.true.) in Fortran, kind(....
integer, parameter CK
The default complex kind in the ParaMonte library: real64 in Fortran, c_double_complex in C-Fortran I...
integer, parameter IK
The default integer kind in the ParaMonte library: int32 in Fortran, c_int32_t in C-Fortran Interoper...
integer, parameter SK
The default character kind in the ParaMonte library: kind("a") in Fortran, c_char in C-Fortran Intero...
This module contains procedures and generic interfaces for inferring the processor operating system.
character(*, SK), parameter MODULE_NAME