- Contrassegnare come Nuovo
- Preferito
- Iscriversi
- Disattiva notifiche
- Iscriversi a feed RSS
- Evidenziare
- Stampare
- Segnalare contenuto inappropriato
This problem arose when I updated to Visual Studio Community 2022 and Intel oneAPI 2024.0 on Windows 11 pro. I could build a simple MPI Fortran program successfully. However, when I ran the program inside Visual Studio, it failed because could not find impi.dll. I can confirm that impi.dll is in the oneAPI install path. The program ran successfully in the Intel oneAPI command (with VS2019 and oneAPI 2021 version in another workstation). I also try the solution through this link https://www.intel.com/content/www/us/en/docs/mpi-library/developer-guide-windows/2021-11/configuring-a-microsoft-visual-studio-project.html, but it does not work for my case.
Link copiato
- Contrassegnare come Nuovo
- Preferito
- Iscriversi
- Disattiva notifiche
- Iscriversi a feed RSS
- Evidenziare
- Stampare
- Segnalare contenuto inappropriato
I was lucky, and this solution worked for me (but honestly I also tried other solutions like repairing installation; uninstall and reinstall; install also HPCKit 2022...
add the following at Configuration Properties => Debugging => Environment: PATH=C:\Program Files (x86)\Intel\oneAPI\mpi\2021.11\bin;C:\Program Files (x86)\Intel\oneAPI\mpi\2021.11\opt\mpi\libfabric\bin;$(PATH)
(change it according to your local paths, eventually using the environmental variables...)
see here: community.intel.com/t5/Intel-HPC-Toolkit/VS-MPI-App-Cannot-Find-impi-dll/m-p/1284831#M8324
good luck

- Iscriversi a feed RSS
- Contrassegnare la discussione come nuova
- Contrassegnare la discussione come letta
- Sposta questo Discussione per l'utente corrente
- Preferito
- Iscriversi
- Pagina in versione di stampa