How to define the optimum value of ARMCI DEFAULT SHMMAX?


Click here for full thread
Forum Vet
Answer
You do not have to define it to run. It will use the default value. Global arrays use shared memory (which is what is used for the global portion of the memory for fast access to data as it is pinned. If the shared memory needed by the global arrays exceeds the shared block it will simply allocate another block. You can increase the initial block size (which is in megabytes) by setting ARMCI_DEFAULT_SHMMAX to 2048 or larger, but remember this memory will be pinned, used or not.

Bert