ML_NCSHMEM

From VASP Wiki
Revision as of 13:37, 2 February 2026 by Karsai (talk | contribs)

ML_NCSHMEM = [integer]
Default: ML_NCSHMEM = Number of available ranks per node 

Description: Sets the number of ranks that share a shared memory segment.


The number of memory segments that are created are equal to the number of cores per node divided by ML_NCSHMEM. Each memory segement has the same size in memory. Hence, the more segments there are the higher the total memory consumption is. However on some machines, especially with a high number of NUMA domains the performance for inference of the MLFFs can drastically degrade if all NUMA domains access the same memory segment. Ideally each domain should have it's own shared memory segment.

Related tags and articles

ML_LMLFF, ML_MODE, Shared memory