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
82dccda3
Commit
82dccda3
authored
9 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Minor improvements to help with test on newer systems
parent
1cadfcf4
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/test9.8
+9
-9
9 additions, 9 deletions
testsuite/expect/test9.8
with
9 additions
and
9 deletions
testsuite/expect/test9.8
+
9
−
9
View file @
82dccda3
...
...
@@ -56,7 +56,7 @@ if {![test_select_type_params "Memory"]} {
} elseif {[test_launch_poe]} {
set mem_per_step 200
} else {
set mem_per_step
4
set mem_per_step
8
}
#
...
...
@@ -118,13 +118,8 @@ if {$start_cnt < $job_cnt} {
send_user "\nAll $start_cnt jobs submitted\n"
}
#
# Give the jobs a few seconds to get initiated, check for steps,
# then kill them all
#
set user_name ""
exec $bin_sleep $delay
spawn $bin_id -un
expect {
-re "($alpha_numeric_under)" {
...
...
@@ -135,19 +130,24 @@ expect {
}
}
#
# There could be hundreds of job steps, we don't want to see
# the details, but want to make sure that we did start many
#
set desired_tasks [expr $task_cnt * 2 / 3]
#
# Give the jobs a few seconds to get initiated, check for steps,
# then kill them all
#
exec $bin_sleep $delay
set job_count 0
set step_count 0
set timeout 60
log_user 0
while { 1 } {
exec $bin_sleep 3
set job_count 0
spawn $squeue --state R --name $job_name --user $user_name
expect {
...
...
@@ -192,7 +192,7 @@ while { 1 } {
send_user "\nOnly started $job_count jobs, reducing step count target to $scaled_task_cnt\n"
set desired_tasks $scaled_task_cnt
}
exec $bin_sleep 3
}
if {[test_aix]} {
sleep 5
...
...
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