Skip to content

Commit 9ae4852

Browse files
committed
fix(mpi): ensure to_wait=false when no comm
1 parent a047603 commit 9ae4852

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

apps/core/src/global_initaliser.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ namespace
108108
}
109109

110110
return delta_time;
111-
112111
}
113112

114113
} // namespace
@@ -209,7 +208,7 @@ namespace Core
209208
{
210209

211210
auto d_transition = (is_host)
212-
? get_dtransitionner(user_params.cma_case_path)
211+
? get_dtransitioner(user_params.cma_case_path)
213212
: CmaUtils::TransitionnerPtrType::from_raw(nullptr);
214213

215214
if (is_host)

apps/libs/cma_utils/public/cma_utils/alias.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77

88
namespace CmaUtils
99
{
10-
using TransitionnerPtrType = rust::Box<TransionnerWrapper>;
10+
using TransitionnerPtrType = rust::Box<TransitionerWrapper>;
1111
using IterationStatePtrType = ::rust::Box<::IterationStateWrapper>;
1212
using StateCooMatrixType = ::rust::Box<::CooMatrixWrap>;
1313

14-
1514
} // namespace CmaUtils
1615

1716
#endif

apps/libs/mpi_w/src/iteration_payload.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace WrapMPI
2626
bool flag = false;
2727
if (n_rank == 1)
2828
{
29+
to_wait = false;
2930
return true;
3031
}
3132

0 commit comments

Comments
 (0)