Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed Dec 17, 2024
1 parent 94e6497 commit 0c8bbf0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -686,16 +686,18 @@ if(ESPRESSO_BUILD_WITH_WALBERLA)
walberla::core walberla::domain_decomposition walberla::blockforest
walberla::boundary walberla::field walberla::lbm walberla::timeloop
walberla::vtk)
if(ESPRESSO_BUILD_WITH_WALBERLA_FFT)
if(WALBERLA_BUILD_WITH_FFTW)
set(WALBERLA_LIBS ${WALBERLA_LIBS} walberla::fft)
endif()
if(ESPRESSO_BUILD_WITH_CUDA AND WALBERLA_BUILD_WITH_CUDA)
if(WALBERLA_BUILD_WITH_CUDA)
set(WALBERLA_LIBS ${WALBERLA_LIBS} walberla::gpu)
endif()
# workaround for https://gitlab.kitware.com/cmake/cmake/-/issues/21283
foreach(target_w_namespace IN LISTS WALBERLA_LIBS)
string(REPLACE "walberla::" "" target_wo_namespace ${target_w_namespace})
add_library(${target_w_namespace} ALIAS ${target_wo_namespace})
install(TARGETS ${target_wo_namespace}
LIBRARY DESTINATION ${ESPRESSO_INSTALL_PYTHON}/espressomd)
endforeach()
if(ESPRESSO_BUILD_WITH_WALBERLA_AVX)
function(espresso_avx_flags_callback COMPILER_AVX2_FLAG)
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ FPE
.. note::

Requires specific compiler and linker flags, enabled with the CMake option
``-D ESPRESSO_BUILD_WITH_FPE=ON -D CMAKE_BUILD_TYPE=RelWithDebInfo``.
``-D ESPRESSO_BUILD_WITH_FPE=ON -D CMAKE_BUILD_TYPE=Debug``.

When abnormal mathematical operations take place at runtime,
for example divisions by zero, multiplication of infinity with zero,
Expand Down
2 changes: 1 addition & 1 deletion src/core/unit_tests/EspressoSystemStandAlone_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ BOOST_FIXTURE_TEST_CASE(espresso_system_stand_alone, ParticleFactory) {
auto const comm = boost::mpi::communicator();
auto const rank = comm.rank();
auto const n_nodes = comm.size();
#ifdef FPE
#if defined(FPE) and not defined (__APPLE__)
auto const trap = fe_trap::make_unique_scoped();
#endif

Expand Down

0 comments on commit 0c8bbf0

Please sign in to comment.