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
9cfcdf20
Commit
9cfcdf20
authored
18 years ago
by
Christopher J. Morrone
Browse files
Options
Downloads
Patches
Plain Diff
Remove srun references
parent
96cb1a54
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/test18.5
+5
-4
5 additions, 4 deletions
testsuite/expect/test18.5
with
5 additions
and
4 deletions
testsuite/expect/test18.5
+
5
−
4
View file @
9cfcdf20
...
@@ -58,18 +58,19 @@ exec echo "exit 0" >>$file_in
...
@@ -58,18 +58,19 @@ exec echo "exit 0" >>$file_in
exec $bin_chmod 700 $file_in
exec $bin_chmod 700 $file_in
#
#
# Spawn a shell via s
run
that uses stdin/out/err and confirm their contents
# Spawn a shell via s
launch
that uses stdin/out/err and confirm their contents
#
#
set timeout $max_job_delay
set timeout $max_job_delay
spawn $salloc -N1 -t1 $slaunch --local-input=$file_in --local-output=$file_out --local-error=$file_err $bin_bash
set io_options "--local-input=$file_in --local-output=$file_out --local-error=$file_err"
set salloc_pid [spawn $salloc -N1 -t1 $slaunch $io_options $bin_bash]
expect {
expect {
-re "Unable to contact" {
-re "Unable to contact" {
send_user "\nFAILURE: slurm appears to be down\n"
send_user "\nFAILURE: slurm appears to be down\n"
exit 1
exit 1
}
}
timeout {
timeout {
send_user "\nFAILURE: s
run
not responding\n"
send_user "\nFAILURE: s
alloc/slaunch
not responding\n"
kill_srun
exec $bin_kill -TERM "-$salloc_pid"
set exit_code 1
set exit_code 1
exp_continue
exp_continue
}
}
...
...
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