- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does intel have a tool that checks if a Fortran redistributable package is installed on a system? It would be useful to do that within my installer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wrote a Windows version for you. See attached. Build and run it (you will want to use static library linking). Optionally it can take a command line argument of the minimum file version you want (20, etc.)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
set PATH command on Windows should show compiler redist directories. No separate tool that checks for Runtimes (former redist) that I am aware of.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Devorah , that clears up that avenue of endeavour!
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\intel64\libfabric\bin\;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\intel64\libfabric\bin\utils;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\intel64\bin;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\ia32;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\intel64;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\;
C:\Program Files (x86)\Intel\oneAPI\mpi\latest\bin\;
C:\Program Files (x86)\Intel\oneAPI\mpi\latest\bin\release\;
C:\Program Files (x86)\Intel\oneAPI\mpi\latest\libfabric\bin\;
C:\Program Files (x86)\Intel\oneAPI\mpi\latest\libfabric\bin\utils\;
C:\Program Files (x86)\Intel\oneAPI\tbb\latest\redist\intel64\vc_mt\;
C:\Program Files (x86)\Intel\oneAPI\tbb\latest\redist\ia32\vc_mt\;
C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\redist\intel64_win\compiler;
C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\redist\ia32_win\compiler;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler;
Soooo many entries in my path and such long names, 60%+ of the path size is Intel! Anyway having looked at this I think I will look at some of the other ways to solve my problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Neat Thanks. I built and ran that OK under debug.
The really useful trick is "The name of the file. If a full path is not specified, the function uses the search sequence specified by the LoadLibrary function." which is exactly what is needed!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It occurs to me that I could replace the calls to ExitProcess with ERROR STOP 1,QUIET=.TRUE. (change 1 to the appropriate value). The last ExitProcess with 0 status is strictly not necessary, since that should be the standard exit status.
And, yes, that behavior of GetFileVersionInfo is quite handy here!

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