Returns number of CPU cores from /proc/cpuinfo
(cpu cores
of
processor 0).
The function returns the following error codes:
E_FORMAT
if output format is unexpected.E_PLATFORM
if current system is not Linux.E_READ
if pipe returned no bytes.E_SYSTEM
if system call failed.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out) | :: | ncore |
Number of CPU cores. |