2013-07-26 23:43:29 +08:00
|
|
|
# Settings that the LAMMPS build will import when this package library is used
|
2014-09-04 23:42:52 +08:00
|
|
|
CUDA_FLAGS := -I/usr/local/cuda/include -DUNIX -DFFT_CUFFT -DCUDA_PRECISION=1 -DCUDA_ARCH=20
|
2013-07-27 00:37:03 +08:00
|
|
|
CUDA_USRLIB_CONDITIONAL := -L/usr/local/cuda/lib -L/usr/local/cuda/lib64 -lcufft
|
2013-07-26 23:43:29 +08:00
|
|
|
|
|
|
|
user-cuda_SYSINC = ${CUDA_FLAGS}
|
|
|
|
user-cuda_SYSLIB = -lcuda -lcudart
|
|
|
|
user-cuda_SYSPATH = $(CUDA_USRLIB_CONDITIONAL)
|