From 4e48ddb9757e9c72765b8d510866e371cfdca9bb Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 6 Apr 2023 07:21:37 -0400 Subject: [PATCH] No need to use nvcc_wrapper globally when configuring with CMake --- doc/src/Build_extras.rst | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/doc/src/Build_extras.rst b/doc/src/Build_extras.rst index a2125244ba..0ecf54f744 100644 --- a/doc/src/Build_extras.rst +++ b/doc/src/Build_extras.rst @@ -683,20 +683,11 @@ This list was last updated for version 3.7.1 of the Kokkos library. -D Kokkos_ARCH_GPUARCH=yes # GPUARCH = GPU from list above -D Kokkos_ENABLE_CUDA=yes -D Kokkos_ENABLE_OPENMP=yes - -D CMAKE_CXX_COMPILER=wrapper # wrapper = full path to Cuda nvcc wrapper This will also enable executing FFTs on the GPU, either via the internal KISSFFT library, or - by preference - with the cuFFT library bundled with the CUDA toolkit, depending on whether CMake - can identify its location. The *wrapper* value for - ``CMAKE_CXX_COMPILER`` variable is the path to the CUDA nvcc - compiler wrapper provided in the Kokkos library: - ``lib/kokkos/bin/nvcc_wrapper``\ . The setting should include the - full path name to the wrapper, e.g. - - .. code-block:: bash - - -D CMAKE_CXX_COMPILER=${HOME}/lammps/lib/kokkos/bin/nvcc_wrapper + can identify its location. For AMD or NVIDIA GPUs using HIP, set these variables: