From d11577cf0f5f1dae5ca02fd1d3128982e215ad60 Mon Sep 17 00:00:00 2001 From: YidaLi Date: Fri, 13 Dec 2024 23:39:50 +0800 Subject: [PATCH] v4.2.0 --- make.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/make.inc b/make.inc index 0fcaa3a..b9e7385 100644 --- a/make.inc +++ b/make.inc @@ -2,17 +2,17 @@ COMPILE_LEVEL = -O3 #0201000,GPU_CUDA CUDA_PATH = /usr/local/cuda -CUDA_INC = -I$(CUDA_PATH)/include -CUDA_LIB = -L$(CUDA_PATH)/lib64 -lcudart -lcusparse +CUDA_INC = -I/path/to/cuda/include +CUDA_LIB = -L/path/to/cuda/lib64 -lcudart -lcusparse NVCC = nvcc $(COMPILE_LEVEL) NVCCFLAGS = $(PANGULU_FLAGS) -w -Xptxas -dlcm=cg -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_61,code=compute_61 $(CUDA_INC) $(CUDA_LIB) #general CC = gcc $(COMPILE_LEVEL) #-fsanitize=address MPICC = mpicc $(COMPILE_LEVEL) #-fsanitize=address -OPENBLAS_INC = -I$(PATH_TO_OPENBLAS_INC) -OPENBLAS_LIB = -L$(PATH_TO_OPENBLAS_LIB) -lopenblas +OPENBLAS_INC = -I/path/to/openblas/include +OPENBLAS_LIB = -L/path/to/openblas/lib -lopenblas MPICCFLAGS = $(OPENBLAS_INC) $(CUDA_INC) $(OPENBLAS_LIB) -fopenmp -lpthread -lm MPICCLINK = $(OPENBLAS_LIB) -METISFLAGS = -I$(PATH_TO_GKLIB_INC) -I$(PATH_TO_METIS_I64_INC) +METISFLAGS = -I/path/to/gklib/include -I/path/to/metis/include PANGULU_FLAGS = -DPANGULU_LOG_INFO -DCALCULATE_TYPE_R64 -DMETIS -DPANGULU_MC64 #-DGPU_OPEN -DHT_IS_OPEN