You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build 2.1.1 using the NAG 6.1 Fortran compiler (and system gcc 6.4.1) and it fails in the fortran/use-mpi-tkr directory when it tries to link the libmpi_usempi.so.20.10.0 shared library. The -pthread option is being used but this is not something the NAG compiler understands, and it fails as a consequence.
Who is responsible for putting that option there? openmpi, libtool?
If it should be handed off to the backend gcc compiler, then it ought to be -Wc,-pthread. And perhaps the NAG option -thread_safe should also be used? (Note it doesn't translate into -pthread for the gcc backend.) I'm not really sure what the -pthread thing is all about.
The text was updated successfully, but these errors were encountered:
@ggouaillardet, you should know that this issue is also resolved by v3.0.0rc2. This error occurred when building the default shared libraries. That prompted me to build static libraries, which is the context for #4034, which is also fixed by v3.0.0rc2. Any chance these fixes can be back ported to 2.1?
I'm trying to build 2.1.1 using the NAG 6.1 Fortran compiler (and system gcc 6.4.1) and it fails in the
fortran/use-mpi-tkr
directory when it tries to link thelibmpi_usempi.so.20.10.0
shared library. The-pthread
option is being used but this is not something the NAG compiler understands, and it fails as a consequence.Who is responsible for putting that option there? openmpi, libtool?
If it should be handed off to the backend gcc compiler, then it ought to be
-Wc,-pthread
. And perhaps the NAG option-thread_safe
should also be used? (Note it doesn't translate into-pthread
for the gcc backend.) I'm not really sure what the-pthread
thing is all about.The text was updated successfully, but these errors were encountered: