[mpich-discuss] spawning processes in different cores with mpi_info

Umit umitcanyilmaz at gmail.com
Fri Feb 24 09:07:53 CST 2012


Thank you for your answer.

I am getting the hostnames dynamically(at runtime). To create a file I must
crate a datastream. I was using it but If I create a stream I am loosing
too many clock cycles. I am now triing to do it faster.

Isn't it possible without a hostfile? Can't we add more then one hostname
to MPI_Info object?



On 24 February 2012 15:48, Rajeev Thakur <thakur at mcs.anl.gov> wrote:

> You can store all the host names in a file and use the info key "hostlist"
> with the value being the name of the file.
>
> On Feb 24, 2012, at 6:38 AM, Umit wrote:
>
> > Hello all,
> >
> > Is there any comprehensive documentation about mpich2?
> >
> > I want to learn which keys are allowed in MPI_comm_spawn. Is not there
> any documentation about these things?
> >
> > I want to create more then one process at once on specific hosts.
> >
> > If I run the programm with following code I can create two processes on
> core01
> >     np=2;
> >     MPI_Info_create( &info2 );
> >     MPI_Info_set(info2, "host","core01");
> >     MPI_Comm_spawn( "/demo2/./demo2", MPI_ARGV_NULL, np, info2, 0,
> MPI_COMM_WORLD, &intercomm, errcodes );
> >
> > But I want to create each process in other core? Is is possible? I tried
> adding more then one core to info2 but it did not work :
> >     MPI_Info_set(info2, "host","core01,core02");
> >
> > I got he following error: Fatal error in MPI_Comm_spawn: Other MPI
> error, error stack
> >
> > Can somebody help me please?
> >
> > Kind Regards,
> > _______________________________________________
> > mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> > To manage subscription options or unsubscribe:
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120224/f3a2bafc/attachment.htm>


More information about the mpich-discuss mailing list