Skip to content

Commit

Permalink
v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidasvc committed Dec 13, 2024
1 parent a5ab648 commit d11577c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d11577c

Please sign in to comment.