[mpich-discuss] How to make a non-MPI process to become a MPI process of MPI_COMM_WORLD?

haozi yidanyiji at 163.com
Sun Jan 25 18:24:29 CST 2015



In more details, I run the example as following:
//node1
mpiexec -n 1 ./a.out 2 1

//node2 
mpiexec -n 1 ./a.out 2 0

//node2 
mpiexec -n 1 ./a.out 2 0





At 2015-01-26 03:26:21, "Balaji, Pavan" <balaji at anl.gov> wrote:
>
>Using dynamic processes is not supported in MPICH for singleton init.  Can you try running it with mpiexec?
>
>Also, note that you should be using MPI publish/lookup functions instead of writing to a file yourself.
>
>  -- Pavan
>
>> On Jan 25, 2015, at 5:26 AM, haozi <yidanyiji at 163.com> wrote:
>> 
>> Thanks, Balaji.
>> 
>> server_port_name.txt is built by the example, not by user.
>> 
>> 
>> At 2015-01-25 19:24:28, "Balaji, Pavan" <balaji at anl.gov> wrote:
>> >
>> >> On Jan 25, 2015, at 5:04 AM, haozi <yidanyiji at 163.com> wrote:
>> >> Hello, Balaji.
>> >> 
>> >> The example from OpenMPI is attached.
>> >
>> >server_port_name.txt is missing.
>> >
>> >--
>> >Pavan Balaji  ✉️
>> >http://www.mcs.anl.gov/~balaji
>> >
>> >_______________________________________________
>> >discuss mailing list     discuss at mpich.org
>> >To manage subscription options or unsubscribe:
>> >https://lists.mpich.org/mailman/listinfo/discuss
>> 
>> 
>> 
>> _______________________________________________
>> discuss mailing list     discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>
>--
>Pavan Balaji  ✉️
>http://www.mcs.anl.gov/~balaji
>
>_______________________________________________
>discuss mailing list     discuss at mpich.org
>To manage subscription options or unsubscribe:
>https://lists.mpich.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150126/b81f62a8/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