Jump to content

F77 compiler in mandriva 2008 spring


alfredoq
 Share

Recommended Posts

  • 1 month later...

If you installed the gcc-gfortran package then you should have an executable called /usr/bin/gfortran. So if you type

gfortran

in the console, it should find the executable. And it should complain that you haven't given it any input files:

$ gfortran
gfortran: no input files

If this doesn't work for you, then either you haven't got gfortran installed, or you didn't type the "gfortran" command exactly right.

 

To check whether you have got gfortran installed, try this:

rpm -qa | grep fortran

This should list your packages containing the word fortran.

 

If this looks ok, try this:

ls /usr/bin/gf*

This should give you a list of files in your /usr/bin directory which start with "gf". At least two of these should have something to do with fortran.

 

If this looks ok, you can try this:

gfortran --version

And this should tell you the version of gfortran you're running. I assume you know what to do from here on! ;)

Link to comment
Share on other sites

seems like my problem wasn;t that complicated :)

i had installed gfortran 4.3 while gcc was 4.2.3.....gcc was working but without gfortran. after uninstalling gfortran 4.3 and installing gfortran 4.2.3 it worked perfectly :)

i mean, well, at least it says about the fortran compiler when i tell him ¨gfortran --version¨ :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...