CreateSharedRegion: kr malloc Numerical result out of range


Click here for full thread
Forum Vet
Karl,
You need to take care of both.
ARMCI_DEFAULT_SHMMAX has to greater or equal than kernel.shmmax.
For example, if the value of kernel.shmmax is 4294967296 as in the example below,
ARMCI_DEFAULT_SHMMAX can be at most 4096 (4294967296=4096*1024*1024)

$ sysctl kernel.shmmax
kernel.shmmax = 4294967296

Cheers, Edo

Quote:KarlB Jun 26th 1:14 pm
Hey Bert,

Please forgive my ignorance here, but where/how am I setting ARMCI_DEFAULT_SHMMAX? In the kernel directory like shmall/shmmax/shmmni?

Karl