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
INFO_NEEDED: gfortran fails to link automatically when fortran files are present #404
Comments
[comment by blelbach] [Trac time Sun Jun 3 21:33:06 2012] Matt, I cannot reproduce this. ep_client builds just fine for me (a05cf3a). |
[comment by manderson] [Trac time Mon Jun 4 00:47:03 2012] Bryce -- you need to uncomment the test.f90 line in the CMakeLists.txt so that it actually compiles a fortran source code. I just checked in the updated CMakeLists.txt file so that you can see the error (6426800). I also just verified that the problem is still there. |
[comment by blelbach] [Trac time Mon Jun 4 02:26:15 2012] Can't reproduce on Ithaca. |
[comment by manderson] [Trac time Mon Jun 4 14:17:45 2012] Bryce, I just reproduced it on ithaca. Nothing tricky here. Used 6cd00a1 and standard ithaca settings. Did you remember to update prior to compiling? Did you have any conflicts you forgot to resolve? |
[comment by manderson] [Trac time Wed Jun 6 00:28:53 2012] that's funny, I just reproduced it again on ithaca. The most likely source of this discrepancy is that you are including a library which automatically links with gfortran, such as hdf5_fortran. Please turn off these libraries when you configure cmake so that you can see the problem. Some questions (my answers in parenthesis) Exodus_fortran_found OFF |
[comment by blelbach] [Trac time Wed Jun 6 18:27:08 2012] I think you're going to have to manually add gfortran to the library dependencies - I've investigated this, and there's no way that I can easily check if a project is pure C++ or C++ and gfortran. For example:
|
[reported by manderson] [Trac time Mon May 7 21:42:00 2012] gfortran libraries fail to link automatically when fortran files are present.
To reproduce, use 5c45225 or later and build the embarrassingly_parallel example:
This bug is very important because we (LSU and IU) are under contract to port several fortran codes and we do not want to have to rewrite each fortran routine in their entirety. There must be automatic fortran support for HPX in order for these projects to succeed.
The text was updated successfully, but these errors were encountered: