Skip to content
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

Rhel4 fixes #26

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Rhel4 fixes #26

wants to merge 10 commits into from

Conversation

henjo
Copy link

@henjo henjo commented Jun 11, 2011

Here comes some modifications to qsnake that are needed to make qsnake compile on RHEL4. It is still not working with libqsnake but the basic packages build.

I guess the problem with libqsnake is that the version of gfortran is too old (4.1.2). This is the error message I get:
[ 75%] Building Fortran object qsnake/CMakeFiles/cmesh.dir/fmesh_wrapper.f90.o
[100%] Building CXX object qsnake/CMakeFiles/cmesh.dir/cmesh.cpp.o
In file /nfs/home/henrik/qsnake/spkg/build/libqsnake-2cfde83/qsnake/fmesh_wrapper.f90:3

use iso_c_binding
1
Fatal Error: Can't open module file 'iso_c_binding.mod' for reading at (1): No such file or directory
make[2]: *** [qsnake/CMakeFiles/cmesh.dir/fmesh_wrapper.f90.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [qsnake/CMakeFiles/cmesh.dir/all] Error 2
make: *** [all] Error 2

Qsnake build failed.

@certik
Copy link
Member

certik commented Jun 11, 2011

Thanks for this! Let me try to build it on my machines and if all is ok, I'll push it in.

Yes, it needs at least gfortran 4.3 (I think). In order to make fortran usable, it needs the iso_c_binding module, otherwise you can't easily interface with C (or Python).

I don't know how to best approach this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants