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 <stdlib.h> #include <shmem.h> int main(int argc, char **argv) { int *src; start_pes(0); int length = 1024*1024*512; src = (int*) shmalloc(length); if (src == NULL) { printf("can not allocate src: size = %dMb\n ", length/(1024*1024)); } return 0; } command: $oshrun -np 1 ./example_shmem can not allocate src: size = 512Mb How can i increse shmalloc memory size?