Skip to content

Commit

Permalink
rzhound build script and replay error change (#1414)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush authored Nov 5, 2024
1 parent 50c9589 commit 10b1253
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
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

0 comments on commit 10b1253

Please # to comment.