Skip to content

Commit

Permalink
Disable MPI tests that use sync_wait.
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorostsa committed Aug 19, 2024
1 parent cd4e065 commit 67b14b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/core/async_mpi/tests/unit/algorithm_transform_mpi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,15 @@ int hpx_main()

int main(int argc, char* argv[])
{
#if !defined(HPX_HAVE_STDEXEC)
// Disable MPI tests because they
// hang due to sync_wait consuming the thread
MPI_Init(&argc, &argv);

auto result = hpx::local::init(hpx_main, argc, argv);

MPI_Finalize();

return result || hpx::util::report_errors();
#endif
}

0 comments on commit 67b14b6

Please sign in to comment.