From 28daeab055d505e4dce80ab8139138ccb45edd2a Mon Sep 17 00:00:00 2001 From: Hanno Spreeuw Date: Thu, 26 Apr 2018 16:52:24 +0200 Subject: [PATCH] CUDAINC is redundant and '/usr/local/cuda/include' does not exist, at least not on fs5. 'module load cuda91' or some similar adjustment to PATH should suffice. --- src/lib/Dirac/Makefile.gpu | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/Dirac/Makefile.gpu b/src/lib/Dirac/Makefile.gpu index 7ed5d52..0b3ef8f 100644 --- a/src/lib/Dirac/Makefile.gpu +++ b/src/lib/Dirac/Makefile.gpu @@ -5,8 +5,7 @@ CFLAGS= -Wall -O3 -g -DHAVE_CUDA -DHYBRID_CODE -pg CLIBS= -lm -lpthread LAPACK=-L/usr/local/OpenBLAS/lib/ -lopenblas -lgfortran -lpthread -CUDAINC=/usr/local/cuda/include -CUDALIB=-L/usr/local/cuda/lib64 -lcuda -lcudart +CUDALIB=-lcuda -lcudart #NVCC=/usr/local/cuda/bin/nvcc #NVCFLAGS=-arch=sm_35 -g -G --ptxas-options=-v -O3 NVCFLAGS=-gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=compute_61 -gencode arch=compute_62,code=compute_62 --ptxas-options=-v -O3 @@ -19,7 +18,7 @@ GLIBL=-lglib-2.0 -L/usr/lib64 NVML_INC=/usr/include/nvidia/gdk/ NVML_LIB=-lnvidia-ml -INCLUDES= -I. -I$(CUDAINC) -I$(NVML_INC) +INCLUDES= -I. -I$(NVML_INC) LIBPATH= $(CUDALIB)