As a follow up to my last problem, I would like to know how can I tell
slurm to increase the virtual memory size for a process?

have you read the messages on this list?

first, you can ask for the correct amount of memory. this approach assumes that it is dangerous to allow VSZ > RSS. that's conservative, but may be wise.

alternatively, you can ask slurm not to limit VSZ: in cgroup.conf, have
ConstrainSwapSpace=no
this does not actually permit arbitrary VSZ, since there are mechanisms
outside the cgroup limit that affect max VSZ (overcommit sysctls, swap space)

The program has no problem when I run it outside of the slurm via
terminal/bash.

all that tells you is that the environments are different in some way(s),
which is neither surprising nor informative.

regards,
--
operator may differ from spokesperson.              h...@mcmaster.ca

Reply via email to