- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need both Intel compilers for a package which apparently has problems with gcc compilers.
I already have Fortran compiler 11.1 but if I go pack to Intel download page, and choose version 11.1 of C++ compiler, I will get a different build. Is there any problem if the build does not match?
Also I have been told that you have to install the C++ compiler before the Fortran compiler. Is this so?
Finally, there is a script called something like ifortvars_ia32.sh to setup enviroment variables. The C++ compiler also has a similar script which seems to setup the same variables, so then do I only need to source one of these not both?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As long as you are not using the -ipo option and mixed Fortran/C, you don't need to have the same exact versions.
There is no required order of installation.
You need to source both scripts. In more current versions, there's just one common script, compilervars.sh, that will enable both compilers if both are installed. Please do not use the _ia32 script - just use ifortvars.sh and pass "ia32" (or "intel64") as the first argument.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page