Ibán,
What I did in my slurm.conf is use the MemSpecLimit option. For a node with 128 GB and 16 GB GPFS pagepool, I set the memspec like this:
NodeName=cri22cn[001-156] CPUs=32 RealMemory=128000 MemSpecLimit=20000
--
Mike Jarsulic
Associate Director, Scientific Computing
Center for Research Informatics | Biological Sciences Division
University of Chicago
5454 South Shore Drive, Chicago, IL 60615 | (773) 702-2066