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
2da3b228
Commit
2da3b228
authored
12 years ago
by
jette
Browse files
Options
Downloads
Plain Diff
Merge branch 'slurm-2.5'
parents
4322b420
e0020ed1
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/common/timers.h
+1
-1
1 addition, 1 deletion
src/common/timers.h
testsuite/expect/inc3.11.8
+1
-1
1 addition, 1 deletion
testsuite/expect/inc3.11.8
testsuite/expect/test6.7
+4
-1
4 additions, 1 deletion
testsuite/expect/test6.7
with
6 additions
and
3 deletions
src/common/timers.h
+
1
−
1
View file @
2da3b228
...
...
@@ -41,7 +41,7 @@
#include
<sys/time.h>
#define DEF_TIMERS struct timeval tv1, tv2; char tv_str[20]
#define DEF_TIMERS struct timeval tv1, tv2; char tv_str[20]
= ""
#define START_TIMER gettimeofday(&tv1, NULL)
#define END_TIMER gettimeofday(&tv2, NULL); \
slurm_diff_tv_str(&tv1, &tv2, tv_str, 20, NULL, 0)
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/inc3.11.8
+
1
−
1
View file @
2da3b228
...
...
@@ -60,7 +60,7 @@ proc inc3_11_8 {} {
set thread_res_num [ expr $core_res_num * $res_thread_cnt ]
# (First test) Submit the batch job: a simple job using half the threads on the nodes
set sbatch_pid [spawn $sbatch --nodes=1-$num_nodes --time=
3
0:00 --ntasks-per-node=$thread_res_num --output=/dev/null $file_in]
set sbatch_pid [spawn $sbatch --nodes=1-$num_nodes --time=
1
0:00 --ntasks-per-node=$thread_res_num --output=/dev/null $file_in]
expect {
-re "Submitted batch job ($number)" {
set job_id $expect_out(1,string)
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test6.7
+
4
−
1
View file @
2da3b228
...
...
@@ -152,12 +152,15 @@ if {[wait_for_file $file_out] == 0} {
#
# Variation of above to test signal of batch script processes
# Note that job termination sends SIGCONT/SIGTERM, hence the
# duplicate sleep call
# duplicate sleep call
.
#
exec rm -f $file_in $file_out
make_bash_script $file_in "
$bin_date
$bin_sleep 10
$bin_date
$bin_sleep 10
$bin_date
echo FINI
"
...
...
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