[mvapich-discuss] How & where to set ulimit ?
yogeshwar sonawane
yogyas at gmail.com
Thu Sep 25 11:56:00 EDT 2008
Hi all,
I am using mvapich2 on OFED stack. Referring to user guide, i have set
memlock limit to unlimited in /etc/security/limits.conf &
/etc/init.d/sshd. ssh service is restarted. Now, if i do a relogin,
ulimit -a should show unlimited. But it is showing 32Kb only. The
account used is user account, not root account.
Am i doing the correct steps ?
I tried to set this command in .bashrc of the user account. But at
every login, following error comes:-
-bash: ulimit: max locked memory: cannot modify limit: Operation not permitted
I tried to set some number, i.e. ulimit -l 4096. This is successful.
But setting to 4097 is failing.
Can somebody give me the correct steps & info ?
Mainly, i am running HPL. So whether these settings can hamper the
performance figures ?
OR what are the optimal settings ?
Thanking you,
Yogeshwar
More information about the mvapich-discuss
mailing list