-
Notifications
You must be signed in to change notification settings - Fork 158
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
pthreads not found #497
Comments
Hello, @csccva, I see that you are trying to build Rocrand backend with Intel oneAPI compiler (icpx), but it works only with open source compiler oneAPI DPC++ Compiler or Thank you for pointing out on outdated rocm build info, we will check and update it. |
Hello, Thank you for your reply. I just tried the same with the clang from the intel llvm project and get similar error (related to pthreads)
|
Though it isn't strictly supported by oneMKL Interface Library, the oneAPI base toolkit with Codeplay's plugins for AMD seems to be able to build the rocRAND backend fine for me. The CMake for rocRAND does import the threads package as The stupid questions can be worth asking: is pthreads installed? Is it installed somewhere that the compiler would be looking for it? On Ubuntu I think it is at /lib/x86_64-linux-gnu/libpthread.so - I don't know about SUSE. We're aware that the build documentation could do with improvement. There is an issue for it here. I've started rewriting some of the documentation, although it isn't ready for a PR yet. |
Hello, Thank you for your reply. And thank you for trying to improve the documentation. I am trying to compile it on a supercomputer and in general the system libraries are not suitable for hpc, so I have to figure out what modules are needed to be loaded |
Hey @csccva, do you need more help with this issue? |
Hello, I thnk it i sok to close it. I will try again to compile it and test it and we will how it goes. |
Hello,
I tried to compile the interfaces with the rocrand back end. I keep getting this error:
How can I fix this?
Apart from may I comment that the building instructions seems a little outdated. It was a little bit of a struggle to get to compile the interfaces on rocm architectures with the oneAPI + codeplay plugin.
Thank you in advance,
Cristian AChim
The text was updated successfully, but these errors were encountered: