| View previous topic :: View next topic |
| Author |
Message |
choppy
Joined: Mon Jul 31, 2006 9:22 pm Posts: 4
|
Posted: Mon Jul 31, 2006 9:25 pm Post subject: Intel compiler install, I'm lost |
|
|
I've gone through the motions and I thought I had it installed fully, but I've been fooling around with the compiler enviornment setup and the more I work with it the more lost I get. Has anyone got this up and running that would be so kind as to nudge me in the right direction.
I have installed the download, and I need to setup the enviornment
thanks much! |
|
| Back to top |
|
 |
choppy
Joined: Mon Jul 31, 2006 9:22 pm Posts: 4
|
Posted: Mon Jul 31, 2006 9:44 pm Post subject: RE: Intel compiler install, I |
|
|
here are the instructions. I dont know what they're talking about
Setting Up the Compiler Environment
The programs in the Intel C++ Compiler 9.0 for Linux product rely on the
environment variables |PATH| and |LD_LIBRARY_PATH|. The installation
script |(install.sh)| creates compiler environment script files
|(iccvars.sh/idbvars.sh)| that set these variables. It is strongly
recommended that you add those script files into your login script
(|.login| file). Once the variables are set in the |".login"| file there
is no need to run the script files for each session.
|source| the script to setup the compiler environment:
* |> source <install-dir>/bin/iccvars.sh(.csh) |
to use icc
* |> source <install-dir>/bin/idbvars.sh(.csh) |
to use idb |
|
| Back to top |
|
 |
Nigel LXF regular

Joined: Fri Apr 08, 2005 9:03 pm Posts: 1141 Location: Gloucestershire, UK
|
Posted: Tue Aug 01, 2006 12:38 pm Post subject: RE: Intel compiler install, I |
|
|
It looks like they want you to edit your .login file (in your home directory) and add the following lines
| Code: | source <install-dir>/bin/iccvars.sh
source <install-dir>/bin/idbvars.sh |
replacing <install-dir> with the location you installed the intel compilers to (probably /usr/local).
If by any chance you use csh instead of bash as your default shell, just change the .sh at the end of each line to .csh
logout & login again and you should be set to go... _________________ Hope this helps,
Nigel. |
|
| Back to top |
|
 |
choppy
Joined: Mon Jul 31, 2006 9:22 pm Posts: 4
|
Posted: Tue Aug 01, 2006 11:57 pm Post subject: |
|
|
| .login...I'm not finding this file anywhere, I'll keep looking |
|
| Back to top |
|
 |
Nigel LXF regular

Joined: Fri Apr 08, 2005 9:03 pm Posts: 1141 Location: Gloucestershire, UK
|
Posted: Wed Aug 02, 2006 10:22 am Post subject: |
|
|
You may not have one by default. Just create one in your home directory. _________________ Hope this helps,
Nigel. |
|
| Back to top |
|
 |
choppy
Joined: Mon Jul 31, 2006 9:22 pm Posts: 4
|
Posted: Thu Aug 03, 2006 4:59 pm Post subject: |
|
|
Alright, I tried this for quite a bit yesterday with no success.
I'm assuming 'source' is what tells it to sort of link the the files between it's location and the directory.
In the console, I'm changing to the .login dir and using the command lines but nothing seems to be happening. Let me give it another go |
|
| Back to top |
|
 |
Nigel LXF regular

Joined: Fri Apr 08, 2005 9:03 pm Posts: 1141 Location: Gloucestershire, UK
|
Posted: Thu Aug 03, 2006 5:06 pm Post subject: |
|
|
'source' is a bash command. It means "read and execute all the commands in the following file". Bit like an include file in c/c++.
You can type the source commands at the command prompt as well, they will then be active for your current session in that terminal window only.
The commands in the files you source will set up various environment variables that the compilers need.
BTW - .login isn't a directory, it's a file. You can create it with any text editor (Kate, vi, emacs - whichever you prefer). _________________ Hope this helps,
Nigel. |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|