[MPIWG Fortran] ticket 351

Jeff Hammond jeff.science at gmail.com
Tue Oct 22 12:09:07 CDT 2013

> And, lastly, MPI 3.0 already defines a way of getting this that is
> the same in both Fortran and C - using MPI_INFO_ENV.

If only that were true.

>From https://www.open-mpi.org/doc/v1.7/man3/MPI_Info_env.3.php:

argv - "The argv given for the application. If no arguments are passed
to the application, then this value will not be set. It will also not
be set in the case of a singleton that calls MPI_Init with NULL
parameters, or a Fortran program."

Furthermore, from page 359 of MPI 3.0:

"The info object MPI_INFO_ENV need not contain a (key,value) pair for
each of these predefined keys; the set of (key,value) pairs provided
is implementation-dependent."


Jeff Hammond
jeff.science at gmail.com

More information about the mpiwg-fortran mailing list