LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-06-2008, 10:02 PM   #1
sramanujam
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
Question automate source for fortran compiler in fedora 8


I downloaded and installed intel fortran compiler for linux in my Fedora 8 machine. The problem is everytime I start a new session, I have to run 'source' else the compiler won't work. is there a way to automate this? My friend told me that by using .login script we can automate, but he don't know how to do it! Can anyone help me to automate the source for ifort compiler?
 
Old 05-07-2008, 06:28 PM   #2
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
Put the source command into your ~/.login file. You could do it by
Code:
echo "source /path/to/ifortvars.sh" >> ~/.login
Or you can do it manually.
If you don't have a .login file, try it with .bash_profile, or .bashrc.

Good luck
 
  


Reply

Tags
fedora, fortran, intel, linux


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
g77 in gcc 4.1.0 not found only gfortran fortran 95 compiler! I need fortran 77. TheBrick Linux - Software 3 07-04-2007 06:39 AM
Fortran 90 compiler? kostis Linux - Software 5 03-08-2007 03:25 AM
Can't get a Fortran compiler Executor21 Linux - Newbie 1 01-15-2007 11:29 AM
Fortran 95 Compiler alunduil Programming 2 08-16-2006 07:12 AM
does linux fortran compiler in fedora 4 support VAX FORTRAN? terrence Programming 17 08-31-2005 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration