accel and nvptx64 linker issues #32
Comments
This could be caused by
I guess $LIBRARY_PATH setting is failing. If you do not prefer to modify it, you can use $CUDA_LIBRARY_PATH instead. Dockerfile of termoshtt/rust-cuda may help construct your env |
Thanks! I ran However,
It seems it's the linker issue and
and
Though, Any idea how to resolve them? |
Thanks for testing.
These are raised while the link step. Could you check there are three commands
You need to compile
Be sure that the interface of
|
Thanks! it's strange that I get miss-matched errors:
I have
nvptx install was successful though
I tried though and
and the root test fails as before. |
Here's my main issue to use nvptx from nightly 1.27. Did you have such issues? if so what did you do? |
The sample at japaric/nvptx uses japaric/core64, which does not updated. You can use latest libcore on the main rust library, so I guess you can compile that sample by removing
Does |
I went through the same issues with the same error messages. In my case, Hope this helps. |
Thanks comment. These naming rules should be detected in |
With changes @shritesh mentioned, the build and test were successfully for me as well. But when I tried to build |
as CI does Lines 62 to 65 in 5fe3efd
|
Please re-open if not resolved |
Hi
I can build nvptx64 sub-crate but
cargo test
fails on it due to "Link" issue (when compiling ptx-builder v0.1.0). I've LLVM-6.0, CUDA-8.0 installed, and tried to changed the linker innvptx64-nvidia-cuda.json
tollvm-linker
(?!) but didn't help.Is it because of my gpu titan xp arch? or something else?
Also when I try to
cargo build
the rootaccel
crate the error is:error: linking with
cc
failed: exit code: 1.... OMITTED ....
note: /usr/bin/ld: cannot find -lcudart
/usr/bin/ld: cannot find -lcublas
collect2: error: ld returned 1 exit status
But I have them in my
/usr/local/cuda/lib64
and/usr/local/cuda/include/
.Any idea how to resolve it?
Thanks
The text was updated successfully, but these errors were encountered: