-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #521: description, constructing script, and dataset files * #521: Configuration file to run the synthetic+blocks case through PhaseStepper and render it * #521: modified example and specification * #521: new test case * #521: excluse pngs from trailing whitespace check * #521: fix png whitespace error * #521: pull in LBDatafile_schema.py with JSON_data_files_validator.py * #521: finalized example and configuration with baseline load-only setting that must reach 0 imbalance * #521: generalize whitespace check to ignore all pngs * #521: remove unused imports --------- Co-authored-by: Caleb Schilly <[email protected]>
- Loading branch information
Showing
9 changed files
with
119 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Specify input | ||
from_data: | ||
data_stem: ../data/synthetic-blocks/synthetic-dataset-blocks | ||
phase_ids: | ||
- 0 | ||
check_schema: false | ||
|
||
# Specify work model | ||
work_model: | ||
name: AffineCombination | ||
parameters: | ||
alpha: 1.0 | ||
beta: 0.0 | ||
gamma: 0.0 | ||
|
||
# Specify algorithm | ||
algorithm: | ||
name: InformAndTransfer | ||
phase_id: 0 | ||
parameters: | ||
n_iterations: 8 | ||
n_rounds: 2 | ||
fanout: 2 | ||
order_strategy: arbitrary | ||
transfer_strategy: Recursive | ||
criterion: Tempered | ||
max_objects_per_transfer: 8 | ||
deterministic_transfer: true | ||
|
||
# Specify output | ||
output_dir: ../output | ||
output_file_stem: synthetic-dataset-blocks | ||
visualization: | ||
x_ranks: 2 | ||
y_ranks: 2 | ||
z_ranks: 1 | ||
object_jitter: 0.5 | ||
rank_qoi: load | ||
object_qoi: load | ||
save_meshes: true | ||
force_continuous_object_qoi: true | ||
output_visualization_dir: ../output | ||
output_visualization_file_stem: output_file | ||
|
||
write_JSON: | ||
compressed: False | ||
suffix: json | ||
communications: True | ||
offline_LB_compatible: True |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"metadata":{"type":"LBDatafile","rank":0},"phases":[{"id":0,"tasks":[{"entity":{"home":0,"id":1,"migratable":true,"type":"object"},"node":0,"resource":"cpu","time":0.5,"user_defined":{"shared_id":0,"shared_bytes":9.0,"home_rank":0}},{"entity":{"home":0,"id":3,"migratable":true,"type":"object"},"node":0,"resource":"cpu","time":0.5,"user_defined":{"shared_id":1,"shared_bytes":9.0,"home_rank":0}},{"entity":{"home":0,"id":2,"migratable":true,"type":"object"},"node":0,"resource":"cpu","time":0.5,"user_defined":{"shared_id":1,"shared_bytes":9.0,"home_rank":0}},{"entity":{"home":0,"id":0,"migratable":true,"type":"object"},"node":0,"resource":"cpu","time":1.0,"user_defined":{"shared_id":0,"shared_bytes":9.0,"home_rank":0}}],"communications":[{"type":"SendRecv","to":{"type":"object","id":5},"messages":1,"from":{"type":"object","id":0},"bytes":2.0},{"type":"SendRecv","to":{"type":"object","id":4},"messages":1,"from":{"type":"object","id":1},"bytes":1.0},{"type":"SendRecv","to":{"type":"object","id":2},"messages":1,"from":{"type":"object","id":3},"bytes":1.0},{"type":"SendRecv","to":{"type":"object","id":8},"messages":1,"from":{"type":"object","id":3},"bytes":0.5}]}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"metadata":{"type":"LBDatafile","rank":1},"phases":[{"id":0,"tasks":[{"entity":{"home":1,"id":5,"migratable":true,"type":"object"},"node":1,"resource":"cpu","time":2.0,"user_defined":{"shared_id":2,"shared_bytes":9.0,"home_rank":1}},{"entity":{"home":1,"id":4,"migratable":true,"type":"object"},"node":1,"resource":"cpu","time":0.5,"user_defined":{"shared_id":2,"shared_bytes":9.0,"home_rank":1}},{"entity":{"home":1,"id":7,"migratable":true,"type":"object"},"node":1,"resource":"cpu","time":0.5,"user_defined":{"shared_id":3,"shared_bytes":9.0,"home_rank":1}},{"entity":{"home":1,"id":6,"migratable":true,"type":"object"},"node":1,"resource":"cpu","time":1.0,"user_defined":{"shared_id":3,"shared_bytes":9.0,"home_rank":1}}],"communications":[{"type":"SendRecv","to":{"type":"object","id":1},"messages":1,"from":{"type":"object","id":4},"bytes":2.0},{"type":"SendRecv","to":{"type":"object","id":8},"messages":1,"from":{"type":"object","id":5},"bytes":2.0},{"type":"SendRecv","to":{"type":"object","id":6},"messages":1,"from":{"type":"object","id":7},"bytes":1.0}]}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"metadata":{"type":"LBDatafile","rank":2},"phases":[{"id":0,"tasks":[{"entity":{"home":2,"id":8,"migratable":true,"type":"object"},"node":2,"resource":"cpu","time":1.5,"user_defined":{"shared_id":4,"shared_bytes":9.0,"home_rank":2}}],"communications":[{"type":"SendRecv","to":{"type":"object","id":6},"messages":1,"from":{"type":"object","id":8},"bytes":1.5}]}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"metadata":{"type":"LBDatafile","rank":3},"phases":[{"id":0,"tasks":[]}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# config: synthetic data set with blocks | ||
tasks: [1.0, 0.5, 0.5, 0.5, 0.5, 2.0, 1.0, 0.5, 1.5] | ||
communications: | ||
- {from: 0, size: 2.0, to: 5} | ||
- {from: 1, size: 1.0, to: 4} | ||
- {from: 3, size: 1.0, to: 2} | ||
- {from: 3, size: 0.5, to: 8} | ||
- {from: 4, size: 2.0, to: 1} | ||
- {from: 5, size: 2.0, to: 8} | ||
- {from: 7, size: 1.0, to: 6} | ||
- {from: 8, size: 1.5, to: 6} | ||
ranks: | ||
0: | ||
tasks: [0, 1, 2, 3] | ||
1: | ||
tasks: [4, 5, 6, 7] | ||
2: | ||
tasks: [8] | ||
3: | ||
tasks: [] | ||
shared_blocks: | ||
- size: 9.0 | ||
tasks: [0, 1] | ||
home_rank: 0 | ||
- size: 9.0 | ||
tasks: [2, 3] | ||
home_rank: 0 | ||
- size: 9.0 | ||
tasks: [4, 5] | ||
home_rank: 1 | ||
- size: 9.0 | ||
tasks: [6, 7] | ||
home_rank: 1 | ||
- size: 9.0 | ||
tasks: [8] | ||
home_rank: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters