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

Merge branch 'slurm-2.3'

parents e3436db5 0b24e690
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,11 @@ documents those changes that are of interest to users and admins.
-- Add new job state reason of "FrontEndDown" which applies only to Cray and
IBM BlueGene systems.
-- Cray - Enable configure option of "--enable-salloc-background" to permit
the srun and salloc commands to be executed in the background.
the srun and salloc commands to be executed in the background. This does
NOT remove the ALPS limitation that only one job reservation can be created
for each Linux session ID.
-- Cray - For srun wrapper when creating a job allocation, set the default job
name to the executable file's name.
* Changes in SLURM 2.3.3
========================
......
......@@ -345,6 +345,13 @@ if ($have_job == 0) {
}
}
# Set the job name to the program name. Break into tokens with
# '/' (octal 057) separator and use last token for the job name
if (!$job_name && $ARGV[0]) {
my @dirs = split(/\057/, $ARGV[0]);
$job_name = pop(@dirs);
}
$command = "$salloc";
$command .= " --account=$account" if $account;
$command .= " --acctg-freq=$acctg_freq" if $acctg_freq;
......
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