This function returns the current level of Parallel ESSL installed on your system, where the level consists of a version number, release number, and modification number, plus the fix number of the most recent PTF installed.
Fortran | IPESSL () |
C and C++ | ipessl (); |
Scope: global
Returned as: a fullword integer; vvrrmmff > 0.
This example shows several ways to use the IPESSL function. Most typically, you use IPESSL for checking the version and release level of Parallel ESSL. Suppose you are dependent on a new capability in Parallel ESSL, such as a new subroutine or feature, provided for the first time in (fictitious) Parallel ESSL Version 3 Release 2. You can add the following check in your program before using the new capability:
IF IPESSL() >= 3020000
By specifying 0000 for mmff, the modification and fix level, you are independent of the order in which your modifications and PTFs are installed.
Less typically, you use IPESSL for checking the PTF level of Parallel ESSL. Suppose you are dependent on (fictitious) PTF 24 being installed on your Parallel ESSL Version 1 Release 0 system You want to know whether to call a different user-callable subroutine to set up your array data. You can add the following check in your program before making the call:
IF IPESSL() >= 1000024
If your system support group installed the Parallel ESSL PTFs in their proper sequential order, this test works properly; otherwise, it is unpredictable.