source: issm/branches/trunk-jpl-damage/externalpackages/windows/README@ 11577

Last change on this file since 11577 was 11577, checked in by cborstad, 13 years ago

merged changes up to r11576 from trunk-jpl into branch

  • Property svn:executable set to *
File size: 2.3 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.
43
44
45
46Compiling ISSM using Matlab compatible compilers.
47
48At: http://www.mathworks.com/support/compilers/R2011b/win64.html#n2
49you will find a list of Matlab supported compilers.
50
51
52We'll try the compile with the Microsoft Windows SDK 7.1: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=8279
Note: See TracBrowser for help on using the repository browser.