..@udc.es]
Sent: Monday, May 26, 2014 8:18 AM
To: Open MPI Users
Subject: Re: [OMPI users] MPI_Finalize() maintains load at 100%.
Hi Ralph,
With version 1.8 works fine :D
I changed all the Finalize by exit(). Obviously with the processes that
continues "util the end" I put a barrier
every other process have finished their own calculations. Maybe you cal
>>> also use the same method and keep P0 in waiting until it receives some data
>>> from other processes?
>>
>> This solution was my first idea, but I can't do it. I use spawned processes
>&
m using MPI_Send and MPI_Recv functions to notify P0 that
>>>> every other process have finished their own calculations. Maybe you cal
>>>> also use the same method and keep P0 in waiting until it receives some data
>>>> from other processes?
>>>
&g
e the same method and keep P0 in waiting until it receives some data
>>> from other processes?
>>
>> This solution was my first idea, but I can't do it. I use spawned processes
>> and
>> different communicators for manage "groups" of processes, so
died (or at least don't stay at 100% load) when
> their finish their work. Its a bit hard to explain.
>
>
>
>
> - Mensaje original -
> De: "Ralph Castain"
> Para: "Open MPI Users"
> Enviados: Viernes, 23 de Mayo 2014 16:39:34
> Asu
tay at 100% load) when
their finish their work. Its a bit hard to explain.
- Mensaje original -
De: "Ralph Castain"
Para: "Open MPI Users"
Enviados: Viernes, 23 de Mayo 2014 16:39:34
Asunto: Re: [OMPI users] MPI_Finalize() maintains load at 100%.
On May 23, 2014,
On May 23, 2014, at 7:21 AM, Iván Cores González wrote:
> Hi Ralph,
> Thanks for your response.
> I see your point, I try to change the algorithm but some processes finish
> while the others are still calling MPI functions. I can't avoid this
> behaviour.
> The ideal behavior is the processe
Hi Ralph,
Thanks for your response.
I see your point, I try to change the algorithm but some processes finish while
the others are still calling MPI functions. I can't avoid this behaviour.
The ideal behavior is the processes go to sleep (or don't use the 100% of load)
when the MPI_Finalize is
Sorry, I assumed you were working with a group of machines (Different
computer with their own resources, connected through network). I am not
sure, if this would work in your situation. But you can still give it a
try, if you keep process 0 in waiting for receiving data, It may consume
less cpu tim
In my codes, I am using MPI_Send and MPI_Recv functions to notify P0 that
every other process have finished their own calculations. Maybe you cal
also use the same method and keep P0 in waiting until it receives some data
from other processes?
On Fri, May 23, 2014 at 4:39 PM, Ralph Castain wrote
Hmmm...that is a bit of a problem. I've added a note to see if we can turn down
the aggressiveness of the MPI layer once we hit finalize, but that won't solve
your immediate problem.
Our usual suggestion is that you have each proc call finalize before going on
to do other things. This avoids th
Hi all,
I have a performance problem with the next code.
int main( int argc, char *argv[] )
{
MPI_Init(&argc, &argv);
int myid;
MPI_Comm_rank(MPI_COMM_WORLD, &myid);
//Imagine some important job here, but P0 ends first.
if (myid != 0)
{
12 matches
Mail list logo