lammps/lib/cuda/Makefile.lammps

8 lines
373 B
Makefile
Raw Normal View History

# Settings that the LAMMPS build will import when this package library is used
CUDA_FLAGS := -I/usr/local/cuda/include -DUNIX -DFFT_CUFFT -DCUDA_PRECISION=1 -DCUDA_ARCH=20
CUDA_USRLIB_CONDITIONAL := -L/usr/local/cuda/lib -L/usr/local/cuda/lib64 -lcufft
user-cuda_SYSINC = ${CUDA_FLAGS}
user-cuda_SYSLIB = -lcuda -lcudart
user-cuda_SYSPATH = $(CUDA_USRLIB_CONDITIONAL)