The size of the communicator¶
SAF_SIZE
is a macro defined in saf.h.
Synopsis:
-
SAF_SIZE
(Db)¶
Description: A macro which evaluates to the MPI_Size
of the communicator used to open the database. If NULL
is passed for
the Db
argument, the MPI_Size
of the communicator used to initialize the library is returned. In serial
a value of 1 is returned. If not called within an enclosing pair of saf_init / saf_final calls,
the value -1 is returned (See *Constants*).
See Also:
- saf_final: 4.2: Finalize access to the library
- saf_init: 4.3: Initialize the library
- Miscellaneous Utilities: Introduction for current chapter