Implementation of machine interface based on Fortran 2003 and POSIX
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=int_8), | public, | SAVE | :: | m_memory_max | = | 0 |
The number of arguments of the fortran program
Returns if a process is running on the local machine 1 if yes and 0 if not
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | pid |
Can be used to get a nice core
Flush a given unit
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | lunit |
Returns the total amount of memory [bytes] in use, if known, zero otherwise
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int_8), | intent(out), | optional | :: | mem |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int_8), | optional | :: | MemTotal | |||
| integer(kind=int_8), | optional | :: | MemFree | |||
| integer(kind=int_8), | optional | :: | Buffers | |||
| integer(kind=int_8), | optional | :: | Cached | |||
| integer(kind=int_8), | optional | :: | Slab | |||
| integer(kind=int_8), | optional | :: | SReclaimable | |||
| integer(kind=int_8), | optional | :: | MemLikelyFree |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | source | |||
| character(len=*), | intent(in) | :: | TARGET |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(out) | :: | hname |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(out) | :: | curdir |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | dir | |||
| integer, | intent(out) | :: | ierror |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(out) | :: | user |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(out) | :: | pid |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | i | |||
| character(len=*), | intent(out) | :: | arg |