Learn R Programming

npRmpi (version 0.60-20)

mpi.universe.size: MPI_Universe_size API

Description

mpi.universe.size returns the total number of CPUs available in a cluster. Some MPI implements may not have this MPI call available.

Usage

mpi.universe.size()

Value

An integer giving the total number of CPUs available in the MPI universe for the current configuration.

Arguments

None.

Author

Hao Yu

References

https://www.mpich.org/, https://www.mpich.org/static/docs/latest/www3/