Skip to content

Commit

Permalink
#2291: Update LBDatafile example
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed Jun 26, 2024
1 parent 3ca2222 commit eef10d2
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/md/node-lb-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ contains information about the task that performed this work. If that `entity`
is a virtual collection object, it will specify the unique `id` for the object,
and optionally the `index`, `home`, and `collection_id` for that object.

\include examples/LBDatafile_example.json
\include examples/lb_data/lb_data_file_example.json

Each phase in the file may also have a `communications` array that specify any
communication between tasks that occurred during the phase. Each communication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,33 @@
},
"phases": [
{
"communications": [
{
"bytes": 160.0,
"from": {
"collection_id": 7,
"home": 0,
"id": 262147,
"index": [
0
],
"migratable": true,
"type": "object"
},
"messages": 1,
"to": {
"collection_id": 7,
"home": 0,
"id": 262147,
"index": [
0
],
"migratable": true,
"type": "object"
},
"type": "SendRecv"
}
],
"id": 0,
"tasks": [
{
Expand All @@ -39,18 +66,10 @@
"subphases": [
{
"id": 0,
"time": 0.037584
},
{
"id": 1,
"time": 0.037717999999999995
},
{
"id": 2,
"time": 0.038012000000000004
"time": 0.0009759999999999994
}
],
"time": 0.113314
"time": 0.0009759999999999994
},
{
"entity": {
Expand Down Expand Up @@ -88,10 +107,10 @@
"subphases": [
{
"id": 0,
"time": 2.2000000000000318e-05
"time": 2.400000000000015e-05
}
],
"time": 2.2000000000000318e-05
"time": 2.400000000000015e-05
},
{
"entity": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_lb_data_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ done

# Use vt to generate LB Datafile
if ! python3 "${path_to_vt_src_dir}/scripts/generate_and_validate_lb_data_file.py" -c \
-b "${path_to_vt_build_dir}" -f "LBData_from_lb_iter.0.json" -r "${path_to_vt_src_dir}/examples/LBDatafile_example.json"
-b "${path_to_vt_build_dir}" -f "LBData_from_lb_iter.0.json" -r "${path_to_vt_src_dir}/examples/lb_data/lb_data_file_example.json"
then
exit 3;
fi

0 comments on commit eef10d2

Please sign in to comment.