[OMPI users] MPI_IN_PLACE variant of MPI_Reduce

2009-11-09 Thread Martin Siegert
Hi, I am confused about the syntax of the "in place" variant of MPI_Reduce, in particular about the significance of the recvbuf for the non-root processes. I.e., is the following legal? buf = (double *)malloc(l*sizeof(double); random(buf, l); /* fill buf with something */ if (myid == 0) { MPI_

Re: [OMPI users] sending/receiving large buffers

2009-11-09 Thread Martin Siegert
Hi Vincent, On Mon, Nov 09, 2009 at 11:45:29AM +0100, Vincent Loechner wrote: > > Martin, > > > I expect problems with sizes larger than 2^31-1, but these array sizes > > are still much smaller. > No, they are bigger, you allocate two arrays of 320 Mdouble : > 2 * 320M * 8 = 5GB. > > Are your p

Re: [OMPI users] checkpoint opempi-1.3.3+sge62

2009-11-09 Thread Sergio Díaz
Hi Josh, The OpenMPI version is 1.3.3. The command ompi-ps doesn't work. [root@compute-3-18 ~]# ompi-ps -j 2726959 -p 16241 [root@compute-3-18 ~]# ompi-ps -v -j 2726959 -p 16241 [compute-3-18.local:16254] orte_ps: Acquiring list of HNPs and setting contact info into RML... [root@compute-3-18

Re: [OMPI users] sending/receiving large buffers

2009-11-09 Thread Ashley Pittman
On Sun, 2009-11-08 at 20:40 -0800, Martin Siegert wrote: > Hi, > > I am running into a problem with mpi_allreduce when large buffers > are used. But does not appear to be unique for mpi_allreduce; it > occurs with mpi_send/mpi_recv as well; program is attached. > 1) run this using MPI_Allreduce:

Re: [OMPI users] sending/receiving large buffers

2009-11-09 Thread Vincent Loechner
Martin, > I expect problems with sizes larger than 2^31-1, but these array sizes > are still much smaller. No, they are bigger, you allocate two arrays of 320 Mdouble : 2 * 320M * 8 = 5GB. Are your processes limited to 4GB virtual memory ? --Vincent