Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
822a27f9
Commit
822a27f9
authored
16 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add information about memlock limit propagation
parent
9b9121cd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/html/faq.shtml
+27
-2
27 additions, 2 deletions
doc/html/faq.shtml
with
27 additions
and
2 deletions
doc/html/faq.shtml
+
27
−
2
View file @
822a27f9
...
...
@@ -23,8 +23,10 @@ name for a batch job?</a></li>
allocated to a SLURM job?</a></li>
<li><a href="#terminal">Can tasks be launched with a remote terminal?</a></li>
<li><a href="#force">What does "srun: Force Terminated job" indicate?</a></li>
<li><a href="#early_exit">What does this mean: "srun: First task exited 30s ago"
followed by "srun Job Failed"?</a></li>
<li><a href="#early_exit">What does this mean: "srun: First task exited
30s ago" followed by "srun Job Failed"?</a></li>
<li><a href="#memlock">Why is my MPI job failing due to the locked memory
(memlock) limit being too low?</a></li>
</ol>
<h2>For Administrators</h2>
<ol>
...
...
@@ -485,9 +487,32 @@ not normally productive. This behavior can be changed using srun's
period or disable the timeout altogether. See srun's man page
for details.
<p><a name="memlock"><b>18. Why is my MPI job failing due to the
locked memory (memlock) limit being too low?</b></a><br>
By default, SLURM propagates all of your resource limits at the
time of job submission to the spawned tasks.
This can be disabled by specifically excluding the propagation of
specific limits in the <i>slurm.conf</i> file. For example
<i>PropagateResourceLimitsExcept=MEMLOCK</i> might be used to
prevent the propagation of a user's locked memory limit from a
login node to a dedicated node used for his parallel job.
If the user's resource limit is not propagated, the limit in
effect for the <i>slurmd</i> daemon will be used for the spawned job.
A simple way to control this is to insure that user <i>root</i> has a
sufficiently large resource limit and insuring that <i>slurmd</i> takes
full advantage of this limit. For example, you can set user's root's
locked memory limit limit to be unlimited on the compute nodes (see
<i>"man limits.conf"</i>) and insuring that <i>slurmd</i> takes
full advantage of this limit (e.g. by adding something like
<i>"ulimit -l unlimited"</i> to the <i>/etc/init.d/slurm</i>
script used to initiate <i>slurmd</i>).
Related information about <a href="#pam">PAM</a> is also available.
<p class="footer"><a href="#top">top</a></p>
<h2>For Administrators</h2>
<p><a name="suspend"><b>1. How is job suspend/resume useful?</b></a><br>
Job suspend/resume is most useful to get particularly large jobs initiated
in a timely fashion with minimal overhead. Say you want to get a full-system
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment