2010-11-23 08:40:35 +08:00
|
|
|
# /* ----------------------------------------------------------------------
|
|
|
|
# Makefile for NCSA's lincoln GPU cluster. Tested with "soft +cuda-2.3"
|
|
|
|
# ------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
CUDA_HOME = /usr/local/cuda-2.3
|
|
|
|
NVCC = $(CUDA_HOME)/bin/nvcc
|
|
|
|
|
|
|
|
CUDA_ARCH = -arch=sm_13
|
|
|
|
CUDA_PRECISION = -D_SINGLE_SINGLE
|
|
|
|
CUDA_INCLUDE = -I$(CUDA_HOME)/include
|
|
|
|
CUDA_LIB = -L$(CUDA_HOME)/lib64 -Wl,-rpath,$(CUDA_HOME)/lib64
|
|
|
|
CUDA_OPTS = -DUNIX -O3 -Xptxas -v --use_fast_math
|
|
|
|
|
2011-05-02 23:02:52 +08:00
|
|
|
CUDR_CPP = mpic++ -DMPI_GERYON -DUCL_NO_EXIT
|
2010-11-23 08:40:35 +08:00
|
|
|
CUDR_OPTS = -O3 -DMPI_GERYON -ffast-math -funroll-loops
|
|
|
|
|
|
|
|
BIN_DIR = ./
|
2011-01-12 23:24:04 +08:00
|
|
|
OBJ_DIR = ./
|
2010-11-23 08:40:35 +08:00
|
|
|
LIB_DIR = ./
|
|
|
|
AR = ar
|
|
|
|
|
2012-01-31 08:55:55 +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
|
|
|
|
|