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
479e422b
Commit
479e422b
authored
12 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Minor tweaks to regression tests
parent
e189b1c6
No related branches found
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.95.prog.upc
+2
-0
2 additions, 0 deletions
testsuite/expect/test1.95.prog.upc
testsuite/expect/test9.9
+9
-3
9 additions, 3 deletions
testsuite/expect/test9.9
with
11 additions
and
3 deletions
testsuite/expect/test1.95.prog.upc
+
2
−
0
View file @
479e422b
...
@@ -37,6 +37,8 @@ int main(int argc, char * argv[])
...
@@ -37,6 +37,8 @@ int main(int argc, char * argv[])
int i, total = 0;
int i, total = 0;
for (i = 0; i < THREADS; i++)
for (i = 0; i < THREADS; i++)
total += inx[i];
total += inx[i];
/* Make sure "Total" message is last for Expect parsing*/
sleep(1);
printf("Total is %d\n", total);
printf("Total is %d\n", total);
}
}
return 0;
return 0;
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test9.9
+
9
−
3
View file @
479e422b
...
@@ -37,18 +37,24 @@ set test_script "./test$test_id.bash"
...
@@ -37,18 +37,24 @@ set test_script "./test$test_id.bash"
set job_blocks 5000
set job_blocks 5000
# job_cnt Number of batch jobs to be submitted
# job_cnt Number of batch jobs to be submitted
set job_cnt
5
000
set job_cnt
1
000
print_header $test_id
print_header $test_id
if {[test_front_end]
!= 0
|| $enable_memory_leak_debug != 0} {
if {[test_front_end] || $enable_memory_leak_debug != 0} {
set job_cnt 2
set job_cnt 2
} elseif {[test_serial]} {
set job_cnt 5000
}
}
#
# NOTE: test9.9.bash seems to have trouble running out of process IDs when
# NOTE: test9.9.bash seems to have trouble running out of process IDs when
# more than about 5000 jobs are submitted at one time, so we execute the
# more than about 5000 jobs are submitted at one time, so we
can
execute the
# script multiple times if necessary. A more reliable alternative would be
# script multiple times if necessary. A more reliable alternative would be
# to catch the fork() failures and retry.
# to catch the fork() failures and retry.
#
# NOTE: The throughput rate is highly dependent upon configuration
#
proc _submit_jobs { job_name test_file } {
proc _submit_jobs { job_name test_file } {
global exit_code job_blocks job_cnt sbatch test_script
global exit_code job_blocks job_cnt sbatch test_script
...
...
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