-
Notifications
You must be signed in to change notification settings - Fork 901
NAG Fortran compiler -rpath configuration error #4034
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
Comments
Actually there are several |
@nncarlson thanks for the report. this is a known issue that has been around for a while ... can you please give a try to if you'd rather use the |
@ggouaillardet sorry it took me so long to give this a try. I downloaded Out of curiosity when is 3.0.0 due to be released? |
@nncarlson did you get a chance to try the patch at https://github.com/open-mpi/ompi/pull/2092.patch on the
|
@ggouaillardet I've tested the patch now, and it too looks good to me. It applied cleanly to 2.1.1 with some offsets/fuzzes. Ran |
With NAG 6.0, 6.1 and openmpi 2.1.1, mpifort gives the error
This may have been part of #1284 (now closed). If it was ever fixed, it is back now. The issue is that the compiler wrapper uses
-Wl,-rpath
which results in-rpath
being passed to gcc. In order to get that flag to the linker, the wrapper must use-Wl,-Wl,,-rpath
. See http://baradi09.blogspot.com/2014/08/compiling-openmpi-with-nag-fortran.htmlThe text was updated successfully, but these errors were encountered: