[mpich-discuss] Freeing not needed MPI processes
Yauheni Zelenko
zelenko at cadence.com
Thu Dec 16 14:40:21 CST 2010
Hi, Dave!
Thank you for suggestion!
Eugene.
________________________________________
From: mpich-discuss-bounces at mcs.anl.gov [mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Dave Goodell [goodell at mcs.anl.gov]
Sent: Thursday, December 16, 2010 12:11 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Freeing not needed MPI processes
I think that you could use dynamic processes together with MPI_Comm_disconnect to allow worker processes to exit prematurely while the master processes continue to work.
-Dave
On Dec 16, 2010, at 2:02 PM CST, Yauheni Zelenko wrote:
> Hi!
>
> I have a question about correct way of freeing not needed MPI processes.
>
> Our application may decide distributed of regular mode based on input data. But MPI processes started before such decision could be made. In regular mode it need only one master process, so all other may exit. Current implementation wait for exit message from master process before calling MPI_Finalize() on slaves.
>
> Is there other methods to exit from not needed processes to not waste resources?
>
> Thank you,
> Eugene.
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list