forked from lijiext/lammps
23 lines
582 B
Makefile
23 lines
582 B
Makefile
NVCC = $(CUDA_HOME)/bin/nvcc
|
|
EXTRAMAKE = Makefile.lammps.standard
|
|
|
|
CUDA_ARCH = -arch=sm_35
|
|
CUDA_PRECISION = -D_SINGLE_DOUBLE
|
|
CUDA_INCLUDE = -I$(CUDA_HOME)/include
|
|
CUDA_LIB = -L$(CUDA_HOME)/lib64 -Xlinker -rpath -Xlinker $(CUDA_HOME)/lib64 -lcudart
|
|
CUDA_OPTS = -DUNIX -O3 -Xptxas -v --use_fast_math --ftz=true
|
|
|
|
CUDR_CPP = mpic++ -DMPI_GERYON -DUCL_NO_EXIT -I$(CUDA_HOME)/include
|
|
CUDR_OPTS = -O3 -ffast-math -funroll-loops -DMPI_GERYON -DLAMMPS_SMALLBIG
|
|
|
|
BIN_DIR = .
|
|
OBJ_DIR = obj
|
|
LIB_DIR = .
|
|
AR = ar
|
|
BSH = /bin/sh
|
|
|
|
CUDPP_OPT = #-DUSE_CUDPP -Icudpp_mini
|
|
|
|
include Nvidia.makefile
|
|
|