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

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

merged trunk-jpl and trunk for revision 11236

  • Property svn:executable set to *
File size: 1.9 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. Type "export" at the command line, and figure out which variables have been set that relate to the intel compiler and visual studio environment. Build a file containing specific export commands and source it from your .bashrc. intel.sh is an example of such file on a Windows XP 32 build.
Note: See TracBrowser for help on using the repository browser.