|
subroutine, public | m_flush (lunit) |
| flushes units if the &GLOBAL flag is set accordingly More...
|
|
real(kind=dp) function, public | m_walltime () |
| returns time from a real-time clock, protected against rolling early/easily More...
|
|
subroutine, public | m_cpuinfo (model_name) |
| reads /proc/cpuinfo if it exists (i.e. Linux) to return relevant info More...
|
|
pure integer function, public | m_cpuid () |
| Target architecture or instruction set extension according to CPU-check at runtime. More...
|
|
character(len=default_string_length) function, pointer, public | m_cpuid_name (cpuid) |
| Determine name of target architecture for a given CPUID. More...
|
|
real(kind=dp) function, public | m_energy () |
| returns the energy used since some time in the past. The precise meaning depends on the infrastructure is available. In the cray_pm_energy case, this is the energy used by the node in kJ. More...
|
|
subroutine, public | m_datum (cal_date) |
| returns a datum in human readable format using a standard Fortran routine More...
|
|
subroutine, public | m_abort () |
| Can be used to get a nice core. More...
|
|
integer function, public | m_procrun (pid) |
| Returns if a process is running on the local machine 1 if yes and 0 if not. More...
|
|
subroutine, public | m_memory (mem) |
| Returns the total amount of memory [bytes] in use, if known, zero otherwise. More...
|
|
subroutine, public | m_memory_details (MemTotal, MemFree, Buffers, Cached, Slab, SReclaimable, MemLikelyFree) |
| get more detailed memory info, all units are bytes. the only 'useful' option is MemLikelyFree which is an estimate of remaining memory assumed to give info like /proc/meminfo while MeMLikelyFree is the amount of memory we're likely to be able to allocate, but not necessarily in one chunk zero means not available... More...
|
|
subroutine, public | m_hostnm (hname) |
| ... More...
|
|
subroutine, public | m_getcwd (curdir) |
| ... More...
|
|
subroutine, public | m_chdir (dir, ierror) |
| ... More...
|
|
subroutine, public | m_getpid (pid) |
| ... More...
|
|
subroutine, public | m_mov (source, TARGET) |
| ... More...
|
|
subroutine, public | m_getlog (user) |
| ... More...
|
|
subroutine, public | m_get_omp_stacksize (omp_stacksize) |
| Retrieve environment variable OMP_STACKSIZE. More...
|
|
|
integer, parameter, public | default_output_unit = output_unit |
|
integer, parameter, public | default_input_unit = input_unit |
|
integer, parameter, public | machine_cpu_generic = CP_MACHINE_CPU_GENERIC |
|
integer, parameter, public | machine_x86_sse4 = CP_MACHINE_X86_SSE4 |
|
integer, parameter, public | machine_x86_avx = CP_MACHINE_X86_AVX |
|
integer, parameter, public | machine_x86_avx2 = CP_MACHINE_X86_AVX2 |
|
integer, parameter, public | machine_x86_avx512 = CP_MACHINE_X86_AVX512 |
|
integer, parameter, public | machine_x86 = MACHINE_X86_AVX512 |
|
logical, save, public | flush_should_flush = .TRUE. |
|
integer(kind=int_8), save, public | m_memory_max = 0 |
|
Machine interface based on Fortran 2003 and POSIX.
- History
- JGH (05.07.2001) : added G95 interface
- m_flush added (12.06.2002,MK)
- Missing print_memory added (24.09.2002,MK)
- Migrate to generic implementation based on F2003 + POSIX (2014, Ole Schuett)
- Author
- APSI, JGH, Ole Schuett