AMReX-Codes / pyamrex

GPU-Enabled, Zero-Copy AMReX Python Bindings including AI/ML
http://pyamrex.readthedocs.io
Other
32 stars 15 forks source link

Fix: Pre-Installed AMReX w/ CUDA #256

Closed ax3l closed 5 months ago

ax3l commented 5 months ago

Fix CMake language activation with pre-installed AMReX using the CUDA backend.

CMake configure error was:

-- Configuring done
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_CUDA_COMPILE_SEPARABLE_COMPILATION

Related to #252