2016-06-18 07:07:24 +08:00
|
|
|
NVCC = $(CUDA_HOME)/bin/nvcc
|
|
|
|
EXTRAMAKE = Makefile.lammps.standard
|
2010-11-23 08:40:35 +08:00
|
|
|
|
2016-06-18 07:07:24 +08:00
|
|
|
CUDA_ARCH = -arch=sm_35
|
2010-11-23 08:40:35 +08:00
|
|
|
CUDA_PRECISION = -D_SINGLE_DOUBLE
|
|
|
|
CUDA_INCLUDE = -I$(CUDA_HOME)/include
|
2016-06-18 07:07:24 +08:00
|
|
|
CUDA_LIB = -L$(CUDA_HOME)/lib64 -Xlinker -rpath -Xlinker $(CUDA_HOME)/lib64 -lcudart
|
|
|
|
CUDA_OPTS = -DUNIX -O3 -Xptxas -v --use_fast_math --ftz=true
|
2010-11-23 08:40:35 +08:00
|
|
|
|
2011-05-02 23:02:52 +08:00
|
|
|
CUDR_CPP = mpic++ -DMPI_GERYON -DUCL_NO_EXIT -I$(CUDA_HOME)/include
|
2016-06-18 07:07:24 +08:00
|
|
|
CUDR_OPTS = -O3 -ffast-math -funroll-loops -DMPI_GERYON -DLAMMPS_SMALLBIG
|
2010-11-23 08:40:35 +08:00
|
|
|
|
2011-12-02 23:51:43 +08:00
|
|
|
BIN_DIR = .
|
|
|
|
OBJ_DIR = obj
|
|
|
|
LIB_DIR = .
|
2010-11-23 08:40:35 +08:00
|
|
|
AR = ar
|
|
|
|
BSH = /bin/sh
|
|
|
|
|
2016-06-18 07:07:24 +08:00
|
|
|
CUDPP_OPT = #-DUSE_CUDPP -Icudpp_mini
|
2012-01-25 23:31:54 +08:00
|
|
|
|
2010-11-23 08:40:35 +08:00
|
|
|
include Nvidia.makefile
|
|
|
|
|