- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After updating to the new compiler version, coarray fortran does not work at all. Building in visual studio does not return errors, but the program instantly closes. It does not matter what the program is. Output from debug is:
'Coarray.exe' (Win32): Loaded 'C:\Water simulation\Coarray\x64\Debug\Coarray.exe'. Symbols loaded.
'Coarray.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'.
'Coarray.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'.
'Coarray.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'.
'Coarray.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'.
'Coarray.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'.
'Coarray.exe' (Win32): Loaded 'C:\Program Files (x86)\Intel\oneAPI\compiler\2024.0\bin\libifcoremdd.dll'. Module was built without symbols.
'Coarray.exe' (Win32): Loaded 'C:\Program Files (x86)\Intel\oneAPI\compiler\2024.0\bin\libicaf.dll'.
'Coarray.exe' (Win32): Loaded 'C:\Windows\System32\imagehlp.dll'.
'Coarray.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'.
'Coarray.exe' (Win32): Loaded 'C:\Program Files (x86)\Intel\oneAPI\compiler\2024.0\bin\libmmd.dll'. Symbols loaded without source information.
'Coarray.exe' (Win32): Loaded 'C:\Program Files (x86)\Intel\oneAPI\mpi\2021.11\bin\impi.dll'. Symbols loaded without source information.
'Coarray.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'.
'Coarray.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'.
'Coarray.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'.
'Coarray.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'.
'Coarray.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'.
The thread 0x4360 has exited with code 1090191 (0x10a28f).
The thread 0x29e8 has exited with code 1090191 (0x10a28f).
The thread 0x1f48 has exited with code 1090191 (0x10a28f).
The program '[9812] Coarray.exe' has exited with code 1090191 (0x10a28f).
Am i missing something? I already tried reinstalling everything.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you building with ifx or ifort? With this release ifx is the default compiler with VS.
I just compiled and ran a hello_coarray.f90 program in a Windows command window successfully using ifx 2024.0.0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same thing happens with both compilers. If i try to run the executable file directly from i get 2 errors: missing libicaf.dll and libifcoremdd.dll.
But i compiled from intel oneAPI command prompt and there it works. I assume something is wrong with my installation and will recheck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you zip up your solution and post it here? I'm happy to see what happens in my environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sure. It's just the example project with an added 'read*' line. Same thing happens with every coarray project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It sounds to me as if PATH did not get properly updated to include the redistributable libraries. First thing to do is reboot - I have seen cases where PATH updates from new installs don't take effect immediately. The next thing is to do a "repair" on the compiler install (or oneAPI toolkit if that's what you used.)
- 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
@Chem, your solution worked for me. I got a bunch of "Hello World" and then it failed because more than one image was trying to do that "read*".
As @Steve_Lionel wrote it looks like the PATH or something else in your environment isn't right. What software did you install? I installed the HPC Toolkit 2024.0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I installed Base and HPC toolkit 2024.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
Can you please provide the copy of the About page? Inside VS, click Help >About MS VS and click Copy Info and paste it in the post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here you go:
Microsoft Visual Studio Community 2022
Version 17.8.1
VisualStudio.17.Release/17.8.1+34316.72
Microsoft .NET Framework
Version 4.8.09037
Installed Version: Community
Visual C++ 2022 00482-90000-00000-AA509
Microsoft Visual C++ 2022
ASP.NET and Web Tools 17.8.352.38654
ASP.NET and Web Tools
Azure App Service Tools v3.0.0 17.8.352.38654
Azure App Service Tools v3.0.0
C# Tools 4.8.0-7.23558.1+e091728607ca0fc9efca55ccfb3e59259c6b5a0a
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookiecutter 17.0.23262.1
Provides tools for finding, instantiating and customizing templates in cookiecutter format.
Intel® C++ Compiler 2024.0
Intel® C++ Compiler 2024.0, Copyright © 2002-2023 Intel Corporation. All rights reserved.
Intel® DPC++ Compatibility Tool 2024.0
Intel® DPC++ Compatibility Tool 2024.0, Copyright © 2019-2023 Intel Corporation. All rights reserved.
Intel® Fortran Compiler 2024.0
Intel® Fortran Compiler 2024.0, Copyright © 2002-2023 Intel Corporation. All rights reserved.
Intel® Inspector 2024 1.3.21
Intel® Inspector 2024, (Plugin Version 1.3.21), Copyright © 2009-2023 Intel Corporation. All rights reserved.
Intel® Libraries for oneAPI 2024.0
Intel® Libraries for oneAPI 2024.0, Copyright © 2019-2023 Intel Corporation. All rights reserved.
Intel® oneAPI DPC++ Compiler 2024.0
Intel® oneAPI DPC++ Compiler 2024.0, Copyright © 2019-2023 Intel Corporation. All rights reserved.
Intel® oneAPI Menu & Samples 10.10.392.9731
Intel® oneAPI Visual Studio Menu & Samples Extension
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
NuGet Package Manager 6.8.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
Python - Django support 17.0.23262.1
Provides templates and integration for the Django web framework.
Python - Profiling support 17.0.23262.1
Profiling support for Python projects.
Python with Pylance 17.0.23262.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Test Adapter for Boost.Test 1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.
TypeScript Tools 17.0.20920.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 4.8.0-7.23558.1+e091728607ca0fc9efca55ccfb3e59259c6b5a0a
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 17.8.0-beta.23475.2+10f956e631a1efc0f7f5e49c626c494cd32b1f50
Microsoft Visual F# Tools
Visual Studio IntelliCode 2.2
AI-assisted development for Visual Studio.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the information. That looks like what I have installed.
Since I can't reproduce your issue, I don't have a solution for you. Perhaps deinstall the 2024.0 Base and HPC Toolkits and VS 2022 and reinstall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please do this. Open a regular command prompt (type CMD in the Windows search box) and open Command Prompt.) Change default (CD command) to a folder you can write to, then type:
SET PATH > path.txt
attach path.txt to a reply here.
- 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
Thanks. You're missing the following folders in the definition:
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_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\mpirt
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler
If a reboot doesn't make these appear, uninstall Intel Fortran and reinstall it. It works from the Fortran command prompt because the required folders are added to PATH by the setupvars script. They should be in the system PATH as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There's more. I gave instructions for how to fix this in Re: I'm struggling with the coarray implementation in Intel Fortran Compiler (IFX) 2024 and Visual S - Intel Community
The compiler installer is not properly updating PATH to include the two MPI folders needed for coarray programs. (It may also not be updating for the Fortran language DLLs either.)

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