1
1

Add the positioned file directory to MPI_INFO_ENV

This commit was SVN r27146.
Этот коммит содержится в:
Ralph Castain 2012-08-26 16:21:03 +00:00
родитель 8b5d634231
Коммит 9f779f115d

Просмотреть файл

@ -173,6 +173,13 @@ int ompi_info_init(void)
ompi_info_set(&ompi_mpi_info_env.info, "np", cptr);
}
/* location of the directory containing any prepositioned files
* the user may have requested
*/
if (NULL != (cptr = getenv("OMPI_FILE_LOCATION"))) {
ompi_info_set(&ompi_mpi_info_env.info, "positioned_file_dir", cptr);
}
/* All done */
return OMPI_SUCCESS;