Skip to content
Snippets Groups Projects
Commit ec372e00 authored by Morris Jette's avatar Morris Jette
Browse files

Merge branch 'slurm-2.3'

parents 73f915bf ea9adc17
No related branches found
No related tags found
No related merge requests found
...@@ -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
======================== ========================
......
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment