OpenFAM Reference Implementation

openfam::fam::fam_abort

Forcibly terminate the program.

Synopsis

void fam_abort(int status);

Description

This method is used to signal to the OpenFAM library that the PE wishes to abort the program.

Input Arguments

NameDescription
status

Termination status desired by the PE.

Return Values

None.

Notes

The OpenFAM library asynchronously notifies all other cooperating PEs when fam_abort() is called, and the method returns before other PEs terminate. Since data consistency in FAM cannot be guaranteed by the library, this method should not be used as the normal exit.

Example

See fam_initialize