Results 1 to 2 of 2

Thread: f77 on openSuse 11.2 32 bits

  1. #1

    Unhappy f77 on openSuse 11.2 32 bits

    Hello, I'm new to openSuse11.2, so please forgive if I haven't found information before.
    My point is that I need to install software that uses f77. I wandered from forum to forum and found that I needed gcc33 with gcc33-fortran to be able to compile and that there would be no conflict whith the gcc44 version. So I used YaST, downloaded and installed apparently successfully the package.
    Still, when I use the command to install my software I get the error "f77 command not found". If I make "which gcc" I get "/usr/bin/gcc", but when I make "which g77" or "which f77", I get "which: no g77 (resp. f77)in (/home/myname/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin).
    I thought I might have to force installation, I made su/zypper in gcc33-fortran. But I get the answer that it is already installed.
    Now, I don't know what to do for next step. I don't know if I need to enter a .bashrc or .cshrc to add a link to f77 (but if so, I don't know where these files are - not in my home/myname directory, nor how to do so)
    If anyone can help, I would be very grateful. Thanks.

    I repeat my conf : openSuse11.2 - 32 bits.

  2. #2

    Default Re : f77 on openSuse 11.2 32 bits

    I finally found a short-term solution :
    I made a grep research on 'f77' in the installation subroutines of my fortran programm and replaced "which f77" by "which gfortran".
    And it works, but I find it not very satisfying.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts