I tried to execute mpiexec -16 ...
on a 384 GB RAM server, but it induced OOM Killer and was aborted.
How can I set a memory limit for mpiexec
execution?
I know ulimit
, but it might affect other processes.
Thank you.
memory usageramulimit
I tried to execute mpiexec -16 ...
on a 384 GB RAM server, but it induced OOM Killer and was aborted.
How can I set a memory limit for mpiexec
execution?
I know ulimit
, but it might affect other processes.
Thank you.
Best Answer
I think this can be done using
cgroups
:Create a cgroup named
mpigroup
(or whatever name you choose) with a memory limit (of 50GB, for example):Then, if mpiexec is already running, bring it into this cgroup:
Or execute
mpiexec
within this cgroup: