Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SuiteSparse fails to compile on Windows (Cygwin) #31070

Closed
KristofferC opened this issue Feb 14, 2019 · 0 comments · Fixed by #31196
Closed

SuiteSparse fails to compile on Windows (Cygwin) #31070

KristofferC opened this issue Feb 14, 2019 · 0 comments · Fixed by #31196
Labels
domain:building Build system, or building Julia or its dependencies system:windows Affects only Windows

Comments

@KristofferC
Copy link
Sponsor Member

----------------------------------------------------------------
SuiteSparse package compilation options:
----------------------------------------------------------------
...
CUDA library:             CUDART_LIB=      /cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib64/libcudart.so
CUBLAS library:           CUBLAS_LIB=      /cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib64/libcublas.so

...

/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lamd
/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lcolamd
/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lbtf
/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lsuitesparseconfig
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:272: /cygdrive/c/Users/Kristoffer/julia/usr/lib/libklu.so.1.3.8] Error 1
make[3]: *** [Makefile:20: library] Error 2
make[2]: *** [Makefile:19: library] Error 2
/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lsuitesparseconfig
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:69: /cygdrive/c/Users/Kristoffer/julia/usr/lib/librbio.so.2.2.6] Error 1
make[3]: *** [Makefile:20: library] Error 2
make[2]: *** [Makefile:19: library] Error 2
x86_64-w64-mingw32-g++: error: Files/NVIDIA: No such file or directory
x86_64-w64-mingw32-g++: error: GPU: No such file or directory
x86_64-w64-mingw32-g++: error: Computing: No such file or directory
x86_64-w64-mingw32-g++: error: Toolkit/CUDA/v10.0/include/: No such file or directory
make[4]: *** [Makefile:231: spqr_rmap.o] Error 1
make[3]: *** [Makefile:20: library] Error 2
make[2]: *** [Makefile:17: library] Error 2
make[1]: *** [/cygdrive/c/Users/Kristoffer/julia/deps/suitesparse.mk:51: scratch/SuiteSparse-5.4.0/build-compiled] Error 2
make: *** [Makefile:57: julia-deps] Error 2

I'm guessing this is from #30991 which bumped the SuiteSparse version (in combination with spaces inside the path to CUDA on Windows.

Using BB for SuiteSparse makes the build go through.

@KristofferC KristofferC added domain:building Build system, or building Julia or its dependencies system:windows Affects only Windows labels Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:building Build system, or building Julia or its dependencies system:windows Affects only Windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant