FORTRAN Reference Manual

Fault-Tolerant Programming
FORTRAN Reference Manual528615-001
16-2
Assigning a Process Name
even if the primary process fails. You might, however, have to reenter data,
reinitialize your environment, and so forth.
To run a fault-tolerant process, your program must:
Be a named process
Execute a START BACKUP statement to create a backup process
Execute CHECKPOINT statements to send data to the backup process
Specify the NONSTOP directive if you specify the ENV COMMON directive
Not specify the NONSTOP OFF TACL PARAM if you compiled your program with
ENV COMMON
The FORTRAN run-time library performs all other tasks needed to support
fault-tolerant operation for your process.
Assigning a Process Name
A fault-tolerant program consists of two separate processes (both created from the
same object program) running in two separate processors. Both the primary process
and the backup process have the same process name.
You can assign a process name to a process by:
Specifying the run-time NAME option with a five-character name preceded by a
dollar ($) sign; for example:
1> RUN program/NAME $nsprc/
Using a system-assigned name by specifying the NAME run-option without giving
a specific name; for example:
1> RUN program/IN file1, OUT file2, NAME/
Specifying the RUNNAMED compiler directive:
?RUNNAMED
Using the D-series Binder to set the RUNNAMED attribute in an object file:
SET RUNNAMED ON
For more information about the RUNNAMED compiler directive, see Section 10,
Compiler Directives.
For more information about Binder support for the RUNNAMED attribute, see the
Binder Manual.