Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

GETPID

Portability Function: Returns the process ID of the current process.

Module

USE IFPORT

result = GETPID( )

Results

The result type is INTEGER(4). The result is the process ID number of the current process.

Example

USE IFPORT
INTEGER(4) istat
istat = GETPID()