LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2014, 11:31 AM   #1
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Rep: Reputation: Disabled
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
 
Old 05-04-2014, 12:03 PM   #2
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
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.
 
Old 05-04-2014, 12:16 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.
 
Old 05-04-2014, 02:16 PM   #4
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Original Poster
Rep: Reputation: Disabled
Thanks a lot. It is plenty. It is all I wanted. So it is Fortran 95.
 
Old 05-04-2014, 04:34 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
and it is g77
the g77 compiler is in the legacy gcc34
on rhel 6 it is
Code:
compat-gcc-34-g77.i686.rpm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc and gfortran fereshteh Linux - General 22 07-29-2013 12:26 PM
gfortran compiler sujatabhattacharyya Linux - Newbie 1 07-12-2012 11:29 AM
gfortran for SLES 11 mahdi109 Linux - Software 3 06-03-2012 10:39 AM
help gfortran mperez Programming 2 12-16-2007 12:50 PM
gfortran and pgf90 peeInMyPantz Programming 1 08-08-2005 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration