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
f9825ef5
Commit
f9825ef5
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add TotalView test with bulk transfer in addition to existing test without bunk transfer.
parent
d8accbe5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/expect/test7.4
+83
-0
83 additions, 0 deletions
testsuite/expect/test7.4
with
83 additions
and
0 deletions
testsuite/expect/test7.4
+
83
−
0
View file @
f9825ef5
...
...
@@ -40,6 +40,7 @@ set exit_code 0
set test_prog "test$test_id.prog"
set job_id 0
# Note this appears as a single argv value to totalviewcli
set bulk "set issue_dgo false"
set no_bulk "set issue_dgo false; dset TV::bulk_launch_enabled false"
print_header $test_id
...
...
@@ -80,6 +81,88 @@ exec $mpicc -o $test_prog ${test_prog}.c
set matches 0
set no_capability 0
set timeout $max_job_delay
send_user "======================================================================\n"
send_user "======================= Run with bunk transfer ======================\n"
send_user "======================================================================\n"
spawn $totalviewcli -verbosity info -e $bulk $srun -a -n4 -N1-2 -O -t1 $test_prog
expect {
-re "d1.<>" {
if {$matches == 0} {
incr matches
send "G\n"
}
if {$no_capability != 0} {
send "quit\n"
}
exp_continue
}
-re "cannot open shared object" {
send_user "\nWARNING: Set LD_LIBRARY_PATH environment variable "
send_user "to include this object's directory\n"
exp_continue
}
-re "Do you want to stop the job now?.*:" {
incr matches
send "yes\n"
exp_continue
}
-re "Attached to parallel task ($number).*" {
incr matches
if {$expect_out(1,string) == 5} {
send "G\n"
}
exp_continue
}
-re "Loaded MPI.*($number).*" {
# This would be a re-send of "G" above, but totalviewcli
# seems to ignore any input until after sending this message
send "G\n"
exp_continue
}
-re "I just received msg from Rank" {
incr matches
exp_continue
}
-re "elan_init: No capability, can't continue" {
incr no_capability
exp_continue
}
-re "Process 1 has exited" {
incr matches
send "quit\n"
exp_continue
}
-re "Do you really wish to exit TotalView?" {
incr matches
send "yes\n"
exp_continue
}
timeout {
send_user "\nFAILURE: totalviewcli not responding\n"
set exit_code 1
}
eof {
wait
}
}
if {$no_capability != 0} {
send_user "\nWARNING: Unable to run test with present configuration\n"
exit 0
}
if {$matches != 12} {
send_user "\nFAILURE: totalviewcli operation matches $matches of 12\n"
send_user "Remove your ~/.totalview directory and try again\n"
set exit_code 1
}
#
# Now run totalviewcli (command line interface to TotalView)
#
set matches 0
set no_capability 0
send_user "======================================================================\n"
send_user "===================== Run without bunk transfer =====================\n"
send_user "======================================================================\n"
spawn $totalviewcli -verbosity info -e $no_bulk $srun -a -n4 -N1-2 -O -t1 $test_prog
expect {
-re "d1.<>" {
...
...
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