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
e44177d6
Commit
e44177d6
authored
12 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Minor improvements in step accounting test for use on POE systems
parent
67c8ee7d
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/test12.2
+3
-2
3 additions, 2 deletions
testsuite/expect/test12.2
testsuite/expect/test12.2.prog.c
+2
-2
2 additions, 2 deletions
testsuite/expect/test12.2.prog.c
with
5 additions
and
4 deletions
testsuite/expect/test12.2
+
3
−
2
View file @
e44177d6
...
@@ -55,7 +55,7 @@ if {[test_front_end]} {
...
@@ -55,7 +55,7 @@ if {[test_front_end]} {
}
}
if {[test_launch_poe]} {
if {[test_launch_poe]} {
# Allow memory for the
pmd
process
# Allow
extra time and
memory for the
POE
process
set max_time_error 10
set max_time_error 10
set max_mem_error 140000
set max_mem_error 140000
set step_id 1
set step_id 1
...
@@ -197,7 +197,8 @@ make_bash_script $file_in "
...
@@ -197,7 +197,8 @@ make_bash_script $file_in "
#
#
set config_prob 0
set config_prob 0
set timeout [expr $max_job_delay + $sleep_time]
set timeout [expr $max_job_delay + $sleep_time]
set sbatch_pid [spawn $sbatch --mem-per-cpu=1024 --output=$file_out --error=$file_err -t2 $file_in]
set job_mem_limit [expr ($mem_size + $max_mem_error) / 1024 + 1]
set sbatch_pid [spawn $sbatch --mem-per-cpu=$job_mem_limit --output=$file_out --error=$file_err -t2 $file_in]
expect {
expect {
-re "Requested node configuration is not available" {
-re "Requested node configuration is not available" {
set config_prob 1
set config_prob 1
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test12.2.prog.c
+
2
−
2
View file @
e44177d6
...
@@ -47,8 +47,8 @@ main (int argc, char **argv)
...
@@ -47,8 +47,8 @@ main (int argc, char **argv)
mem_kb
=
atoi
(
argv
[
3
]);
mem_kb
=
atoi
(
argv
[
3
]);
mem
=
malloc
(
mem_kb
*
1024
);
mem
=
malloc
(
mem_kb
*
1024
);
/* need to do a memset on the memory or AIX will not
give i
t
/* need to do a memset on the memory or AIX will not
coun
t
* t
o
me
!
* t
he
me
mory in the job step's Resident Set Size
*/
*/
memset
(
mem
,
0
,
(
mem_kb
*
1024
));
memset
(
mem
,
0
,
(
mem_kb
*
1024
));
sleep
(
sleep_time
);
sleep
(
sleep_time
);
...
...
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