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

Fix for cray/srun wrapper parsing for some perl version

parent b836839f
No related branches found
No related tags found
No related merge requests found
......@@ -443,9 +443,9 @@ if ($have_job == 0) {
$command .= " -d $cpus_per_task" if $cpus_per_task;
# Resource sharing largely controlled by SLURM configuration,
# so this is an imperfect mapping of options
if $share {
if ($share) {
$command .= " -F share";
} elsif $exclusive {
} elsif ($exclusive) {
$command .= " -F exclusive";
}
$nid_list = get_nids($nodelist) if $nodelist;
......
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