Page 1 of 1

Fortran 77 compiler

Posted: 2014/10/12 21:16:04
by sailsandiegoca
I require g77 to compile a data analysis package. It appears that compat-gcc-34-g77 has been discontinued in CentOS 7 despite its inclusion in previous versions as well as its support in Fedora releases (including future releases). There is a need for g77 - please see the requests for support in Ubuntu. I've currently installed the corresponding Fedora 19 packages on CentOS, but I have little faith about this solution in the long term. I hope someone can help. Thanks a lot.

Re: Fortran 77 compiler

Posted: 2014/10/12 21:42:21
by TrevorH
You need to raise the request upstream with Redhat. CentOS only packages what RHEL ships.

We do ship gcc-gfortran.x86_64 which provides a /usr/bin/f95 and a /usr/bin/gfortran but I take it that they are no use for this?

Re: Fortran 77 compiler

Posted: 2014/10/12 22:16:15
by sailsandiegoca
Hi TrevorH, thanks for your quick post. You are correct, gfortran and fort77 don't work. I've ported my own CFD code to gfortran, but I don't have the time to port the analysis package. You'll find that a good number of scientists are in a similar position.

I'm relatively new to CentOS as I'm primarily using Fedora. I'd like a more stable environment and CentOS 7 seemed to fit the bill. I know there are repositories porting Fedora packages to CentOS. Do you have a suggestion on who I should contact with a good chance of the g77 port happening? I can surely try Redhat, but I'm not really their customer.

Re: Fortran 77 compiler

Posted: 2014/10/12 22:58:56
by toracat
This might not sound like the best solution, but consider using CentOS 6. It will be supported until November 2020. If you must go for C-7, then try rebuilding the Fedora package from the srpm.

Re: Fortran 77 compiler

Posted: 2014/10/12 23:13:10
by TrevorH
Or possibly raise a bug on bugzilla.redhat.com targetting Fedora EPEL and see if the current maintainer of the Fedora packages will also maintain them in EPEL for el7.

Re: Fortran 77 compiler

Posted: 2014/10/15 23:30:58
by loftyhauser
Gfortran is a Fortran 90 compiler, and as such, it can compile F77 code. You might need to pass some particular combination of switches to the compiler for it to work properly, but it most certainly *should* work.