[mpich-discuss] MPI_Comm_spawn / MPI_Info question
Christoph Sprenger
csprenger at wetafx.co.nz
Sat Sep 15 21:23:39 CDT 2012
Hi,
I've been trying to get MPI_Info to work with the Spawn interface, but
seems like the env vars aren't supplied to the new processes.
I've been searching the docs and source, but can't find the list of
hints for mpich2, so i am not sure if "envlist" is the right key for the
mpd.
not sure if i missed the obvious. is there an overview somewhere of all
the reserved keys ( eg envall,... )
MPI_Info info;
MPI_Info_create(&info);
MPI_Info_set(info, "envlist", "CUSTOM_VAR");
...
MPI_Comm_spawn(argv[0], &argv[1] , n, info, 0, MPI_COMM_WORLD,
&intracomm, MPI_ERRCODES_IGNORE);
i currently use mpich2-1.2.1
Cheers,
Christoph
More information about the mpich-discuss
mailing list