Skip to content
New issue

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

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

Already on GitHub? # to your account

rzhound build script and replay error change #1414

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions scripts/build_ascent/build_ascent_openmp_rzhound.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module load cmake/3.26.3
module load gcc/10.3.1-magic

export enable_mpi="${enable_mpi:=ON}"
export enable_openmp="${enable_openmp:=ON}"
export enable_python="${enable_python:=ON}"
export build_caliper="${build_caliper:=true}"
export build_pyvenv="${build_pyvenv:=true}"
export build_jobs="${build_jobs:=20}"
./build_ascent.sh


12 changes: 9 additions & 3 deletions src/utilities/replay/replay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,15 @@ void load_actions(const std::string &file_name, int mpi_comm_id, conduit::Node &

if(actions_file_valid == 0)
{
// Raise Error
ASCENT_ERROR("Failed to load actions file: " << file_name
<< "\n" << emsg);
// show on rank 0 and exit
if(rank == 0)
{
std::cout << "Failed to load actions file: "
<< file_name
<< "\n" << emsg
<< std::endl;
}
exit(-1);
}
#ifdef ASCENT_REPLAY_MPI
conduit::relay::mpi::broadcast_using_schema(actions, 0, mpi_comm);
Expand Down