You are not logged in.

#1 2009-03-25 19:21:25

Garret
Member
From: Palermo, Italy
Registered: 2006-07-09
Posts: 172

Fortran package

How i can install the fortran compiler? For example in one famous distro the package is called g77, and here?

Offline

#2 2009-03-25 19:22:20

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Fortran package

pacman -S gfortran

Offline

#3 2009-03-25 20:11:56

Garret
Member
From: Palermo, Italy
Registered: 2006-07-09
Posts: 172

Re: Fortran package

perbh wrote:

pacman -S gfortran

It doesn't exist

Offline

#4 2009-03-25 20:15:52

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Fortran package

There is a g95 Fortran 95 package in aur.


To know or not to know ...
... the questions remain forever.

Offline

#5 2009-03-25 20:44:10

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Fortran package

gfortran is included in the gcc package. Not sure what the difference is between that and the g95 in AUR. A quick look at the gcc website looks like the the gcc one is fortran95 compatible though

Offline

#6 2009-03-26 03:34:21

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Fortran package

oooops - I'm sorry, it used to be a seperate packet:

pacman -Qo /usr/bin/gfortran
=>/usr/bin/gfortran is owned by gcc 4.3.3-1

So there! If you have installed gcc, you will have fortran as well, only - it is _not_ called f77 or even g77 - it is 'gfortran'

Offline

#7 2009-03-26 05:16:07

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: Fortran package

gfortan is a fortran 95/03 compiler.  If you want g77 (fortran 77 compiler), you need to build one (probably in the AUR).

Offline

#8 2009-03-26 06:32:47

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Fortran package

You can compile F77 code with gfortran. I believe it also works for F90 code.

Offline

Board footer

Powered by FluxBB