LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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



Reply
 
Search this Thread
Old 04-15-2009, 09:59 PM   #1
naishi
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Rep: Reputation: 0
Smile 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!
 
Old 04-16-2009, 04:30 AM   #2
asymptote
Member
 
Registered: Mar 2008
Posts: 236

Rep: Reputation: 37
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.
 
Old 04-16-2009, 04:57 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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.
 
Old 04-16-2009, 05:11 AM   #4
maresmasb
Member
 
Registered: Apr 2009
Posts: 108

Rep: Reputation: 24
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?

Last edited by Tinkster; 10-30-2010 at 04:14 PM.
 
Old 04-17-2009, 11:58 AM   #5
naishi
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
how about the /usr/local?

Quote:
Originally Posted by colucix View Post
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
 
Old 04-17-2009, 12:15 PM   #6
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,223

Rep: Reputation: 231Reputation: 231Reputation: 231
naishi:

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.

Read the basic of Gnu/Linux:

http://www.freebookcentre.net/unix-b...heer)-PDF.html

Goodluck.
 
Old 04-18-2009, 07:58 AM   #7
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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?
 
Old 04-18-2009, 11:41 AM   #8
naishi
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Cool Thanks to Colucix

Quote:
Originally Posted by colucix View Post
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!!!
 
Old 04-18-2009, 11:49 AM   #9
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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!
 
Old 04-19-2009, 11:48 PM   #10
naishi
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
hello Colucix

Quote:
Originally Posted by colucix View Post
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Steps to install java in LINUX Fedora... rkarthi2k5 Linux - Software 1 12-19-2008 09:57 AM
steps to install arm-linux-gcc 3.3.1 jpp Linux - Newbie 0 07-09-2008 12:18 AM
I need a detailed guide on how o install windows AFTER linux has been installed. Christof999 Linux - Software 1 10-23-2006 06:10 PM
Need detailed steps for GRUB 0.92 to load 3 OS' TedtheRushFan General 2 04-15-2005 07:55 AM
How to install redhat linux on windows machine? please give detailed info.. superman254 Linux - Software 1 11-16-2000 06:05 AM


All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration