Skip to content
Open
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
2 changes: 2 additions & 0 deletions src/axom/quest/interface/internal/mpicomm_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
#ifdef AXOM_USE_MPI
#include <mpi.h>
#else
#ifndef MPI_VERSION
using MPI_Comm = int;
constexpr int MPI_COMM_SELF = -1;
#endif
#endif

#endif /* QUEST_MPICOMM_WRAPPER_HPP_ */
4 changes: 2 additions & 2 deletions src/axom/quest/interface/signed_distance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,14 +342,14 @@ void signed_distance_set_execution_space(SignedDistExec exec_space)
signed_distance_initialized(),
"signed distance query already initialized; setting option has no effect!");

#if defined(AXOM_USE_OPENMP) && defined(AXOM_USE_RAJA)
#if !defined(AXOM_USE_OPENMP) && !defined(AXOM_USE_RAJA)
if(exec_space == SignedDistExec::OpenMP)
{
SLIC_ERROR("Signed distance query not compiled with OpenMP support");
}
#endif

#if defined(AXOM_USE_GPU) && defined(AXOM_USE_RAJA)
#if !defined(AXOM_USE_GPU) && !defined(AXOM_USE_RAJA)
if(exec_space == SignedDistExec::GPU)
{
SLIC_ERROR("Signed distance query not compiled with GPU support");
Expand Down