source: issm/trunk/externalpackages/intel/readme@ 1422

Last change on this file since 1422 was 1422, checked in by Eric.Larour, 16 years ago

Instructions for running intel compiler

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1How to install intel compiler to work on cygwin at the command line:
2
3This is what I got from the following post on google:
4
5-----------------------------------------------------
6All necessary paths and environment variables are set if you put the Microsoft linker path in ICL.CFG, and open the Intel
7compiler command line window on the Start menu. Then you can run cygwin.bat so that bash inherits the ICL paths,
8without breaking ICL. You will sometimes get the bash warning about finding Windows style paths in the environment,
9but those are necessary for ICL and Microsoft link. Needless to say, the Windows environment variable forgetfulness
10 point will be reached sooner with this setup.
11
12After I run cygwin.bat, and try to run icl, it says:
13
14link: invalid option -- o
15Try `ling --help' for more information.
16
17I verified that icl compiles without any problems before I run cygwin.bat
18
19What am I missing?
20
21
22
23This would indicate that you ignored my advice about icl.cfg, and so you are getting the wrong link.exe. It should have said "link" not "ling."
24For a VC9 installation, /windows/C/Program Files/Intel/Compiler/11.1/026/bin/ia32/icl.cfg:
25-Qlocation,link,"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin"
26-Qprec-div -Qprec-sqrt -Qansi_alias
27----------------------------------------------------------
28
29
30
31
32
33So here is what you do:
34edit /cygdrive/c/IntelInstall/Compiler/11.1/026/bin/ia32/icl.cfg
35
36add:
37-Qlocation,link,"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin"
38-Qprec-div -Qprec-sqrt -Qansi_alias
39
40
41Then run the intel compiler command window. Go to C:\Cygwin and run Cygwin.bat.
42you are now running cygwin with the correct paths.
43
44
45To do:
46figure out which environment varialbes have been set by intel, and replicate in a .bashrc.
47
Note: See TracBrowser for help on using the repository browser.