Open wyphan opened 1 month ago
To enable CUDA with cmake, use cmake -DPELE_ENABLE_CUDA=ON ..
rather than cmake -DENABLE_CUDA=ON ..
.
However, for most use cases, it may be more convenient to build with GNU Make rather than cmake: https://github.com/AMReX-Combustion/PeleC?tab=readme-ov-file#getting-started
On the latest
development
branch (commit cd601a2b4b92118d659fd11ca90a4775e24ff707), configuring a PeleC build using CMake with CUDA enabled fails due to a build target name clash between AMReX and SUNDIALS. This happens regardless of compiler toolchain (tested both NVHPC and GCC, with and without Cray wrapper) and CUDA toolkit version.Minimal reproducer: