[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] howto set ulimit -l unlimited for openmpiscript or other condor jobs on debian 9 for htcondor 8.8?



Dear htcondor experts,

we running htcondor 8.8.1 on debian 9 with vanilla universe jobs without 
problems and now want to start openmpi jobs in parallel universe, but
to do so 
we need to set max locked memory to a high value
I have set
ulimit -l unlimited
in 
/etc/init.d/condor
and
the openmpiscript itself.
And added to
/lib/systemd/system/condor.service
[Service]
...
LimitMEMLOCK=unlimited


then I have down a
systemctl daemon-reload
systemctl restart condor

on all condor hosts.

But after starting openmpiscript 
ulimit -l 
inside of the script shows
max locked memory       (kbytes, -l) 64

And as expected the job does not run properly.

What I have done wrong? How I have to set the
max locked memory
limit for condor jobs/scripts?

Best regards
Harald