<?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:mpirun not recognizing all processors in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/mpirun-not-recognizing-all-processors/m-p/1414140#M9836</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We assume 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;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 12 Sep 2022 09:47:13 GMT</pubDate>
    <dc:creator>HemanthCH_Intel</dc:creator>
    <dc:date>2022-09-12T09:47:13Z</dc:date>
    <item>
      <title>mpirun not recognizing all processors</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpirun-not-recognizing-all-processors/m-p/1410704#M9788</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;
&lt;P&gt;I am trying to run a simple fortran code with MPI. I am using Windows 11, Visual Studio 2022 and I have already installed the Intel oneAPI Base Toolkit and the Intel oneAPI HPC Toolkit.&lt;/P&gt;
&lt;P&gt;The code is below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;program MPI_test_2&lt;/P&gt;
&lt;P&gt;implicit none&lt;/P&gt;
&lt;P&gt;include 'mpif.h'&lt;/P&gt;
&lt;P&gt;INTEGER :: MY_RANK, NPR, LOCAL_N, SOURCE, DEST, TAG,&lt;BR /&gt;# STATUS(MPI_STATUS_SIZE), IERR&lt;BR /&gt;CALL MPI_INIT(IERR)&lt;BR /&gt;CALL MPI_COMM_RANK(MPI_COMM_WORLD, MY_RANK, IERR)&lt;BR /&gt;CALL MPI_COMM_SIZE(MPI_COMM_WORLD, NPR, IERR)&lt;/P&gt;
&lt;P&gt;write (*,*) my_rank, NPR&lt;/P&gt;
&lt;P&gt;CALL MPI_FINALIZE(IERR)&lt;/P&gt;
&lt;P&gt;stop&lt;BR /&gt;end program MPI_test_2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The VS compiles correctly. However, when I try to run the program in the Command Prompt (mpirun -np 4 ./Test2, for example), the result is always the same, as if there was only one processor:&lt;/P&gt;
&lt;P&gt;0 1&lt;/P&gt;
&lt;P&gt;2 1&lt;/P&gt;
&lt;P&gt;3 1&lt;/P&gt;
&lt;P&gt;1 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My PC has 8 cores and 16 processors. I have already checked the number of processors in Advanced Options of System Configuration, and also with CPU ID program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely&lt;/P&gt;
&lt;P&gt;João Paulo Pascon&lt;/P&gt;
&lt;P&gt;University of São Paulo&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 15:20:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpirun-not-recognizing-all-processors/m-p/1410704#M9788</guid>
      <dc:creator>Joao_Pascon</dc:creator>
      <dc:date>2022-08-25T15:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: mpirun not recognizing all processors</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpirun-not-recognizing-all-processors/m-p/1410963#M9792</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;We can successfully run the sample fortran program(mentioned in the above post) on the windows command prompt and Visual Studio using Intel MPI 2021.6 as shown below screenshots.&lt;/P&gt;
&lt;P&gt;Using Command prompt:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HemanthCH_Intel_0-1661520065727.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/32886i148944CB7D6E86AE/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="HemanthCH_Intel_0-1661520065727.png" alt="HemanthCH_Intel_0-1661520065727.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Using Visual studio:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HemanthCH_Intel_2-1661520235035.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/32888iD1909199B58BD9CF/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="HemanthCH_Intel_2-1661520235035.png" alt="HemanthCH_Intel_2-1661520235035.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try the below steps in the command prompt:&lt;/P&gt;
&lt;P&gt;1) open Intel oneAPI command prompt.&lt;/P&gt;
&lt;P&gt;2) compile the code using the below command:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mpiifort filename.f90&lt;/LI-CODE&gt;
&lt;P&gt;3) Run the binary using the below command:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mpiexec -n &amp;lt;no of processess&amp;gt; filename.exe&lt;/LI-CODE&gt;
&lt;P&gt;If your error still exists, Could you please provide the below information to investigate more on your issue:&lt;/P&gt;
&lt;P&gt;1) Intel one API command prompt output when you run the sample code.&lt;/P&gt;
&lt;P&gt;2) Expected output(VS output).&lt;/P&gt;
&lt;P&gt;2) MPI Version.&lt;/P&gt;
&lt;P&gt;3) Complete debug log in the command prompt using the below command.&lt;/P&gt;
&lt;P&gt;I_MPI_DEBUG=10 mpiexec -n &amp;lt;no of processess&amp;gt; filename.exe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Hemanth&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 13:24:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpirun-not-recognizing-all-processors/m-p/1410963#M9792</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-08-26T13:24:32Z</dc:date>
    </item>
    <item>
      <title>Re:mpirun not recognizing all processors</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpirun-not-recognizing-all-processors/m-p/1412427#M9810</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We haven't heard back from you. Could you please provide an update on your issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Sep 2022 13:17:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpirun-not-recognizing-all-processors/m-p/1412427#M9810</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-09-02T13:17:07Z</dc:date>
    </item>
    <item>
      <title>Re:mpirun not recognizing all processors</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpirun-not-recognizing-all-processors/m-p/1414140#M9836</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We assume 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;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Sep 2022 09:47:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpirun-not-recognizing-all-processors/m-p/1414140#M9836</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-09-12T09:47:13Z</dc:date>
    </item>
  </channel>
</rss>

