2013-07-26 23:43:29 +08:00
|
|
|
# Settings that the LAMMPS build will import when this package library is used
|
2014-10-07 23:24:30 +08:00
|
|
|
CUDA_FLAGS := -I/usr/local/cuda/include -DUNIX -DFFT_CUFFT -DCUDA_PRECISION=2 -DCUDA_ARCH=20
|
2014-10-28 23:21:46 +08:00
|
|
|
CUDA_USRLIB_CONDITIONAL := -L/usr/local/cuda/lib -L/usr/local/cuda/lib64
|
2013-07-26 23:43:29 +08:00
|
|
|
|
|
|
|
user-cuda_SYSINC = ${CUDA_FLAGS}
|
2014-10-28 23:21:46 +08:00
|
|
|
user-cuda_SYSLIB = -lcufft -lcuda -lcudart
|
2013-07-26 23:43:29 +08:00
|
|
|
user-cuda_SYSPATH = $(CUDA_USRLIB_CONDITIONAL)
|