Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
L
load_leveller
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lukas Weber
load_leveller
Commits
fc377147
Commit
fc377147
authored
Aug 27, 2020
by
Lukas Weber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
all ranks quit at the same time
otherwise slurm will kill the job after a small timeout
parent
33782b22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/runner.cpp
src/runner.cpp
+3
-0
src/runner_pt.cpp
src/runner_pt.cpp
+4
-0
No files found.
src/runner.cpp
View file @
fc377147
...
...
@@ -41,6 +41,7 @@ int runner_mpi_start(jobinfo job, const mc_factory &mccreator, int argc, char **
r
.
start
();
}
MPI_Barrier
(
MPI_COMM_WORLD
);
MPI_Finalize
();
return
rc
;
...
...
@@ -59,6 +60,8 @@ int runner_master::start() {
}
bool
all_done
=
current_task_id_
<
0
;
job_
.
log
(
fmt
::
format
(
"master: stopping due to {}"
,
all_done
?
"completion"
:
"time limit"
));
return
!
all_done
;
}
...
...
src/runner_pt.cpp
View file @
fc377147
...
...
@@ -146,6 +146,7 @@ int runner_pt_start(jobinfo job, const mc_factory &mccreator, int argc, char **a
r
.
start
();
}
MPI_Barrier
(
MPI_COMM_WORLD
);
MPI_Finalize
();
return
rc
;
...
...
@@ -386,6 +387,9 @@ int runner_pt_master::start() {
break
;
}
}
job_
.
log
(
fmt
::
format
(
"master: stopping due to {}"
,
all_done
?
"completion"
:
"time limit"
));
return
!
all_done
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment