Discussion:
What RPM do I need to get g77 working?
Gilbert Sebenste
2006-08-27 05:29:02 UTC
Permalink
Hello all,

Hopefully this is an easy question. Compiling some software tonight on my
new FC5 installation (I didn't grab everything), I see this:

$ which g77
g77: Command not found.

$ locate g77
/usr/share/vim/vim70/compiler/fortran_g77.vim

Well, THAT'S not right. It should find the Fortran compiler. I'm missing
an RPM or 20...which one(s) do I need? yum instal gcc or g77 doesn't work.
I already have gcc.

As always, thanks for any help!

*******************************************************************************
Gilbert Sebenste ********
(My opinions only!) ******
*******************************************************************************
Gilbert Sebenste
2006-08-27 05:55:28 UTC
Permalink
Post by Gilbert Sebenste
Hello all,
Hopefully this is an easy question. Compiling some software tonight on my new
$ which g77
g77: Command not found.
$ locate g77
/usr/share/vim/vim70/compiler/fortran_g77.vim
Well, THAT'S not right. It should find the Fortran compiler. I'm missing an
RPM or 20...which one(s) do I need? yum instal gcc or g77 doesn't work.
I already have gcc.
Sigh. yum -y install *77 did the trick just after I sent that email. Found
compat-gcc-77 and its requirements. Sorry for the wasted bandwidth...

*******************************************************************************
Gilbert Sebenste ********
(My opinions only!) ******
*******************************************************************************
Chris Jones
2006-08-27 08:57:50 UTC
Permalink
Post by Gilbert Sebenste
Sigh. yum -y install *77 did the trick just after I sent that email. Found
compat-gcc-77 and its requirements. Sorry for the wasted bandwidth...
Just for you info, that will give you the old GCC 3.2.3 F77 compiler as part
of the gcc32 suite .

If instead you wish to use the new F95 compiler that comes with the default
FC5 gcc version (4.1.1) (should handle F77 code fine) then simply use the
command "gfortran" instead of "g77".

cheers Chris

jonesc at localhost ~ > g77 --version
GNU Fortran (GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-55.fc5)) 3.2.3 20030502
(Red Hat Linux 3.2.3-13)
Copyright (C) 2002 Free Software Foundation, Inc.

jonesc at localhost ~ > gfortran --version
GNU Fortran 95 (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)
Copyright (C) 2006 Free Software Foundation, Inc.
Gilbert Sebenste
2006-08-27 17:05:12 UTC
Permalink
Post by Chris Jones
Post by Gilbert Sebenste
Sigh. yum -y install *77 did the trick just after I sent that email. Found
compat-gcc-77 and its requirements. Sorry for the wasted bandwidth...
Just for you info, that will give you the old GCC 3.2.3 F77 compiler as part
of the gcc32 suite .
If instead you wish to use the new F95 compiler that comes with the default
FC5 gcc version (4.1.1) (should handle F77 code fine) then simply use the
command "gfortran" instead of "g77".
Thanks for the info Chris! It's software external to me, so I will let the
provider know. Thanks!

*******************************************************************************
Gilbert Sebenste ********
(My opinions only!) ******
Staff Meteorologist, Northern Illinois University ****
E-mail: sebenste at weather.admin.niu.edu ***
web: http://weather.admin.niu.edu **
*******************************************************************************
Gilbert Sebenste
2006-08-27 17:05:12 UTC
Permalink
Post by Chris Jones
Post by Gilbert Sebenste
Sigh. yum -y install *77 did the trick just after I sent that email. Found
compat-gcc-77 and its requirements. Sorry for the wasted bandwidth...
Just for you info, that will give you the old GCC 3.2.3 F77 compiler as part
of the gcc32 suite .
If instead you wish to use the new F95 compiler that comes with the default
FC5 gcc version (4.1.1) (should handle F77 code fine) then simply use the
command "gfortran" instead of "g77".
Thanks for the info Chris! It's software external to me, so I will let the
provider know. Thanks!

*******************************************************************************
Gilbert Sebenste ********
(My opinions only!) ******
Staff Meteorologist, Northern Illinois University ****
E-mail: sebenste at weather.admin.niu.edu ***
web: http://weather.admin.niu.edu **
*******************************************************************************
Chris Jones
2006-08-27 08:57:50 UTC
Permalink
Post by Gilbert Sebenste
Sigh. yum -y install *77 did the trick just after I sent that email. Found
compat-gcc-77 and its requirements. Sorry for the wasted bandwidth...
Just for you info, that will give you the old GCC 3.2.3 F77 compiler as part
of the gcc32 suite .

If instead you wish to use the new F95 compiler that comes with the default
FC5 gcc version (4.1.1) (should handle F77 code fine) then simply use the
command "gfortran" instead of "g77".

cheers Chris

jonesc at localhost ~ > g77 --version
GNU Fortran (GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-55.fc5)) 3.2.3 20030502
(Red Hat Linux 3.2.3-13)
Copyright (C) 2002 Free Software Foundation, Inc.

jonesc at localhost ~ > gfortran --version
GNU Fortran 95 (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)
Copyright (C) 2006 Free Software Foundation, Inc.
Gilbert Sebenste
2006-08-27 05:29:02 UTC
Permalink
Hello all,

Hopefully this is an easy question. Compiling some software tonight on my
new FC5 installation (I didn't grab everything), I see this:

$ which g77
g77: Command not found.

$ locate g77
/usr/share/vim/vim70/compiler/fortran_g77.vim

Well, THAT'S not right. It should find the Fortran compiler. I'm missing
an RPM or 20...which one(s) do I need? yum instal gcc or g77 doesn't work.
I already have gcc.

As always, thanks for any help!

*******************************************************************************
Gilbert Sebenste ********
(My opinions only!) ******
*******************************************************************************
Gilbert Sebenste
2006-08-27 05:55:28 UTC
Permalink
Post by Gilbert Sebenste
Hello all,
Hopefully this is an easy question. Compiling some software tonight on my new
$ which g77
g77: Command not found.
$ locate g77
/usr/share/vim/vim70/compiler/fortran_g77.vim
Well, THAT'S not right. It should find the Fortran compiler. I'm missing an
RPM or 20...which one(s) do I need? yum instal gcc or g77 doesn't work.
I already have gcc.
Sigh. yum -y install *77 did the trick just after I sent that email. Found
compat-gcc-77 and its requirements. Sorry for the wasted bandwidth...

*******************************************************************************
Gilbert Sebenste ********
(My opinions only!) ******
*******************************************************************************
Continue reading on narkive:
Loading...