-
Notifications
You must be signed in to change notification settings - Fork 36
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
pthread in Ubuntu 18.10 #92
Comments
Yes, push this. This is a classic problem that comes back sometimes.
|
But this might not work on Mac. Can you do a pull request and I will check?
|
Also, can you try to not link to pthread but to use the |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently, sferes does not compile on ubuntu 18.10 (fresh install):
undefined reference to `pthread_join@GLIBC_2.2.5'
It seems that the -lpthread flag is missing. We fixed it by adding:
conf.env.LIBPATH_PTHREAD = ['/usr/lib/x86_64-linux-gnu/']
conf.env.LIB_PTHREAD = ['pthread’]
In the wscript (after the #boost mpi section).
If you think this is the best way to solve this, I can push a fix.
The text was updated successfully, but these errors were encountered: