Installing both Fortran and C++ compilers - need advice

Installing both Fortran and C++ compilers - need advice

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?

2 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

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.

Steve - Intel Developer Support

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui