# /* ---------------------------------------------------------------------- # Generic Mac Makefile for CUDA # - 32-bit (requires adding -m32 to LAMMPS Makefile) # - Change CUDA_ARCH for your GPU # ------------------------------------------------------------------------- */ # which file will be copied to Makefile.lammps EXTRAMAKE = Makefile.lammps.standard CUDA_HOME = /usr/local/cuda NVCC = nvcc -m64 CUDA_ARCH = -arch=sm_11 CUDA_PRECISION = -D_SINGLE_SINGLE CUDA_INCLUDE = -I$(CUDA_HOME)/include CUDA_LIB = -L$(CUDA_HOME)/lib CUDA_OPTS = -DUNIX -DUCL_NO_EXIT -O3 --use_fast_math CUDR_CPP = mpic++ -m64 CUDR_OPTS = -O2 -g BIN_DIR = ./ OBJ_DIR = ./ LIB_DIR = ./ AR = ar BSH = /bin/sh CUDPP_OPT = -DUSE_CUDPP -Icudpp_mini include Nvidia.makefile