Open txthpc opened 2 years ago
When compiling, there is no error, but there are some warnings:
mkdir -p obj
nvcc -c -o obj/utils.o -lcusparse -lcublas -lcusolver -lcurand -I. -IEXTERNAL/nsparse-master/cuda-c/inc -I/home/txt/Downloads/cub-1.8.0 -arch=sm_75 --compiler-options -Wall utility/utils.cu
utility/utils.cu: In function ‘const char* cusparseGetStatusString(cusparseStatus_t)’:
utility/utils.cu:26:8: warning: enumeration value ‘CUSPARSE_STATUS_ZERO_PIVOT’ not handled in switch [-Wswitch]
switch (error)
^
utility/utils.cu:26:8: warning: enumeration value ‘CUSPARSE_STATUS_NOT_SUPPORTED’ not handled in switch [-Wswitch]
mkdir -p obj
nvcc -c -o obj/nsparse.o -lcusparse -lcublas -lcusolver -lcurand -I. -IEXTERNAL/nsparse-master/cuda-c/inc -I/home/txt/Downloads/cub-1.8.0 -arch=sm_75 EXTERNAL/nsparse-master/cuda-c/src/kernel/kernel_spgemm_hash_d.cu
EXTERNAL/nsparse-master/cuda-c/src/kernel/kernel_spgemm_hash_d.cu: In function ‘void set_row_nnz(int*, int*, int*, int*, int*, sfBIN*, int, int*)’:
EXTERNAL/nsparse-master/cuda-c/src/kernel/kernel_spgemm_hash_d.cu:1180:23: warning: ‘cudaError_t cudaThreadSynchronize()’ is deprecated [-Wdeprecated-declarations]
cudaThreadSynchronize();
^
/usr/local/cuda-10.2/bin/../targets/x86_64-linux/include/cuda_runtime_api.h:957:46: note: declared here
extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaThreadSynchronize(void);
^~~~~~~~~~~~~~~~~~~~~
EXTERNAL/nsparse-master/cuda-c/src/kernel/kernel_spgemm_hash_d.cu: In function ‘void calculate_value_col_bin(int*, int*, real*, int*, int*, real*, int*, int*, real*, sfBIN*, int)’:
EXTERNAL/nsparse-master/cuda-c/src/kernel/kernel_spgemm_hash_d.cu:1287:23: warning: ‘cudaError_t cudaThreadSynchronize()’ is deprecated [-Wdeprecated-declarations]
cudaThreadSynchronize();
^
/usr/local/cuda-10.2/bin/../targets/x86_64-linux/include/cuda_runtime_api.h:957:46: note: declared here
extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaThreadSynchronize(void);
^~~~~~~~~~~~~~~~~~~~~
mkdir -p obj
nvcc -c -o obj/vector.o -lcusparse -lcublas -lcusolver -lcurand -I. -IEXTERNAL/nsparse-master/cuda-c/inc -I/home/txt/Downloads/cub-1.8.0 -arch=sm_75 --compiler-options -Wall matrix/vector.cu
mkdir -p obj
nvcc -c -o obj/CSR.o -lcusparse -lcublas -lcusolver -lcurand -I. -IEXTERNAL/nsparse-master/cuda-c/inc -I/home/txt/Downloads/cub-1.8.0 -arch=sm_75 --compiler-options -Wall matrix/CSR.cu
mkdir -p obj
nvcc -c -o obj/matrixIO.o -lcusparse -lcublas -lcusolver -lcurand -I. -IEXTERNAL/nsparse-master/cuda-c/inc -I/home/txt/Downloads/cub-1.8.0 -arch=sm_75 --compiler-options -Wall matrix/matrixIO.cu
matrix/matrixIO.cu(62): warning: unrecognized character escape sequence
matrix/matrixIO.cu(62): warning: unrecognized character escape sequence
mkdir -p bin
nvcc -o bin/solve_example -I. -IEXTERNAL/nsparse-master/cuda-c/inc -I/home/txt/Downloads/cub-1.8.0 -lcusparse -lcublas -lcusolver -lcurand -arch=sm_75 --compiler-options -Wall solve_example.cu obj/utils.o obj/nsparse.o obj/vector.o obj/CSR.o obj/matrixIO.o
Do I need to make some changes? Thanks!
Dear user, could you send us information about your CUDA version and which type of NVIDIA GPU are you using?
Please, note that you opened issues on BootCMatchG (the GPU version of the BootCMatch code) by the sequential code rep. We will appreciate if you could send issues to BootCMatchG team. You can also use the following addresses: -pasqua.dambra@cnr.it -massimo.bernaschi@cnr.it -pasquini.dario.1991@gmail.com
Looking forward to receiving the above information. Thanks a lot for your interest in our work.
hi , I am very interested in your BootCMatchG(https://github.com/bootcmatch/BootCMatchG). After installing according to the steps in the README, after running the example
./bin/solve_example ../test_matrix/pi8grid6.mtx ../AMGsettings_base
, the following error appears:In addition, when I use other mtx matrices (such as cant.mtx, 1138_bus.mtx), the program keeps stopping at the following interface:
In response to the above two questions, can you provide some suggestions? Best wishes!