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
cac7e71b
Commit
cac7e71b
authored
9 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Fix tests to use sort -V instead of -n to sort
snowflake10 after snowflake8
parent
0cf8906a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testsuite/expect/test1.92
+4
-4
4 additions, 4 deletions
testsuite/expect/test1.92
testsuite/expect/test1.97
+3
-3
3 additions, 3 deletions
testsuite/expect/test1.97
with
7 additions
and
7 deletions
testsuite/expect/test1.92
+
4
−
4
View file @
cac7e71b
...
...
@@ -70,7 +70,7 @@ expect {
exit 0
}
-re $prompt {
send "$srun -l -c1 ./$file_bash | sort -
n
\r"
send "$srun -l -c1 ./$file_bash | sort -
V
\r"
}
timeout {
send_user "\nFAILURE: salloc not responding\n"
...
...
@@ -135,7 +135,7 @@ if {$task_cnt < (2 * $node_cnt)} {
set this_cnt 0
set prev_node -1
set this_node -1
send "$srun -l -n $task_cnt -m block ./$file_bash | sort -
n
\r"
send "$srun -l -n $task_cnt -m block ./$file_bash | sort -
V
\r"
expect {
-re "nodeid:($number) taskid:($number) localid:($number)" {
set this_node $expect_out(1,string)
...
...
@@ -185,7 +185,7 @@ set this_cnt 0
set prev_node -1
set this_node -1
set prev_cnt $block_size
send "$srun -l -n $task_cnt -m cyclic ./$file_bash | sort -
n
\r"
send "$srun -l -n $task_cnt -m cyclic ./$file_bash | sort -
V
\r"
expect {
-re "nodeid:($number) taskid:($number) localid:($number)" {
set this_node $expect_out(1,string)
...
...
@@ -235,7 +235,7 @@ set this_cnt 0
set prev_node -1
set this_node -1
set prev_cnt $block_size
send "$srun -l -n $task_cnt -m plane=$block_size ./$file_bash | sort -
n
\r"
send "$srun -l -n $task_cnt -m plane=$block_size ./$file_bash | sort -
V
\r"
expect {
-re "nodeid:($number) taskid:($number) localid:($number)" {
set this_node $expect_out(1,string)
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test1.97
+
3
−
3
View file @
cac7e71b
...
...
@@ -42,7 +42,7 @@ set file_in "test$test_id\_sc"
array set nodes {}
array set tasks {}
# some systems take a while to run the | sort -
n
| uniq -c stuff
# some systems take a while to run the | sort -
V
| uniq -c stuff
set timeout 60
print_header $test_id
...
...
@@ -229,7 +229,7 @@ proc submit_cpu {ntasks ncpus} {
sleep 2
set x 0
spawn $bin_bash -c "$srun -N$num_nodes -n$ntasks -w$nodelist -c$ncpus --exclusive $bin_printenv SLURMD_NODENAME | sort -
n
| uniq -c"
spawn $bin_bash -c "$srun -N$num_nodes -n$ntasks -w$nodelist -c$ncpus --exclusive $bin_printenv SLURMD_NODENAME | sort -
V
| uniq -c"
expect {
-re "($number) ($alpha_numeric_nodelist)" {
set tasks($x) $expect_out(1,string)
...
...
@@ -261,7 +261,7 @@ proc submit_tasks {ntasks ntaskpn} {
sleep 2
set x 0
spawn $bin_bash -c "$srun -N$num_nodes -n$ntasks --ntasks-per-node=$ntaskpn -w$nodelist --exclusive $bin_printenv SLURMD_NODENAME | sort -
n
| uniq -c"
spawn $bin_bash -c "$srun -N$num_nodes -n$ntasks --ntasks-per-node=$ntaskpn -w$nodelist --exclusive $bin_printenv SLURMD_NODENAME | sort -
V
| uniq -c"
expect {
-re "($number) ($alpha_numeric_nodelist)" {
set tasks($x) $expect_out(1,string)
...
...
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