ORNL / hykkt

HyKKT is an experimental linear solver for Karush-Kuhn-Tucker type of systems.
Other
14 stars 2 forks source link

Build Issue with the develop branch #15

Open maksud opened 4 months ago

maksud commented 4 months ago

I was trying to build the develop branch with a machine with CUDA 12 and GCC 11. I am getting the following errors during the compilation:

[  3%] Building CXX object src/CMakeFiles/hykkt_libs.dir/MMatrix.cpp.o
[  6%] Building CXX object src/CMakeFiles/hykkt_libs.dir/input_functions.cpp.o
[ 10%] Building CXX object src/CMakeFiles/hykkt_libs.dir/vector_vector_ops.cpp.o
[ 13%] Building CXX object src/CMakeFiles/hykkt_libs.dir/cusparse_utils.cpp.o
In file included from /localwork/fda/ExaSGD/hykkt/src/matrix_vector_ops.hpp:5,
                 from /localwork/fda/ExaSGD/hykkt/src/cusparse_utils.cpp:7:
/usr/local/cuda/targets/x86_64-linux/include/cublas_v2.h:59:2: error: #error "It is an error to include both cublas.h and cublas_v2.h"
   59 | #error "It is an error to include both cublas.h and cublas_v2.h"
      |  ^~~~~
make[2]: *** [src/CMakeFiles/hykkt_libs.dir/build.make:118: src/CMakeFiles/hykkt_libs.dir/cusparse_utils.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:128: src/CMakeFiles/hykkt_libs.dir/all] Error 2
make: *** [Makefile:146: all] Error 2