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
2c1c5afb
Commit
2c1c5afb
authored
17 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
svn merge -r12620:12622
https://eris.llnl.gov/svn/slurm/branches/slurm-1.2
parent
ece7b0c6
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS
+2
-0
2 additions, 0 deletions
NEWS
doc/man/man1/sbatch.1
+13
-1
13 additions, 1 deletion
doc/man/man1/sbatch.1
src/sbatch/opt.c
+6
-0
6 additions, 0 deletions
src/sbatch/opt.c
with
21 additions
and
1 deletion
NEWS
+
2
−
0
View file @
2c1c5afb
...
@@ -82,6 +82,8 @@ documents those changes that are of interest to users and admins.
...
@@ -82,6 +82,8 @@ documents those changes that are of interest to users and admins.
-- In switch/federation, fix small memory leak effecting slurmd.
-- In switch/federation, fix small memory leak effecting slurmd.
-- Add PMI_FANOUT_OFF_HOST environment variable to control how message
-- Add PMI_FANOUT_OFF_HOST environment variable to control how message
forwarding is done for PMI (MPICH2). See "man srun" for details.
forwarding is done for PMI (MPICH2). See "man srun" for details.
-- From sbatch set SLURM_NTASKS_PER_NODE when --ntasks-per-node option is
specified.
* Changes in SLURM 1.2.19
* Changes in SLURM 1.2.19
=========================
=========================
...
...
This diff is collapsed.
Click to expand it.
doc/man/man1/sbatch.1
+
13
−
1
View file @
2c1c5afb
.TH "sbatch" "1" "SLURM 1.3" "
Sept
ember 2007" "SLURM Commands"
.TH "sbatch" "1" "SLURM 1.3" "
Nov
ember 2007" "SLURM Commands"
.SH "NAME"
.SH "NAME"
.LP
.LP
sbatch \- Submit a batch script to SLURM.
sbatch \- Submit a batch script to SLURM.
...
@@ -642,6 +642,18 @@ Do not allocate a block on Blue Gene systems only.
...
@@ -642,6 +642,18 @@ Do not allocate a block on Blue Gene systems only.
\fBMPIRUN_NOFREE\fR
\fBMPIRUN_NOFREE\fR
Do not free a block on Blue Gene systems only.
Do not free a block on Blue Gene systems only.
.TP
.TP
\fBSLURM_NTASKS_PER_CORE\fR
Number of tasks requested per core.
Only set if the \fB\-\-ntasks\-per\-core\fR option is specified.
.TP
\fBSLURM_NTASKS_PER_NODE\fR
Number of tasks requested per node.
Only set if the \fB\-\-ntasks\-per\-node\fR option is specified.
.TP
\fBSLURM_NTASKS_PER_SOCKET\fR
Number of tasks requested per socket.
Only set if the \fB\-\-ntasks\-per\-socket\fR option is specified.
.TP
\fBMPIRUN_PARTITION\fR
\fBMPIRUN_PARTITION\fR
The block name on Blue Gene systems only.
The block name on Blue Gene systems only.
...
...
This diff is collapsed.
Click to expand it.
src/sbatch/opt.c
+
6
−
0
View file @
2c1c5afb
...
@@ -1173,14 +1173,20 @@ static void _set_options(int argc, char **argv)
...
@@ -1173,14 +1173,20 @@ static void _set_options(int argc, char **argv)
case
LONG_OPT_NTASKSPERNODE
:
case
LONG_OPT_NTASKSPERNODE
:
opt
.
ntasks_per_node
=
_get_int
(
optarg
,
opt
.
ntasks_per_node
=
_get_int
(
optarg
,
"ntasks-per-node"
);
"ntasks-per-node"
);
setenvf
(
NULL
,
"SLURM_NTASKS_PER_NODE"
,
"%d"
,
opt
.
ntasks_per_node
);
break
;
break
;
case
LONG_OPT_NTASKSPERSOCKET
:
case
LONG_OPT_NTASKSPERSOCKET
:
opt
.
ntasks_per_socket
=
_get_int
(
optarg
,
opt
.
ntasks_per_socket
=
_get_int
(
optarg
,
"ntasks-per-socket"
);
"ntasks-per-socket"
);
setenvf
(
NULL
,
"SLURM_NTASKS_PER_SOCKET"
,
"%d"
,
opt
.
ntasks_per_socket
);
break
;
break
;
case
LONG_OPT_NTASKSPERCORE
:
case
LONG_OPT_NTASKSPERCORE
:
opt
.
ntasks_per_core
=
_get_int
(
optarg
,
opt
.
ntasks_per_core
=
_get_int
(
optarg
,
"ntasks-per-core"
);
"ntasks-per-core"
);
setenvf
(
NULL
,
"SLURM_NTASKS_PER_CORE"
,
"%d"
,
opt
.
ntasks_per_socket
);
break
;
break
;
case
LONG_OPT_BLRTS_IMAGE
:
case
LONG_OPT_BLRTS_IMAGE
:
xfree
(
opt
.
blrtsimage
);
xfree
(
opt
.
blrtsimage
);
...
...
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