the detailed steps to install g95 on Fedora linux platform
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
the detailed steps to install g95 on Fedora linux platform
Hello dear friends:
I am an almost newbie to USING LINUX PLATFORM.Because I am doing research by running a big model, so Recently, I need to install G95 and ifort on the Fedora linux paltform. But I failed several times. So, could any friend be kind enough to tell me the detailed step by step to install G95 / ifort, for example, I appreciate much about that. As a newbie, sometimes it is hard to imagine how much difficulty he has to run something there.
Thank you at first!
No one here is going to tell you step-by-step on how to do something. Steps vary depending on user's setups and it's insulting to those of us who have found step-by-step instructions in google. When your install failed, explain what happened that indicated that it failed.
The installation of the two cited fortran compilers are straightforward. The G95 project provides binaries. Just download them, extract the archive under /usr/local and make a symbolic link to the executable in /usr/local/bin to make g95 available to all users.
To install the Intel Fortran Compiler, just extract the downloaded archive, go into the installation directory and execute the install.sh script, then follow the instructions. You will have to provide the serial number or the license file you received from Intel.
Yum repoitories do not have packages named like g95 or ifort, though it has some other Fortran packages available. So I have to assume that you tried to start with some downloaded files. You should at least mention if you downloaded compiled binaries or source tarballs. Explaining your approach would also help to find out why your attempts have failed.
What does "doing research by running a big model" mean?
The installation of the two cited fortran compilers are straightforward. The G95 project provides binaries. Just download them, extract the archive under /usr/local and make a symbolic link to the executable in /usr/local/bin to make g95 available to all users.
To install the Intel Fortran Compiler, just extract the downloaded archive, go into the installation directory and execute the install.sh script, then follow the instructions. You will have to provide the serial number or the license file you received from Intel.
Hello, my friend:
Thanks for your response and advice. Could you be kind to tell me the meaning of /usr/local , because when I open my terminal, it shows home/naishi, is this the /usr/local. The other question is /usr/local/bin, does this mean I need to create a subdirectory bin under /home/naishi. Or, the /usr/local is already automatically set there?
I am waiting for your advice, thanks indeed!
Phil
Q=="Could you be kind to tell me the meaning of /usr/local , because when I open my terminal, it shows home/naishi, is this the /usr/local. The other question is /usr/local/bin, does this mean I need to create a subdirectory bin under /home/naishi."
Clue:
Yes we are here because we have a bit of that 'kindness' you expect. But honestly it looks like you are a way far yet. We don't hold lectures here, the space doesn't allow that. Do familiarize a little about Linux before trying to install a compiler. Read some tutorials. Use google. Most of us here are newbies like you, it just happened we had enough time to read, experiment and learn.
Try to explore the directory tree, first looking at the directories under / and you will find out where /usr/local is located. Then, as suggested by malekmustaq, read a good tutorial about linux to find out what the various directories are supposed to be. To me you need some practice before trying to compile a Fortran program. Have you succeeded in installing g95 and/or ifort, anyway?
Try to explore the directory tree, first looking at the directories under / and you will find out where /usr/local is located. Then, as suggested by malekmustaq, read a good tutorial about linux to find out what the various directories are supposed to be. To me you need some practice before trying to compile a Fortran program. Have you succeeded in installing g95 and/or ifort, anyway?
Hello Colucix:
Thank you for your assistance! Yeah, usually I use UNIX system to run a big fortran program such as a weather forecast numerical model, which is programmed usually by F90 and partly by C for some subroutines. So, I am quite familiar with vi editor and unix commands. But as for Linux I really need to learn more and I hope to learn more under your wonderful guys' help because I've realized the Linux system will be very promising in future and it has so great power and flexibility for one to use. I will try my best, and also hope your wonderful experts to be kind enough to give a hand, thank you indeed, Colucix!!!
I run ocean forecast numerical models on Linux machines without any clue. I compile them using the Intel Fortran Compiler, since they run on Intel Quad Core processors. Glad to be of help, if needed. Cheers!
I run ocean forecast numerical models on Linux machines without any clue. I compile them using the Intel Fortran Compiler, since they run on Intel Quad Core processors. Glad to be of help, if needed. Cheers!
Hello Colucix,
I am running WRF and MM5(as you know) on Fedora 7 platform by using ifort or g95. So, our professional fields are almost the same---atmospheric or oceanic models. So hope to learn things from you indeed!
talk you soon!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.