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
ec372e00
Commit
ec372e00
authored
13 years ago
by
Morris Jette
Browse files
Options
Downloads
Plain Diff
Merge branch 'slurm-2.3'
parents
73f915bf
ea9adc17
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS
+2
-0
2 additions, 0 deletions
NEWS
contribs/cray/srun.pl
+2
-4
2 additions, 4 deletions
contribs/cray/srun.pl
with
4 additions
and
4 deletions
NEWS
+
2
−
0
View file @
ec372e00
...
@@ -194,6 +194,8 @@ documents those changes that are of interest to users and admins.
...
@@ -194,6 +194,8 @@ documents those changes that are of interest to users and admins.
-- Added partition default_time field to job_submit LUA plugin. Patch by
-- Added partition default_time field to job_submit LUA plugin. Patch by
Remi Palancher.
Remi Palancher.
-- Fix bug in cray/srun wrapper stdin/out/err file handling.
-- Fix bug in cray/srun wrapper stdin/out/err file handling.
-- In cray/srun wrapper, only include aprun "-q" option when srun "--quiet"
option is used.
* Changes in SLURM 2.3.3
* Changes in SLURM 2.3.3
========================
========================
...
...
This diff is collapsed.
Click to expand it.
contribs/cray/srun.pl
+
2
−
4
View file @
ec372e00
...
@@ -55,7 +55,6 @@ my ( $account,
...
@@ -55,7 +55,6 @@ my ( $account,
$acctg_freq
,
$acctg_freq
,
$alps
,
$alps
,
$aprun_line_buf
,
$aprun_line_buf
,
$aprun_quiet
,
$begin_time
,
$begin_time
,
$chdir
,
$chdir
,
$check_time
,
$check_time
,
...
@@ -147,7 +146,6 @@ my $srun = "BINDIR/srun";
...
@@ -147,7 +146,6 @@ my $srun = "BINDIR/srun";
my
$have_job
;
my
$have_job
;
$aprun_line_buf
=
1
;
$aprun_line_buf
=
1
;
$aprun_quiet
=
1
;
$have_job
=
0
;
$have_job
=
0
;
foreach
(
keys
%ENV
)
{
foreach
(
keys
%ENV
)
{
...
@@ -416,7 +414,7 @@ if ($have_job == 0) {
...
@@ -416,7 +414,7 @@ if ($have_job == 0) {
if
(
index
(
$alps
,
"
-m
")
>=
0
)
{
$memory_per_cpu
=
0
};
if
(
index
(
$alps
,
"
-m
")
>=
0
)
{
$memory_per_cpu
=
0
};
if
(
index
(
$alps
,
"
-n
")
>=
0
)
{
$num_tasks
=
0
;
$num_nodes
=
0
;
}
if
(
index
(
$alps
,
"
-n
")
>=
0
)
{
$num_tasks
=
0
;
$num_nodes
=
0
;
}
if
(
index
(
$alps
,
"
-N
")
>=
0
)
{
$ntasks_per_node
=
0
;
$num_nodes
=
0
;
}
if
(
index
(
$alps
,
"
-N
")
>=
0
)
{
$ntasks_per_node
=
0
;
$num_nodes
=
0
;
}
if
(
index
(
$alps
,
"
-q
")
>=
0
)
{
$
aprun_
quiet
=
0
};
if
(
index
(
$alps
,
"
-q
")
>=
0
)
{
$quiet
=
0
};
if
(
index
(
$alps
,
"
-S
")
>=
0
)
{
$ntasks_per_socket
=
0
};
if
(
index
(
$alps
,
"
-S
")
>=
0
)
{
$ntasks_per_socket
=
0
};
if
(
index
(
$alps
,
"
-sn
")
>=
0
)
{
$sockets_per_node
=
0
};
if
(
index
(
$alps
,
"
-sn
")
>=
0
)
{
$sockets_per_node
=
0
};
if
(
index
(
$alps
,
"
-ss
")
>=
0
)
{
$memory_bind
=
0
};
if
(
index
(
$alps
,
"
-ss
")
>=
0
)
{
$memory_bind
=
0
};
...
@@ -455,7 +453,7 @@ if ($have_job == 0) {
...
@@ -455,7 +453,7 @@ if ($have_job == 0) {
$command
.=
"
-n
$num_nodes
";
$command
.=
"
-n
$num_nodes
";
}
}
$command
.=
"
-q
"
if
$
aprun_
quiet
;
$command
.=
"
-q
"
if
$quiet
;
# $command .= " -r" no srun equivalent, core specialization
# $command .= " -r" no srun equivalent, core specialization
$command
.=
"
-S
$ntasks_per_socket
"
if
$ntasks_per_socket
;
$command
.=
"
-S
$ntasks_per_socket
"
if
$ntasks_per_socket
;
# $command .= " -sl" no srun equivalent, task placement on nodes
# $command .= " -sl" no srun equivalent, task placement on nodes
...
...
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