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

Issues with running a coarray program

Jon_D
New Contributor II
739 Views

Hello,

I have a coarray Fortran program that I am having issues with running. I am on Windows OS, using VS 2022 and IVF 2025.3.2. The symptoms are:

1. On the development computer, when I run the program from within VS, the program runs fine. 

2. When I try to run the .exe by double-clicking on it in Windows Explorer, I get an error saying "The code execution cannot proceed because libicaf.dll was not found. My system Path env. variable looks like this:

Jon_D_0-1770838905976.png

3. On a separate,non-development computer, I installed the redistributables by running w_ifx_runtime_p_2025.3.2.835.exe. On this computer, the program does not run and does not provide an error (i.e. missing dll) like my development computer does. Path env. variable on this computer looks like this:

Jon_D_1-1770839146877.png

 

 I would really appreciate any help resolving this issue.

Thanks,

John

0 Kudos
1 Solution
Jon_D
New Contributor II
694 Views

I figured out how to resolve the issues. I will post it here for future reference.

1. No issues with this one.

2. I uninstalled all the Fortran compilers (I had three installed) and reinstalled the latest one (2025.3.2). For some reason, my system path was not updated with the compiler related folders so I updated it manually to point to the following folders:

  C:\Program Files (x86)\Intel\oneAPI\compiler\2025.3\bin

  C:\Program Files (x86)\Intel\oneAPI\mpi\latest\bin

  C:\Program Files (x86)\Intel\oneAPI\mpi\latest\opt\mpi\libfabric\bin

3. This one was tricky because the exe was immediately bailing out with no errors or warnings. It turned out that "libfabric.dll", which seems to be a part of the mpi package, is needed by the exe but it is not included with the Fortran compiler runtime installation. Copying this file into a folder that is included in the Path environment variable solved the issue.

 

John

View solution in original post

0 Kudos
4 Replies
Jon_D
New Contributor II
695 Views

I figured out how to resolve the issues. I will post it here for future reference.

1. No issues with this one.

2. I uninstalled all the Fortran compilers (I had three installed) and reinstalled the latest one (2025.3.2). For some reason, my system path was not updated with the compiler related folders so I updated it manually to point to the following folders:

  C:\Program Files (x86)\Intel\oneAPI\compiler\2025.3\bin

  C:\Program Files (x86)\Intel\oneAPI\mpi\latest\bin

  C:\Program Files (x86)\Intel\oneAPI\mpi\latest\opt\mpi\libfabric\bin

3. This one was tricky because the exe was immediately bailing out with no errors or warnings. It turned out that "libfabric.dll", which seems to be a part of the mpi package, is needed by the exe but it is not included with the Fortran compiler runtime installation. Copying this file into a folder that is included in the Path environment variable solved the issue.

 

John

0 Kudos
witwald
New Contributor II
606 Views

@Jon_D You mentioned that your "system path was not updated with the compiler related folders". I'm in the same the situation. I've taken note of your solution. Cheers.

0 Kudos
Arjen_Markus
Honored Contributor II
677 Views

Ad 3: that is an annoying feature of Windows in my humble opinion. It greatly depends on the way you start a program that cannot load a particular DLL whether you get a message box or a blank window. The solution I use to identify what DLL is missing is Dependency Walker - https://github.com/lucasg/Dependencies. It may not be perfect, but it is a great tool and has saved me any number of times in this sort of situations.

mfinnis
New Contributor III
625 Views

If anyone from Intel sees this:

    Is there any chance of getting the libfabric.dll included in the runtime installer?

0 Kudos
Reply