Skip to content

Commit

Permalink
CMake: Fix ABLASTR FFTW Superbuild (#659)
Browse files Browse the repository at this point in the history
Forgot to forward FFT request.
  • Loading branch information
ax3l authored Aug 7, 2024
1 parent d80d768 commit 187b56a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmake/dependencies/ABLASTR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,18 @@ macro(find_ablastr)
"Download & build openPMD-api" FORCE)
endif()

# transitive control for FFT/PICSAR superbuild
# TODO (future)

# ABLASTR superbuild
# transitive control for ABLASTR superbuild
if(ImpactX_ablastr_internal OR ImpactX_ablastr_src)
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)

set(ABLASTR_FFT ${ImpactX_FFT} CACHE BOOL "" FORCE)

set(WarpX_APP OFF CACHE BOOL "" FORCE)
set(WarpX_LIB OFF CACHE BOOL "" FORCE)
set(WarpX_QED OFF CACHE BOOL "" FORCE)
set(WarpX_DIMS 3 CACHE INTERNAL "" FORCE)
set(WarpX_COMPUTE ${ImpactX_COMPUTE} CACHE INTERNAL "" FORCE)
set(WarpX_DIMS 3 CACHE INTERNAL "" FORCE)
set(WarpX_FFT ${ImpactX_FFT} CACHE BOOL "" FORCE)
set(WarpX_OPENPMD ${ImpactX_OPENPMD} CACHE INTERNAL "" FORCE)
set(WarpX_PRECISION ${ImpactX_PRECISION} CACHE INTERNAL "" FORCE)
set(WarpX_MPI ${ImpactX_MPI} CACHE INTERNAL "" FORCE)
Expand Down Expand Up @@ -140,7 +140,7 @@ macro(find_ablastr)
else()
message(STATUS "Searching for pre-installed ABLASTR ...")
message(FATAL_ERROR "Not yet supported!")
# TODO: MPI control
# TODO: MPI & FFT control
set(COMPONENT_DIM 3D)
set(COMPONENT_PRECISION ${ImpactX_PRECISION} P${ImpactX_PRECISION})

Expand Down

0 comments on commit 187b56a

Please sign in to comment.