Re: [OMPI users] shmalloc error with >=512 mb

2014-11-17 Thread Mike Dubman
Hi, the default memheap size is 256MB, you can override it with oshrun -x SHMEM_SYMMETRIC_HEAP_SIZE=512M ... On Mon, Nov 17, 2014 at 3:38 PM, Timur Ismagilov wrote: > Hello! > Why does shmalloc return NULL when I try to allocate 512MB. > When i thry to allocate 256mb - all fine. > I use Open MPI

[OMPI users] shmalloc error with >=512 mb

2014-11-17 Thread Timur Ismagilov
Hello! Why does shmalloc return NULL when I try to allocate 512MB. When i thry to allocate 256mb - all fine. I useĀ Open MPI/SHMEM v1.8.4 rc1 (v1.8.3-202-gb568b6e). programm: #include #include int main(int argc, char **argv) { int *src; start_pes(0); int length = 1024*1024*512; src = (int*) shma