Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

The executable file cannot run on system

190 views
Skip to first unread message

Farzad Tatar

unread,
Sep 18, 2023, 6:06:03 AM9/18/23
to
Dear All,
I have written a project code in Visual Studio 2022 in modern Fortran. However, I cannot run the output file using Command Prompt or even directly. I realized there was a problem with libifcoremdd.dll library. Except this library, any other library is built during the compilation. I tried to follow the instructions in this link:
community.intel.com/t5/Intel-Fortran-Compiler/Command-line-parameter-fails-with-missing-libifcoremdd-dll-error/m-p/1300124#M156904

However, I did not solve my problem.

Any idea or solution is highly welcome. Thank you in advance for your attention.

Regards,

Farzad Tatar

Farzad Tatar

unread,
Sep 18, 2023, 6:20:23 AM9/18/23
to
THE EXACT OUTPUTS:
'C:\Windows\System32\ntdll.dll'. Symbols loaded without source information.
'C:\Windows\System32\kernel32.dll'. Symbols loaded without source information.
'C:\Windows\System32\KernelBase.dll'. Symbols loaded without source information.
'C:\Program Files (x86)\Intel\oneAPI\compiler\2023.2.1\windows\redist\intel64_win\compiler\libifcoremdd.dll'. Module was built without symbols.
'C:\Windows\System32\imagehlp.dll'. Symbols loaded without source information.
'LSTO_VS.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Symbols loaded without source information.
'LSTO_VS.exe' (Win32): Loaded 'C:\Program Files (x86)\Intel\oneAPI\compiler\2023.2.1\windows\redist\intel64_win\compiler\libmmdd.dll'. Symbols loaded without source information.
'LSTO_VS.exe' (Win32): Loaded 'C:\Program Files (x86)\Intel\oneAPI\compiler\2023.2.1\windows\redist\intel64_win\compiler\libmmd.dll'. Symbols loaded without source information.

'LSTO_VS.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded without source information.
'LSTO_VS.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded without source information.
'LSTO_VS.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded without source information.


Anyway, previously, when I had not updated VS 2022 to its newly released version, there were only two problems like these.

Arjen Markus

unread,
Sep 18, 2023, 7:41:05 AM9/18/23
to
By the looks of the name of the library that could not be found, I guess you have a debug build. That would require the debug libraries to be present via the environment, but they are not installed in such a way that they can be found independently of the Intel environment. Try re-biulding your program in release mode instead.

Regards,

Arjen

Steve Lionel

unread,
Sep 18, 2023, 11:52:34 AM9/18/23
to
On 9/18/2023 7:41 AM, Arjen Markus wrote:
> By the looks of the name of the library that could not be found, I guess you have a debug build. That would require the debug libraries to be present via the environment, but they are not installed in such a way that they can be found independently of the Intel environment.

This is correct - the debug libraries are not redistributable, either
from Intel or from Microsoft. Even on a system where Intel Fortran is
installed, executables linked against the debug libraries can't run
outside of Visual Studio or an Intel Compiler command line environment.

As Arjen says, a release build will work, as long as the Intel
redistributables are present system-wide (which they will be if the
compiler is installed. An alternative is to select the non-debug
run-time libraries in the project properties.
--
Steve Lionel
ISO/IEC JTC1/SC22/WG5 (Fortran) Convenor
Retired Intel Fortran developer/support
Email: firstname at firstnamelastname dot com
Twitter: @DoctorFortran
LinkedIn: https://www.linkedin.com/in/stevelionel
Blog: https://stevelionel.com/drfortran
WG5: https://wg5-fortran.org

comp.lang.fortran

unread,
Sep 19, 2023, 10:26:14 AM9/19/23
to
Dear Arjen and Steve,
Thank you for your explanation. Following your advice, I did a little search and realized the difference.
Best regards,

Farzad Tatar
0 new messages