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
b166b53f
Commit
b166b53f
authored
Aug 21, 2019
by
Lukas Weber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix need restart for thermalization only stuff
parent
7a039b79
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
python/loadleveller/jobstatus.py
python/loadleveller/jobstatus.py
+1
-1
src/runner_pt.cpp
src/runner_pt.cpp
+1
-1
src/runner_pt.h
src/runner_pt.h
+0
-1
No files found.
python/loadleveller/jobstatus.py
View file @
b166b53f
...
@@ -41,7 +41,7 @@ class JobProgress:
...
@@ -41,7 +41,7 @@ class JobProgress:
tp
.
sweeps
+=
max
(
0
,
sweeps
-
tp
.
target_therm
)
tp
.
sweeps
+=
max
(
0
,
sweeps
-
tp
.
target_therm
)
if
tp
.
sweeps
<
tp
.
target_sweeps
:
if
tp
.
therm_sweeps
<
tp
.
target_therm
or
tp
.
sweeps
<
tp
.
target_sweeps
:
self
.
restart
=
True
self
.
restart
=
True
self
.
progress
.
append
(
tp
)
self
.
progress
.
append
(
tp
)
...
...
src/runner_pt.cpp
View file @
b166b53f
...
@@ -516,6 +516,7 @@ void runner_pt_master::react() {
...
@@ -516,6 +516,7 @@ void runner_pt_master::react() {
pt_param_optimization
(
chain
,
chain_run
);
pt_param_optimization
(
chain
,
chain_run
);
}
}
std
::
fill
(
chain_run
.
weight_ratios
.
begin
(),
chain_run
.
weight_ratios
.
end
(),
-
1
);
for
(
int
target
=
0
;
target
<
chain_len_
;
target
++
)
{
for
(
int
target
=
0
;
target
<
chain_len_
;
target
++
)
{
int
target_rank
=
rank_section
*
chain_len_
+
target
+
1
;
int
target_rank
=
rank_section
*
chain_len_
+
target
+
1
;
int
pos
=
chain_run
.
rank_to_pos
[
target
];
int
pos
=
chain_run
.
rank_to_pos
[
target
];
...
@@ -545,7 +546,6 @@ void runner_pt_master::react() {
...
@@ -545,7 +546,6 @@ void runner_pt_master::react() {
}
}
pt_global_update
(
chain
,
chain_run
);
pt_global_update
(
chain
,
chain_run
);
std
::
fill
(
chain_run
.
weight_ratios
.
begin
(),
chain_run
.
weight_ratios
.
end
(),
-
1
);
for
(
int
target
=
0
;
target
<
chain_len_
;
target
++
)
{
for
(
int
target
=
0
;
target
<
chain_len_
;
target
++
)
{
int
new_task_id
=
chain
.
task_ids
[
chain_run
.
rank_to_pos
[
target
]];
int
new_task_id
=
chain
.
task_ids
[
chain_run
.
rank_to_pos
[
target
]];
...
...
src/runner_pt.h
View file @
b166b53f
...
@@ -28,7 +28,6 @@ struct pt_chain {
...
@@ -28,7 +28,6 @@ struct pt_chain {
void
checkpoint_write
(
const
iodump
::
group
&
g
);
void
checkpoint_write
(
const
iodump
::
group
&
g
);
void
clear_histograms
();
void
clear_histograms
();
int
histogram_entries
();
std
::
tuple
<
double
,
double
>
optimize_params
();
std
::
tuple
<
double
,
double
>
optimize_params
();
};
};
...
...
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