Re: [OMPI users] Memory allocation error when linking with MPI libraries

2010-08-31 Thread Nicolas Deladerriere
Hi, Thanks Nysal for these details. I also fixed my memory allocation issue using environment variable OMPI_MCA_memory_ptmalloc2_disable which is much more easier (at least in my case) than compiled new openmpi package and install that new package. The point is that it is a bit complicated to

Re: [OMPI users] Memory allocation error when linking with MPI libraries

2010-08-15 Thread Nysal Jan
>What does it exactly imply to compile with this option ? Open MPI's internal malloc library (ptmalloc) will not be built/used. If you are using an RDMA capable interconnect such as Infiniband, you will not be able to use the "mpi_leave_pinned" feature. mpi_leave_pinned might improve performance

Re: [OMPI users] Memory allocation error when linking with MPI libraries

2010-08-12 Thread Nicolas Deladerriere
building openmpi with option "--without-memory-manager" fix my problem. What does it exactly imply to compile with this option ? I guess all malloc use functions from libc instead of openmpi one, but does it have an effect on performance or something else ? Nicolas 2010/8/8 Nysal Jan

Re: [OMPI users] Memory allocation error when linking with MPI libraries

2010-08-08 Thread Nysal Jan
What interconnect are you using? Infiniband? Use "--without-memory-manager" option while building ompi in order to disable ptmalloc. Regards --Nysal On Sun, Aug 8, 2010 at 7:49 PM, Nicolas Deladerriere < nicolas.deladerri...@gmail.com> wrote: > Yes, I'am using 24G machine on 64 bit Linux OS. >

Re: [OMPI users] Memory allocation error when linking with MPI libraries

2010-08-08 Thread Nicolas Deladerriere
Yes, I'am using 24G machine on 64 bit Linux OS. If I compile without wrapper, I did not get any problems. It seems that when I am linking with openmpi, my program use a kind of openmpi implemented malloc. Is it possible to switch it off in order ot only use malloc from libc ? Nicolas 2010/8/8

Re: [OMPI users] Memory allocation error when linking with MPI libraries

2010-08-08 Thread Terry Frankcombe
You're trying to do a 6GB allocate. Can your underlying system handle that? IF you compile without the wrapper, does it work? I see your executable is using the OMPI memory stuff. IIRC there are switches to turn that off. On Fri, 2010-08-06 at 15:05 +0200, Nicolas Deladerriere wrote: >