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
2408e989
Commit
2408e989
authored
20 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add explanation of batch and interactive (allocate) srun options.
parent
ac06f6c1
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/bluegene.html
+6
-1
6 additions, 1 deletion
doc/html/bluegene.html
with
6 additions
and
1 deletion
doc/html/bluegene.html
+
6
−
1
View file @
2408e989
...
...
@@ -91,8 +91,13 @@ maximum node count. The <i>--ntasks</i> option continues to be supported.
See the srun man pages for details.
</p>
<p>
To reiterate: srun is used to submit a job script, but mpirun is used to launch the parallel tasks.
<b>
It is highly recommended that the srun
<i>
--batch
</i>
option be used to submit a script.
</b>
While the srun
<i>
--allocate
</i>
option may be used to create an interactive SLURM job,
it will be the responsibility of the user to insure that the
<i>
bglblock
</i>
is ready for use before initiating any mpirun commands.
SLURM will assume this responsibility for batch jobs.
The script that you submit to SLURM can contain multiple invocations of mpirun as
well as any desired commands for pre- and post-processing.
well as any desired commands for pre- and post-processing.
The mpirun command will get its
<i>
bglblock
</i>
or BGL partition information from the
<i>
BGL_PARTITION_ID
</i>
as set by SLURM. A sample script is shown below.
<pre>
...
...
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