[mpich-discuss] spawning processes in different cores with mpi_info
Pavan Balaji
balaji at mcs.anl.gov
Fri Feb 24 13:06:30 CST 2012
This is a good idea and should be added into the process manager (it
currently isn't). Can you create a ticket for this?
https://trac.mcs.anl.gov/projects/mpich2/newticket
Thanks,
-- Pavan
On 02/24/2012 09:07 AM, Umit wrote:
> 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
> <mailto: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
> <mailto: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
> <mailto: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
--
Pavan Balaji
http://www.mcs.anl.gov/~balaji
More information about the mpich-discuss
mailing list