<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MPI Intel Fortran and Visual Sudio 2022 configuration in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Intel-Fortran-and-Visual-Sudio-2022-configuration/m-p/1606338#M11749</link>
    <description>&lt;P&gt;Problem solved. Thank you very much !&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2024 05:11:42 GMT</pubDate>
    <dc:creator>fernando1</dc:creator>
    <dc:date>2024-06-13T05:11:42Z</dc:date>
    <item>
      <title>MPI Intel Fortran and Visual Sudio 2022 configuration</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Intel-Fortran-and-Visual-Sudio-2022-configuration/m-p/1605446#M11746</link>
      <description>&lt;P&gt;I'm using visual studio community 2022 and intel oneapi base and HPC toolkits, latest versions. I followed the intel instructions to configure MPI Fortran, as shown abobe:&lt;/P&gt;&lt;H2&gt;Configuring a Microsoft Visual Studio* Project&lt;/H2&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;To configure a Microsoft Visual Studio* project with Intel® MPI Library, do the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;In Microsoft Visual Studio*, create a console application project or open an existing one.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Open the project properties, go to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Configuration Properties &amp;gt; Debugging&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and set the following parameters:&lt;/P&gt;&lt;P&gt;Command:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;$(I_MPI_ONEAPI_ROOT)\bin\mpiexec.exe&lt;/P&gt;&lt;P&gt;Command arguments:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;-n &amp;lt;processes-number&amp;gt; "$(TargetPath)"&lt;/P&gt;&lt;P&gt;Environment:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PATH=$(I_MPI_ONEAPI_ROOT)\bin\$(ConfigurationName);$(I_MPI_ONEAPI_ROOT)\libfabric\bin;$(PATH)&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;NOTE:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;If you have installed the Microsoft Visual Studio* integration, go to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Project &amp;gt; Properties &amp;gt; Intel Libraries for oneAPI &amp;gt; Use Intel MPI Library&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and set it to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;. You can skip the steps below.&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Configuration Properties &amp;gt; C/C++&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Fortran&lt;/STRONG&gt;, as appropriate, set the following parameter:&lt;/P&gt;&lt;P&gt;Additional Include Directories:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;$(I_MPI_ONEAPI_ROOT)\include&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Configuration Properties &amp;gt; Linker&lt;/STRONG&gt;, set the following parameter:&lt;/P&gt;&lt;P&gt;Additional Library Directories:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;$(I_MPI_ONEAPI_ROOT)\lib\$(ConfigurationName);$(I_MPI_ONEAPI_ROOT)\lib&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Configuration Properties &amp;gt; Linker &amp;gt; Input&lt;/STRONG&gt;, set the following parameters:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For Fortran, set Additional Dependencies:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;impi.lib&lt;/LI&gt;&lt;LI&gt;For C++, set Additional Dependencies:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;impi.lib&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;impicxx.lib&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, I get the the error message:&lt;/P&gt;&lt;P&gt;error #5102 Cannot open include file 'mpif.h'&lt;/P&gt;&lt;P&gt;Second, I don't see an option :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Project &amp;gt; Properties &amp;gt; Intel Libraries for oneAPI &amp;gt; Use Intel MPI Library&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and set it to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This error is really annoyind and I've been looking for a solution for a long time. I would really appreciate if anyone can help me with this issue.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks in advance,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fernando Ribeiro&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 10 Jun 2024 20:01:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Intel-Fortran-and-Visual-Sudio-2022-configuration/m-p/1605446#M11746</guid>
      <dc:creator>fernando1</dc:creator>
      <dc:date>2024-06-10T20:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: MPI Intel Fortran and Visual Sudio 2022 configuration</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Intel-Fortran-and-Visual-Sudio-2022-configuration/m-p/1606075#M11747</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/162464"&gt;@fernando1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It seems you got outdated instructions. Please use the following:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/mpi-library/developer-guide-windows/2021-12/configuring-a-microsoft-visual-studio-project.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/docs/mpi-library/developer-guide-windows/2021-12/configuring-a-microsoft-visual-studio-project.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 09:36:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Intel-Fortran-and-Visual-Sudio-2022-configuration/m-p/1606075#M11747</guid>
      <dc:creator>TobiasK</dc:creator>
      <dc:date>2024-06-12T09:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: MPI Intel Fortran and Visual Sudio 2022 configuration</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Intel-Fortran-and-Visual-Sudio-2022-configuration/m-p/1606338#M11749</link>
      <description>&lt;P&gt;Problem solved. Thank you very much !&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 05:11:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Intel-Fortran-and-Visual-Sudio-2022-configuration/m-p/1606338#M11749</guid>
      <dc:creator>fernando1</dc:creator>
      <dc:date>2024-06-13T05:11:42Z</dc:date>
    </item>
  </channel>
</rss>

