#include "petscsys.h" PetscErrorCode PetscShmCommLocalToGlobal(PetscShmComm pshmcomm,PetscMPIInt lrank,PetscMPIInt *grank)
pshmcomm | - the shared memory communicator object | |
lrank | - the local rank in the shared memory communicator |
grank | - the global rank in the global communicator where the shared memory communicator is built |