mpi.realloc: Find and increase the lengthes of MPI opaques comm, request,...

Description Usage Arguments Details Author(s) References

Description

mpi.comm.maxsize, mpi.request.maxsize, and mpi.status.maxsize find the lengthes of comm, request, and status arrayes respectively.

mpi.realloc.comm, mpi.realloc.request and mpi.realloc.status increase the lengthes of comm, request and status arrayes to newmaxsize respectively if newmaxsize is bigger than the original maximum size.

Usage

1
2
3
4
5
6

Arguments

newmaxsize

an integer.

Details

When Rmpi is loaded, Rmpi allocs comm array with size 10, request array with 10,000 and status array with 5,000. They should be enough in most cases. They use less than 150KB system memory. In rare case, one can use mpi.realloc.comm, mpi.realloc.request and mpi.realloc.status to increase them to bigger arrayes.

Author(s)

Hao Yu

References

http://www.openmpi.org/


Rmpi documentation built on Nov. 13, 2018, 9:03 a.m.