Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relay Extract: Silo/Overlink #1377

Merged
merged 10 commits into from
Sep 4, 2024

Conversation

JustinPrivitera
Copy link
Member

No description provided.

@JustinPrivitera JustinPrivitera requested a review from cyrush August 30, 2024 23:58
Copy link
Member

@cyrush cyrush left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good a few small suggestions!

{
error = 1;
error_oss << "relay_io_save Overlink save requires a single topology; "
"there are " << num_topos << " topologies in the input mesh.";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the error case, lets show them all the unique topology names as part of the error message, and also tell them the param name that they can use to select the topology.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this look?

[Error] Ascent::execute 
file: /usr/workspace/justin/ascent_builds/develop_08_22_24/ascent/src/libs/ascent/runtimes/flow_filters/ascent_runtime_relay_filters.cpp
line: 872
message: 
relay_io_save Overlink save requires a single topology; there are 3 topologies in the input mesh. The current topologies are 
 - topo
 - topo2
 - topo3
You can select which topologies to save using the "topologies" parameter like in the following example:
extracts["<extract_name>/params/topologies"].append() = "<topo_name>"

}
else
{
// cyrus was wrong about 2 mpi ranks.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still love this comment

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it lives on, across projects, space, and time

src/tests/ascent/t_ascent_mpi_relay_extract.cpp Outdated Show resolved Hide resolved
src/tests/ascent/t_ascent_mpi_relay_extract.cpp Outdated Show resolved Hide resolved
src/tests/ascent/t_ascent_relay.cpp Outdated Show resolved Hide resolved
src/tests/ascent/t_ascent_relay.cpp Outdated Show resolved Hide resolved
@cyrush
Copy link
Member

cyrush commented Sep 4, 2024

Looks good!

@JustinPrivitera JustinPrivitera merged commit e0100bf into develop Sep 4, 2024
22 checks passed
@JustinPrivitera JustinPrivitera deleted the task/JustinPrivitera/08_28_24/silo_extract branch September 4, 2024 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants