LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gfortran--where does it stand? (https://www.linuxquestions.org/questions/linux-newbie-8/gfortran-where-does-it-stand-4175503901/)

AlexBB 05-04-2014 11:31 AM

Gfortran--where does it stand?
 
I want to know if Gfortran is close to Fortran 77 or Fortran 95 or whatnot. Which distribution is it closest to?

Also if it does not match any of the above versions, how can I install Fortran95 for instance?

Thanks, - Alex

JeremyBoden 05-04-2014 12:03 PM

You can load package(s) for Fortran 95.
Try
Code:

apt-get install gfortran
Quote:

This is the GNU Fortran 95 compiler, which compiles Fortran 95 on platforms
supported by the gcc compiler. It uses the gcc backend to generate optimized
code.
This is a dependency package providing the default GNU Fortran 95 compiler.

btmiller 05-04-2014 12:16 PM

AFAIK, gfortran implements the Fortran 95 standard. Some features from the 2003 and 2008 standards are being integrated into more recent releases. You probably should check the release notes of whatever version your running for the full details.

AlexBB 05-04-2014 02:16 PM

Thanks a lot. It is plenty. It is all I wanted. So it is Fortran 95.

John VV 05-04-2014 04:34 PM

and it is g77
the g77 compiler is in the legacy gcc34
on rhel 6 it is
Code:

compat-gcc-34-g77.i686.rpm


All times are GMT -5. The time now is 04:19 AM.