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
226285c5
Commit
226285c5
authored
10 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Fix test for Cray systems
parent
80b1a037
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/expect/test1.14
+10
-0
10 additions, 0 deletions
testsuite/expect/test1.14
with
10 additions
and
0 deletions
testsuite/expect/test1.14
+
10
−
0
View file @
226285c5
...
...
@@ -40,6 +40,14 @@ set file_out "test$test_id.output"
set job_id 0
set sleep_secs 10
# On a cray system we might only be able to run 2 tasks per node so force it
# to always assume this is the case.
if { [test_cray] } {
set extra "export SLURM_TASKS_PER_NODE=2"
} else {
set extra ""
}
print_header $test_id
...
...
@@ -62,6 +70,7 @@ if {[test_launch_poe]} {
#
exec $bin_rm -f $file_in $file_in2 $file_out
make_bash_script $file_in "
$extra
echo tasks_per_node=\$SLURM_TASKS_PER_NODE
inx=0
while \[ \$inx -lt \$SLURM_TASKS_PER_NODE \]
...
...
@@ -153,6 +162,7 @@ if {$exit_code == 0} {
#
exec $bin_rm -f $file_in $file_out
make_bash_script $file_in "
$extra
inx=0
while \[ \$inx -lt \$SLURM_TASKS_PER_NODE \]
do
...
...
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