[mpich-discuss] Fwd: MPI_Info key for hostfile

Sergio Iserte siserte at uji.es
Wed Jan 18 09:05:44 CST 2017


Hello everybody,
I need to determine the target hosts of an MPI_Comm_spawn by using a file.
My solution has been to follow the same procedure of giving a host list,
but changing the key:

*MPI_Info_set(info, "hostfile", filename)* instead of* MPI_Info_set(info,
"hosts", hostlist)*

However, MPI_Comm_spawn seems to ignore "hostfile" key and the processes
are spawned in the wrong hosts (the hosts set during the first mpiexec).

Which key should I use?

I'm working over MPICH 3.2

Best regards,
-- 
Sergio Iserte   -   http://me.sergioiserte.info
Research Assistant @ HPC&A Research Group
Universitat Jaume I (UJI)
*Castellón de la Plana (Spain)*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20170118/74afcf22/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list