- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have an application that was built with Intel Fortran 14.0 and I'm trying to run it on client workstation where Intel Fortran is not installed. So I've installed Intel Fortran 14.0 redistributable package there but application doesn't work. After research with Dependency Walker I found that this workstation also have Intel Fortran 11.1 redistributables installed, and my application is trying to use the wrong library from old version.
Of course the simple solution is to uninstall 11.1 redistributables, but what if the user needs them for some other apps? Is it possible to make my application use correct libraries from new paths?
The library in question is LIBIFCOREMD.DLL
11.1 libs are here: C:\Program Files (x86)\Common Files\Intel\shared files\fortran\Bin\ia32
14.0 libs are here: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler
I also have 2 environment variables:
INTEL_DEV_REDIST = C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
F_IA32_REDIST11 = C:\Program Files (x86)\Common Files\Intel\Shared Files\fortran\
Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried setting the environment variables for only the version you want?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What matters is how the PATH environment variable is set. Installing the newer redistributable should put the new location on PATH ahead of others,. but it might not do that if PATH had been manually edited. So on the target machine make sure that only the newer location is in PATH. Applications built with older compilers will work with the newer libraries.
While it may not apply to your particular situation, I'll take this opportunity to say that if you are linking object code (.obj and .lib) created by mixed compiler versions, always link with the newer version.

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