2012-10-08 23:29:55 +08:00
|
|
|
# Settings that the LAMMPS build will import when this package library is used
|
2012-10-10 23:44:38 +08:00
|
|
|
CUDA_FLAGS := -I/usr/local/cuda/include -DUNIX -DFFT_CUFFT -DCUDA_PRECISION=2 -DCUDA_ARCH=20
|
|
|
|
CUDA_USRLIB_CONDITIONAL := -L/usr/local/cuda/lib -L/usr/local/cuda/lib64 -lcufft
|
2012-10-08 23:29:55 +08:00
|
|
|
|
|
|
|
user-cuda_SYSINC = ${CUDA_FLAGS}
|
|
|
|
user-cuda_SYSLIB = -lcuda -lcudart -lrt
|
|
|
|
user-cuda_SYSPATH = $(CUDA_USRLIB_CONDITIONAL)
|
|
|
|
|