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
53e01627
Commit
53e01627
authored
Jul 07, 2020
by
Lukas Weber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix many sweeps support
parent
932ad255
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/jobinfo.cpp
src/jobinfo.cpp
+1
-1
src/jobinfo.h
src/jobinfo.h
+1
-1
src/runner_single.cpp
src/runner_single.cpp
+1
-1
No files found.
src/jobinfo.cpp
View file @
53e01627
...
...
@@ -95,7 +95,7 @@ std::vector<std::filesystem::path> jobinfo::list_run_files(const std::string &ta
return
results
;
}
in
t
jobinfo
::
read_dump_progress
(
int
task_id
)
const
{
size_
t
jobinfo
::
read_dump_progress
(
int
task_id
)
const
{
size_t
sweeps
=
0
;
try
{
for
(
auto
&
dump_name
:
list_run_files
(
taskdir
(
task_id
),
"dump
\\
.h5"
))
{
...
...
src/jobinfo.h
View file @
53e01627
...
...
@@ -32,7 +32,7 @@ public:
static
std
::
vector
<
std
::
filesystem
::
path
>
list_run_files
(
const
std
::
string
&
taskdir
,
const
std
::
string
&
file_ending
);
in
t
read_dump_progress
(
int
task_id
)
const
;
size_
t
read_dump_progress
(
int
task_id
)
const
;
void
merge_task
(
int
task_id
);
void
concatenate_results
();
void
log
(
const
std
::
string
&
message
);
...
...
src/runner_single.cpp
View file @
53e01627
...
...
@@ -78,7 +78,7 @@ void runner_single::read() {
for
(
size_t
i
=
0
;
i
<
job_
.
task_names
.
size
();
i
++
)
{
auto
task
=
job_
.
jobfile
[
"tasks"
][
job_
.
task_names
[
i
]];
size_t
target_sweeps
=
task
.
get
<
in
t
>
(
"sweeps"
);
size_t
target_sweeps
=
task
.
get
<
size_
t
>
(
"sweeps"
);
size_t
sweeps
=
0
;
sweeps
=
job_
.
read_dump_progress
(
i
);
...
...
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