Skip to content

Commit

Permalink
EB: On by Default
Browse files Browse the repository at this point in the history
Now that AMReX EBs are fully runtime controlled, we will
default use them in dependent projects like WarpX and can default
to them here as well.
  • Loading branch information
ax3l committed Sep 6, 2024
1 parent 66b789a commit 71d3929
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/dependencies/AMReX.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ macro(find_amrex)
set(AMReX_FPE OFF CACHE BOOL "")
endif()

set(AMReX_EB ON CACHE INTERNAL "")
set(AMReX_PIC ON CACHE INTERNAL "")
set(AMReX_ENABLE_TESTS OFF CACHE INTERNAL "")
set(AMReX_FORTRAN OFF CACHE INTERNAL "")
Expand Down Expand Up @@ -65,7 +66,7 @@ macro(find_amrex)
elseif(NOT pyAMReX_amrex_internal)
message(STATUS "Searching for pre-installed AMReX ...")
# https://amrex-codes.github.io/amrex/docs_html/BuildingAMReX.html#importing-amrex-into-your-cmake-project
find_package(AMReX 24.09 CONFIG REQUIRED COMPONENTS PARTICLES PIC)
find_package(AMReX 24.09 CONFIG REQUIRED COMPONENTS EB PARTICLES PIC)
message(STATUS "AMReX: Found version '${AMReX_VERSION}'")

if(AMReX_GPU_BACKEND STREQUAL CUDA)
Expand Down

0 comments on commit 71d3929

Please sign in to comment.