I need g77 but gfortran will do. Is either part of 11.0 distribution and, if so, what is path to compiler? I tried to download from Suse software & showed that it downloaded gcc33-fortran (g77) but I can’t find it (which gcc33-fortran gives nothing).
Can someone help me install these fortran compilers? Or, just tell me the path to the executable?
tammieborders wrote:
> I need g77 but gfortran will do. Is either part of 11.0 distribution
> and, if so, what is path to compiler? I tried to download from Suse
> software & showed that it downloaded gcc33-fortran (g77) but I can’t
> find it (which gcc33-fortran gives nothing).
>
> Can someone help me install these fortran compilers? Or, just tell me
> the path to the executable?
You need to install gcc. For the gcc4X series, I don’t think they make g77
anymore - gfortran is standard.
To answer your question, the compiler should be in /usr/bin.
One suggestion: Install the findutils-locate package, then as root, execute the
‘updatedb’ command, then you can use ‘locate XXX’ to find files that contain XXX
in the name. It is best to have the updatedb command run once a day, but I’ll
leave that as an exercise for the reader.
You can also use Yast to tell you where the files are and what they are called. Simply go into the Software Management, search for gcc and then click on the ones you have installed. For packages that you have installed you can then click on the “File List” tab and look for any that are in a bin folder.
You can also install the newest version of gcc and gcc-fortran from here. Once the gcc-fortran package is installed, you will have gfortran installed in /usr/bin/
Note that gfortran should work with any fortran 77 files as well as 90/95 and I believe 2003.
One other silly question – it wants my openSuse DVD Disk 1 for the install but I have the iso file on DVD. That hasn’t been working so far. Can I ask it to look online or how can I get a Disk 1?
tammieborders wrote:
> Thank you! That is very useful information.
>
> One other silly question – it wants my openSuse DVD Disk 1 for the
> install but I have the iso file on DVD. That hasn’t been working so
> far. Can I ask it to look online or how can I get a Disk 1?
Do you have any on-line repositories enabled? If you do, then just disable the
DVD. If not enabled, you need to enable http access to “download.opensuse.org”
in directory “/distribution/11.0/repo/oss/”.
If I understand your question correctly, you burned the iso file to DVD, rather
than burning a bootable disk. There are ways to mount an iso file as a file
system, but if you want a DVD repo, it is easier for you to copy the iso file
back to disk, then burn a DVD using the DVD ISO Option in the tools tab of K3b,
which is located at Start => Applications => Multimedia => CD/DVD Burning. The
resulting DVD can be read by YaST.
Intel makes C and Fortran compilers for Linux. They are free to use for non commercial use. I have used the C one and it is great. They also integrate with the Eclipse IDE if you so care to use that.Installing the C one was extremely easy, I expect the Fortran one would be similar: