Commit 2ce7da80 authored by Stan Moore's avatar Stan Moore
Browse files

Add Kokkkos FFT build options

parent b1781e51
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ LAMMPS can use them if they are available on your system.

[CMake variables]:

-D FFT=value              # FFTW3 or MKL or KISS, default is FFTW3 if found, else KISS
-D FFT=value              # FFTW3 or MKL or KISS or CUFFT, default is FFTW3 if found, else KISS
-D FFT_SINGLE=value       # yes or no (default), no = double precision
-D FFT_PACK=value         # array (default) or pointer or memcpy :pre

@@ -51,7 +51,7 @@ the FFT library, you can set these variables:

[Makefile.machine settings]:

FFT_INC = -DFFT_FFTW3         # -DFFT_FFTW3, -DFFT_FFTW (same as -DFFT_FFTW3), -DFFT_MKL, or -DFFT_KISS
FFT_INC = -DFFT_FFTW3         # -DFFT_FFTW3, -DFFT_FFTW (same as -DFFT_FFTW3), -DFFT_MKL, -DFFT_FFTW_THREADS, -DFFT_CUFFT, or -DFFT_KISS
                              # default is KISS if not specified
FFT_INC = -DFFT_SINGLE        # do not specify for double precision
FFT_INC = -DFFT_PACK_ARRAY    # or -DFFT_PACK_POINTER or -DFFT_PACK_MEMCPY :pre
@@ -61,8 +61,10 @@ FFT_INC = -I/usr/local/include
FFT_PATH =      -L/usr/local/lib
FFT_LIB =       -lfftw3             # FFTW3 double precision
FFT_LIB =       -lfftw3 -lfftw3f    # FFTW3 single precision
FFT_LIB =       -lfftw3 -lfftw3_omp # FFTW3 double precision, OpenMP threaded using the KOKKOS package
FFT_LIB =       -lmkl_intel_lp64 -lmkl_sequential -lmkl_core  # MKL with Intel compiler
FFT_LIB =       -lmkl_gf_lp64 -lmkl_sequential -lmkl_core     # MKL with GNU compier :pre
FFT_LIB =       -lmkl_gf_lp64 -lmkl_sequential -lmkl_core     # MKL with GNU compiler
FFT_LIB =       -lcufft             # cuFFT (for GPUs using the KOKKOS package) :pre

As with CMake, you do not need to set paths in FFT_INC or FFT_PATH, if
make can find the FFT header and library files.  You must specify