Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mkexp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esmenv
mkexp
Commits
4bc3258f
Commit
4bc3258f
authored
10 months ago
by
Karl-Hermann Wieners
Browse files
Options
Downloads
Patches
Plain Diff
importexp: fix for small node counts
parent
599ff449
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
importexp
+1
-1
1 addition, 1 deletion
importexp
with
1 addition
and
1 deletion
importexp
+
1
−
1
View file @
4bc3258f
...
...
@@ -151,7 +151,7 @@ cd '$WORK_DIR'
'
$RUN_FILE
)
SLURM_JOB_NUM_NODES
=
$(
perl
-ne
'if(/^\s*#SBATCH\s+(--nodes|-N)(=|\s+)(\d+)/) {print($3); exit}'
$RUN_FILE
)
SLURM_NODELIST
=
"n[
0000
1-
$SLURM_JOB_NUM_NODES
]"
SLURM_NODELIST
=
"n[1-
$SLURM_JOB_NUM_NODES
]"
# SLURM_JOB_CPUS_PER_NODE is defined above
export
SLURM_JOB_NUM_NODES SLURM_NODELIST SLURM_JOB_CPUS_PER_NODE
...
...
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