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

Balaji, Pavan balaji at anl.gov
Sun Jan 25 18:35:13 CST 2015


Yes, you can use these on different nodes as well, but you need to run the hydra_nameserver somewhere and tell mpiexec where the nameserver is using the -nameserver option.  Use mpiexec -nameserver -help for more information.

  -- Pavan

> On Jan 25, 2015, at 6:14 PM, haozi <yidanyiji at 163.com> wrote:
> 
> Also, I run server at node1, and run client at node2, and run client at node3, and ... These nodes have different IP.
> Can MPI publish/loopup work ???
> 
> 
> 
> 
> 
> At 2015-01-26 08:07:19, "haozi" <yidanyiji at 163.com> wrote:
> Yes, I run the example with mpiexec.
> 
> 
> 
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> _______________________________________________
> 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


More information about the discuss mailing list