Open ioir123ju opened 2 months ago
How about using this command only?
pip install cmake==3.28.4
cd path/to/glomap
mkdir build
cd build
cmake .. -GNinja -DCMAKE_CUDA_ARCHITECTURES=75
I had success for it without explicitly pointing -DSuiteSparse_CHOLMOD_LIBRARY="/usr/lib/x86_64-linux-gnu/libcholmod.so" -DSuiteSparse_CHOLMOD_INCLUDE_DIR="/usr/include/suitesparse"
It automatically stated in glomap/build/CMakeCache.txt
//Path to a file.
SuiteSparse_CHOLMOD_INCLUDE_DIR:PATH=/usr/include/suitesparse
//Path to a library.
SuiteSparse_CHOLMOD_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libcholmod.so
只使用这个命令怎么样?
pip install cmake==3.28.4 cd path/to/glomap mkdir build cd build cmake .. -GNinja -DCMAKE_CUDA_ARCHITECTURES=75
我没有明确指出就成功了
-DSuiteSparse_CHOLMOD_LIBRARY="/usr/lib/x86_64-linux-gnu/libcholmod.so" -DSuiteSparse_CHOLMOD_INCLUDE_DIR="/usr/include/suitesparse"
它自动在
glomap/build/CMakeCache.txt
//Path to a file. SuiteSparse_CHOLMOD_INCLUDE_DIR:PATH=/usr/include/suitesparse //Path to a library. SuiteSparse_CHOLMOD_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libcholmod.so
Yes, I saw suitesparse in glomap/build/CMakeCache.txt, but "cmake .. -GNinja -DCMAKE_CUDA_ARCHITECTURES=75 " still reporting same errors. My cmake version is 3.30.1. It is worth mentioning that the initial version of Glomap compiled without any issues. I use ${SuiteSparse_CHOLMOD_LIBRARY} replace SuiteSparse::CHOLMOD is work.
I use command: cmake .. -GNinja -DCMAKE_CUDA_ARCHITECTURES=75 -DSuiteSparse_CHOLMOD_LIBRARY="/usr/lib/x86_64-linux-gnu/libcholmod.so" -DSuiteSparse_CHOLMOD_INCLUDE_DIR="/usr/include/suitesparse" And I'm sure I have /usr/lib/x86_64-linux-gnu/libcholmod.so and /usr/include/suitesparse.