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

Issue with the Jacobi algorithm when using llvm-main #7

Open
breyerml opened this issue Nov 18, 2024 · 0 comments
Open

Issue with the Jacobi algorithm when using llvm-main #7

breyerml opened this issue Nov 18, 2024 · 0 comments

Comments

@breyerml
Copy link

When using the llvm-main compiler, compiling the Jacobi example results in:

clang -O3 -fopenmp --offload-arch=sm_75 -DUSE_ALLOCATE=1 -o jac_solv jac_solv.o mm_utils.o 
/usr/bin/ld: jac_solv.o: undefined reference to symbol 'sqrt@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
/shared/llvm-main/bin/clang-linker-wrapper: error: 'ld' failed
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [makefile:16: jac_solv] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant