Re: [OMPI users] calculation progress status

2013-10-21 Thread Andreas Schäfer
Hi, On 15:58 Mon 21 Oct , MM wrote: > Would you suggest to modify the loop to do a MPI_ISend after x iterations > (for the clients) and MPI_IRecv on the root? sounds good. Don't forget to call MPI_Cancel for all pending status update communications (MPI_Isend and MPI_Irecv). Best -Andreas

Re: [OMPI users] calculation progress status

2013-10-21 Thread MM
On 21 October 2013 15:19, Andreas Schäfer wrote: > Hi, > > the solution depends on the details of your code. Will all clients > send their progress updates simultaneously? Are you planning for few > or many nodes? > > For few nodes and non-simultaneous updates you could loop on the root > while r

Re: [OMPI users] calculation progress status

2013-10-21 Thread Andreas Schäfer
Hi, the solution depends on the details of your code. Will all clients send their progress updates simultaneously? Are you planning for few or many nodes? For few nodes and non-simultaneous updates you could loop on the root while receiving from MPI_ANY. Clients could send out their updates via M

[OMPI users] calculation progress status

2013-10-21 Thread MM
Hello, I have a n-variable function optimization task that I programmed with a scatter, each mpi process evaluates my function in part of the space, then a reduce to get the maximum at the root process. Most wall time is spent in the function evaluations done inside every mpi process. I would lik