Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Command line prompt path settings

IanH
Honored Contributor III
498 Views

I've been having path problems lately (bar total path length this is not related to ifort) - so I went a-digging.

The redistributable installer adds the following paths to the head of the system path:

[plain]%INTEL_DEV_REDIST%redist\intel64\mpirt
%INTEL_DEV_REDIST%redist\intel64\compiler
%INTEL_DEV_REDIST%redist\ia32\mpirt
%INTEL_DEV_REDIST%redist\ia32\compiler[/plain]

Beyond the resulting excessive comsumption of precious system path length - all good.

When you start a command prompt for a particular ifort version and flavour, it adds the equivalent of the following to the head of the path

[plain]%IFORT_COMPILER14%redist\intel64\compiler[/plain]

This means that the redistributables for the targeted version are picked up in preference to the system installed version - all good.

The command prompt script also adds the following to the tail of the path:

[plain]%IFORT_COMPILER14%redist\intel64\mpirt[/plain]

This is shadowed by the system installed version.  If I follow what is going on correctly, bar differently named exe or dll additions to the targeted version directory, it would appear to be mostly decorative - hence if you are targeting a particular ifort version different to the installed version of the redistributables, your development testing will use a mix of ifort version bits. Is there a reason for this?

0 Kudos
1 Reply
Steven_L_Intel1
Employee
498 Views

We've had issues with our MPI DLLs conflicting with a user's other MPI DLLs so we chose to put the mpirt folder at the end of PATH - we do this on Linux too, though on Linux there isn't any system-wide PATH we add to. I'll bring this up to the development team and maybe they'll decide to change it.

0 Kudos
Reply