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
33ca7f16
Commit
33ca7f16
authored
11 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Handle situation to avoid shared nodes
parent
4ce5078d
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/inc21.30.1
+8
-8
8 additions, 8 deletions
testsuite/expect/inc21.30.1
testsuite/expect/inc21.30.6
+2
-2
2 additions, 2 deletions
testsuite/expect/inc21.30.6
with
10 additions
and
10 deletions
testsuite/expect/inc21.30.1
+
8
−
8
View file @
33ca7f16
...
...
@@ -35,7 +35,7 @@ proc inc21_30_1 {} {
send_user "\nStarting GrpNode limit test\n\n"
set job_id1 0
set job_id2 0
spawn $salloc -N$grn_num --account=$acct $srun $bin_sleep 10
spawn $salloc -N$grn_num --account=$acct
--exclusive
$srun $bin_sleep 10
expect {
-re "Granted job allocation ($number)" {
set job_id1 $expect_out(1,string)
...
...
@@ -51,10 +51,11 @@ proc inc21_30_1 {} {
}
if {$job_id1 == 0} {
send_user "\nFAILURE: jobs were not submitted\n"
exit 1
set exit_code 1
return
}
spawn $salloc -N1 --account=$acct $srun $bin_sleep 10
spawn $salloc -N1 --account=$acct
--exclusive
$srun $bin_sleep 10
expect {
-re "Granted job allocation ($number)" {
set job_id2 $expect_out(1,string)
...
...
@@ -74,13 +75,12 @@ proc inc21_30_1 {} {
}
if {$job_id2 == 0} {
send_user "\nFAILURE: jobs were not submitted\n"
cancel_job $job_id1
exit 1
set exit_code 1
} else {
# checks the state of the job
check_state $job_id2
}
# checks the state of the job
check_state $job_id2
# cancels remaining jobs
cancel_job $job_id1
cancel_job $job_id2
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/inc21.30.6
+
2
−
2
View file @
33ca7f16
...
...
@@ -36,7 +36,7 @@ proc inc21_30_6 {} {
send_user "\nStarting MaxNode limit test\n\n"
set job_id1 0
spawn $salloc --account=$acct -N$maxnode_num $srun $bin_sleep 2
spawn $salloc --account=$acct -N$maxnode_num
--exclusive -t1
$srun $bin_sleep 2
expect {
-re "Granted job allocation ($number)" {
set job_id1 $expect_out(1,string)
...
...
@@ -58,7 +58,7 @@ proc inc21_30_6 {} {
# cancels remaining jobs
cancel_job $job_id1
spawn $salloc --account=$acct -N[expr $maxnode_num + 1] $srun $bin_sleep 2
spawn $salloc --account=$acct -N[expr $maxnode_num + 1]
--exclusive -t1
$srun $bin_sleep 2
expect {
-re "Pending job allocation ($number)" {
set job_id1 $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