Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to download a Fortran 77 compiler to run a .f file for a school project on OPENSUSE.
I have the latest version of opensuse (12.2).
I have installed every last fortran related rpm from the repository: gcc-fortran, gcc33-fortran, gcc47-fortran, and still can't compile and execute the simple .f file.
From my research on the net i understand the gcc no longer hosts f77 compiler on any versions greater the 4.0.As well they no longer have the gcc-g77 compiler either. Why they would do this, i do not know because it seems to me that a number of people has had the same issue.
I have also tried to download the compat-g77 rpm, but have ran into dependency issues.
I am a newbi at opensuse, i know a few command lines to get me around the terminal but that is it. I have tried to download earlier versions of gcc but i don't know how to handle the file. There are alot of .h, .c and other files that i don't know what to do with.
Could someone could please guide me from scratch ( spoon feed me if you will) on how to set up a fortran 77 compiler on Opensuse 12.2 to run these .f files
I have already Zyppered gcc33-fortran and installed it, and i still cannot compile the .f files. Maybe i'm doing something wrong or i'm not using the gcc33-fortran correctly, i don't know. All i know is that when i use the g77 or f77 command the terminal does not recognize either.
Can you explain to me how i can go about using gcc33-fortran to compile the .f files.
Ok, i see that i have g77-3.3 in the root/usr/bin. Now, how do i get this to work, or how do i use this to compile my .f file? what is the command line used operate this g77 to compile the .f files?
Because when i use "g77 -c filename.f" the terminal is telling me g77 is a typo.
Ok, i have it! I figured it out and now i look like a fool. No matter though. For any one else that is experiencing the same problem here is the solution.
Zypper/install the gcc33-fortran package, it does host g77-3.3 package for Fortran 77. Now, instead of using the conventional "g77" command to compile and run the program as i did, use "g77-3.3" in your command as it is saved under that title.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.