<?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 code not running in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Mpi-code-not-running/m-p/1527786#M10966</link>
    <description>&lt;P&gt;Your explanation was important for me to progress. Thank and have a long life&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2023 16:07:57 GMT</pubDate>
    <dc:creator>Lamine06F</dc:creator>
    <dc:date>2023-09-26T16:07:57Z</dc:date>
    <item>
      <title>Mpi code not running</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Mpi-code-not-running/m-p/1526812#M10952</link>
      <description>&lt;P&gt;I have a simple code and here isit :&lt;/P&gt;&lt;DIV&gt;program MPI_program&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; use MPI&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; implicit none&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; ! Data declarations for MPI&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INTEGER :: ierr&amp;nbsp; &amp;nbsp;! error signal variable. Standard value = 0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INTEGER :: rank&amp;nbsp; &amp;nbsp;! process ID / Number&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INTEGER :: nprocs ! number of processors&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; ! Initialize MPI&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;! Initialize subroutine&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALL MPI_INIT(ierr)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;! Setup Communicator sizé&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALL MPI_COMM_SIZE(MPI_COMM_WORLD, nprocs, ierr)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;! Setup ranks/IDs for each process&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALL MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierr)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;! Type the main code&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;print *, 'Hello World ! I am process', rank, ' of ', nprocs, 'Process(es)'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;! Finalize MPI&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;! Finalize subroutine&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALL MPI_FINALIZE(ierr)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; end program MPI_program&lt;/DIV&gt;&lt;DIV&gt;and Ihave followed all the instruction given here&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/docs/mpi-library/developer-guide-windows/2021-9/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-9/configuring-a-microsoft-visual-studio-project.html&lt;/A&gt;&amp;nbsp;to config it. At the end, when I hit ctrl+F5 to build it, I have this error :&lt;BR /&gt;Erreur fatal error LNK1181: impossible d'ouvrir le fichier en entr‚e 'impi.lib' LINK.&lt;/DIV&gt;&lt;DIV&gt;Please any clue&amp;nbsp; about what is wrong&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&lt;LI-MESSAGE title="@jimdempseyatthecove" uid="1185784" url="https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-parallel-DO-hangs-2nd-time-thru/m-p/1185784#U1185784" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/52256"&gt;@Ron_Green&lt;/a&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Sep 2023 19:42:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Mpi-code-not-running/m-p/1526812#M10952</guid>
      <dc:creator>Lamine06F</dc:creator>
      <dc:date>2023-09-22T19:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mpi code not running</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Mpi-code-not-running/m-p/1527609#M10964</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting in Intel communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attempted to recreate the problem using the code you provided, and I am pleased to inform you that it compiles without any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To assist you further, I have attached the following&amp;nbsp;for your reference:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Screenshots of the Configuration Settings&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Project Files&lt;/LI&gt;
&lt;LI&gt;Compilation Screenshot&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is&amp;nbsp;worth noting that during my investigation, I discovered that the issue can indeed be recreated if the following setting is not correctly configured or left empty:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Properties -&amp;gt; Linker -&amp;gt; General -&amp;gt; Additional Library Directories&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please configure it with the path "$(I_MPI_ONEAPI_ROOT)\lib\$(ConfigurationName);$(I_MPI_ONEAPI_ROOT)\lib".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have&amp;nbsp;included a screenshot highlighting the problem when this setting is not correctly configured.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the issue persists on your end despite using the provided configuration settings, please provide the following details:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Your Project Files&lt;/LI&gt;
&lt;LI&gt;Screenshots of Configuration Settings&lt;/LI&gt;
&lt;LI&gt;Output of "lscpu" Command&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Operating System Version and Details&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;One API Toolkit Version&lt;/LI&gt;
&lt;LI&gt;Visual Studio Version&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the above mentioned&amp;nbsp;details, we can perform a detailed analysis of the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Veena&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 05:22:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Mpi-code-not-running/m-p/1527609#M10964</guid>
      <dc:creator>VeenaJ_Intel</dc:creator>
      <dc:date>2023-09-26T05:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mpi code not running</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Mpi-code-not-running/m-p/1527786#M10966</link>
      <description>&lt;P&gt;Your explanation was important for me to progress. Thank and have a long life&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 16:07:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Mpi-code-not-running/m-p/1527786#M10966</guid>
      <dc:creator>Lamine06F</dc:creator>
      <dc:date>2023-09-26T16:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Mpi code not running</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Mpi-code-not-running/m-p/1527977#M10968</link>
      <description>&lt;P&gt;&lt;FONT size="4"&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;&lt;SPAN&gt;Thanks and glad to know that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;&lt;SPAN&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4"&gt;&lt;SPAN&gt;Veena&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 10:06:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Mpi-code-not-running/m-p/1527977#M10968</guid>
      <dc:creator>VeenaJ_Intel</dc:creator>
      <dc:date>2023-09-27T10:06:45Z</dc:date>
    </item>
  </channel>
</rss>

