Fortran 77 compiler

Issues related to applications and software problems
Post Reply
sailsandiegoca
Posts: 2
Joined: 2014/10/12 21:00:44

Fortran 77 compiler

Post by sailsandiegoca » 2014/10/12 21:16:04

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.

User avatar
TrevorH
Forum Moderator
Posts: 29914
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Fortran 77 compiler

Post by TrevorH » 2014/10/12 21:42:21

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?
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

sailsandiegoca
Posts: 2
Joined: 2014/10/12 21:00:44

Re: Fortran 77 compiler

Post by sailsandiegoca » 2014/10/12 22:16:15

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.

User avatar
toracat
Forum Moderator
Posts: 7453
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Fortran 77 compiler

Post by toracat » 2014/10/12 22:58:56

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.
CentOS Forum FAQ

User avatar
TrevorH
Forum Moderator
Posts: 29914
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Fortran 77 compiler

Post by TrevorH » 2014/10/12 23:13:10

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.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

loftyhauser
Posts: 4
Joined: 2011/02/15 13:24:49

Re: Fortran 77 compiler

Post by loftyhauser » 2014/10/15 23:30:58

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.

Post Reply

Return to “CentOS 7 - Software Support”