LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 09-25-2005, 03:30 AM   #1
terrence
LQ Newbie
 
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26

Rep: Reputation: 15
sets the environment variables, fortran


As usual, I'm so friggin lost. Please Help.

I have successfully installed the intel fortran compiler 9.0 for linux. "successful" bc the installation said it was "successful", so why am i having problems?

I suspect it has something to do with 'setting the environment varibles". I'm not sure what that means, but I think it has something to do with my "ifort" command not working.
for example, i type in ifort on the command line
and it says
"command not found"

now when i go to its specific directory, in this case
/opt/intel/fc/9.0/bin
where ifort is stored and so i type in
ifort and again "command not found" is given.
now when i type in
./ifort
it returns the following
Command line error: no files specified; for help type "ifort -help"
for which i try
ifort -help
again "command not found"

*BIG SIGH*
anyone with any ideas would greatly be appreciated
btw i've tried all the different shells
bash, sh, cash to no avail.

also i've tried
./ifortvars.sh
which returns a line without any error
but of course
when i try ifort outside of that specific directory it says command not found

that btw is related to intels "getting started doc"
which says
Configuring the Intel® Fortran Compiler
As part of a successful installation of the Intel Fortran Compiler 9.0 for Linux, the installer runs the installation script (install.sh). You need to also run the compiler environment script file (ifortvars.sh) that sets the environment variables. It is strongly recommended that you add this script file into your login script (.login for C shell or .profile for other shells). Once the variables are set in the login script, there is no need to run the environment script files for each session. The installation program also creates compiler configuration files named <install-dir>/bin/ifort.cfg that contains common settings for all compilations. You can edit this file to add additional default options.

thanks again peps
 
Old 09-25-2005, 07:59 AM   #2
yogeshm02
Member
 
Registered: Jul 2004
Location: Chandigarh, India
Distribution: SuSe 10.1
Posts: 75

Rep: Reputation: 15
Check the permission of ifort and make sure it is executable. (Haven't used fortran so can't help further)
 
Old 10-19-2005, 04:13 PM   #3
fabianrios
Member
 
Registered: Apr 2005
Location: Atlanta
Distribution: FC3
Posts: 34

Rep: Reputation: 15
Make it run is easy...

$ /installation-directory/bin/
$ source ifortvars.sh

Now everything run fine and dandy... the only problem is that one has to do it everytime because you have to setup the path variable... anybody knows how to do that?
 
Old 10-30-2005, 02:08 AM   #4
yogeshm02
Member
 
Registered: Jul 2004
Location: Chandigarh, India
Distribution: SuSe 10.1
Posts: 75

Rep: Reputation: 15
Assuming you use bash shell you can add a line to $HOME/.bashrc
 
  


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
Environment Variables - where do they go!?! iansoundz Linux - General 7 11-17-2005 02:27 AM
environment variables nasht Linux - General 3 08-11-2005 02:12 PM
environment variables naren Linux - Software 1 12-15-2004 06:44 AM
environment variables moeminhtun Linux - General 4 01-15-2003 09:50 AM
environment variables. jISV Linux - General 0 04-05-2002 06:01 AM


All times are GMT -5. The time now is 07:10 PM.

Main Menu
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