Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

system PATH variable too long

A__Valle
Beginner
1,010 Views

Hello,


I have installed multiple (5) versions of the C++ compiler and the Fortran compiler, mainly update versions. After installing the last version, I noticed that Intel is claiming the complete path and other path variables don't fit anymore.

Is there another way to resolve this than uninstalling older versions of the compilers?

IMO the way intel is using the path variable can be improved, maybe dynamically adjusting the path.

regards,

Dirk

0 Kudos
1 Solution
Steven_L_Intel1
Employee
1,010 Views

Your problem is apparently with the IPP and TBB and MKL components of Intel C++, as well as an independent installation of IPP. The only Fortran I see in there is from 10.1.021 and, if you edit PATH, you will probably find that it is using %IFORT_COMPILER10%. I don't see evidence that you have Intel Fortran 11 installed here.

The Fortran installer does automatically remove/replace its own PATH additions.

The entries in PATH are to DLLs that allow you to run applications. It has no bearing on building applications, since you must invoke ifortvars.bat or iclvars.bat (or use Visual Studio) to do that. You should have only the latest version of any particular set of libraries in PATH.

View solution in original post

0 Kudos
3 Replies
Steven_L_Intel1
Employee
1,010 Views
Which version are you using? Recent versions use %IFORT_COMPILER11%, etc., for the path, and only one entry for the compiler should be there. I suggest that you edit the path to leave only one of these entries - one that uses %IFORT_COMPILER11% (assuming you are running 11.0 or 11.1.) For the compiler, the only folder in PATH should be the LIB folder.
0 Kudos
A__Valle
Beginner
1,010 Views

Steve,

I do use the latest version (11.1.060).

When I edit the path, that doesn't remove the possibility to run older versions? Might it be useful to put the path edit, as you suggested, in the installer?

btw. My PATH looks like:

PATH=C:\Program Files\Intel\Compiler\11.1\060\tbb\ia32\vc9\bin;C:\Program Files\
Intel\Compiler\11.1\060\ipp\ia32\bin;C:\Program Files\Intel\Compiler\11.1\060\mk
l\ia32\bin;C:\tools\Watcom\binnt;C:\tools\Watcom\binw;C:\Program Files\Intel\Com
piler\11.1\054\tbb\ia32\vc9\bin;C:\Program Files\Intel\Compiler\11.1\054\ipp\ia3
2\bin;C:\Program Files\Intel\Compiler\11.1\054\mkl\ia32\bin;C:\Program Files\Int
el\Compiler\11.1\051\tbb\ia32\vc9\bin;C:\Program Files\Intel\Compiler\11.1\051\i
pp\ia32\bin;C:\Program Files\Intel\Compiler\11.1\051\mkl\ia32\bin;C:\Program Fil
es\Intel\TBB\2.1\ia32\vc9\bin;C:\Program Files\Intel\Compiler\11.1\026\tbb\ia32\
vc9\bin;C:\Program Files\Intel\Compiler\11.1\026\tbb\ia32\vc8\bin;C:\Program Fil
es\Intel\Compiler\11.1\026\ipp\ia32\bin;C:\Program Files\Intel\Compiler\11.1\026
\mkl\ia32\bin;C:\Program Files\CodeGear\RAD Studio\6.0\bin;C:\Documents and Sett
ings\All Users\Documents\RAD Studio\6.0\Bpl;C:\Program Files\Intel\IPP\5.3.2.073
\ia32\bin;C:\Program Files\Intel\MKL\10.0.2.019\ia32\bin;C:\Program Files\Intel\
TBB\2.0\ia32\vc9\bin;C:\Perl\site\bin;C:\Perl\bin;C:\oracle\ora92\bin;C:\WINDOWS
\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Oracle\jre\1.1.8\
bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Intel\
Compiler\Fortran\10.1.021\IA32\Lib;

Thanks for the reply. I already resolved the problem as soon as I found it by uninstalling one of the previous versions. This post was just to put attention to the problem with Intel and any other forum user.


regards,

Dirk

0 Kudos
Steven_L_Intel1
Employee
1,011 Views

Your problem is apparently with the IPP and TBB and MKL components of Intel C++, as well as an independent installation of IPP. The only Fortran I see in there is from 10.1.021 and, if you edit PATH, you will probably find that it is using %IFORT_COMPILER10%. I don't see evidence that you have Intel Fortran 11 installed here.

The Fortran installer does automatically remove/replace its own PATH additions.

The entries in PATH are to DLLs that allow you to run applications. It has no bearing on building applications, since you must invoke ifortvars.bat or iclvars.bat (or use Visual Studio) to do that. You should have only the latest version of any particular set of libraries in PATH.

0 Kudos
Reply