<?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 Bug with WRITE(*,*) and MPI process in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-WRITE-and-MPI-process/m-p/1065491#M4562</link>
    <description>&lt;P&gt;The simple code below fails when run (with mpiexec.exe) on a 64-bit Win. 7 workstation (with dual 6-core processors). The culprit is the WRITE(*,*) command (when a large number of such commands are issued, as in the example below). Writing to a file works well.&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;PROGRAM MAIN
USE MPI
IMPLICIT NONE
INTEGER :: RANK,ERROR,I
COMPLEX(KIND=8) :: A(8000)
CALL MPI_INIT(ERROR)
CALL MPI_COMM_RANK(MPI_COMM_WORLD,RANK,ERROR)
IF (RANK==0) THEN
    DO I=1,8000
        WRITE(*,*) I,A(I)
    END DO
END IF
CALL MPI_FINALIZE(ERROR)
END PROGRAM MAIN&lt;/PRE&gt;

&lt;P&gt;The errors look like this:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;[mpiexec@xxx] ..\hydra\ui\utils\uiu.c (406): assert (!closed) failed
[mpiexec@xxx] ..\hydra\pm\pmiserv\pmiserv_cb.c (973): error in the UI defined callback
[mpiexec@xxx] ..\hydra\tools\demux\demux_select.c (103): callback returned error status
[mpiexec@xxx] ..\hydra\pm\pmiserv\pmiserv_pmci.c (501): error waiting for event
[mpiexec@xxx] ..\hydra\ui\mpich\mpiexec.c (1110): process manager error waiting for completion&lt;/PRE&gt;

&lt;P&gt;This fails with 16 Update 3 as well as the 17 Beta. A smaller array will not lead to this error.&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2016 21:58:25 GMT</pubDate>
    <dc:creator>OP1</dc:creator>
    <dc:date>2016-05-17T21:58:25Z</dc:date>
    <item>
      <title>Bug with WRITE(*,*) and MPI process</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-WRITE-and-MPI-process/m-p/1065491#M4562</link>
      <description>&lt;P&gt;The simple code below fails when run (with mpiexec.exe) on a 64-bit Win. 7 workstation (with dual 6-core processors). The culprit is the WRITE(*,*) command (when a large number of such commands are issued, as in the example below). Writing to a file works well.&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;PROGRAM MAIN
USE MPI
IMPLICIT NONE
INTEGER :: RANK,ERROR,I
COMPLEX(KIND=8) :: A(8000)
CALL MPI_INIT(ERROR)
CALL MPI_COMM_RANK(MPI_COMM_WORLD,RANK,ERROR)
IF (RANK==0) THEN
    DO I=1,8000
        WRITE(*,*) I,A(I)
    END DO
END IF
CALL MPI_FINALIZE(ERROR)
END PROGRAM MAIN&lt;/PRE&gt;

&lt;P&gt;The errors look like this:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;[mpiexec@xxx] ..\hydra\ui\utils\uiu.c (406): assert (!closed) failed
[mpiexec@xxx] ..\hydra\pm\pmiserv\pmiserv_cb.c (973): error in the UI defined callback
[mpiexec@xxx] ..\hydra\tools\demux\demux_select.c (103): callback returned error status
[mpiexec@xxx] ..\hydra\pm\pmiserv\pmiserv_pmci.c (501): error waiting for event
[mpiexec@xxx] ..\hydra\ui\mpich\mpiexec.c (1110): process manager error waiting for completion&lt;/PRE&gt;

&lt;P&gt;This fails with 16 Update 3 as well as the 17 Beta. A smaller array will not lead to this error.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 21:58:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-WRITE-and-MPI-process/m-p/1065491#M4562</guid>
      <dc:creator>OP1</dc:creator>
      <dc:date>2016-05-17T21:58:25Z</dc:date>
    </item>
    <item>
      <title>This doesn't sound like a</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-WRITE-and-MPI-process/m-p/1065492#M4563</link>
      <description>&lt;P&gt;This doesn't sound like a Fortran issue, as I don't see any Fortran errors in the log. Whose MPI are you using? If it is trying to merge the standard output streams, it may be overwhelmed by the volume.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 00:46:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-WRITE-and-MPI-process/m-p/1065492#M4563</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-05-18T00:46:20Z</dc:date>
    </item>
    <item>
      <title>Steve - I am using Intel MPI</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-WRITE-and-MPI-process/m-p/1065493#M4564</link>
      <description>&lt;P&gt;Steve - I am using Intel MPI (shipped with the cluster edition of Intel Parallel Studio).&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 12:58:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-WRITE-and-MPI-process/m-p/1065493#M4564</guid>
      <dc:creator>OP1</dc:creator>
      <dc:date>2016-05-18T12:58:00Z</dc:date>
    </item>
    <item>
      <title>Ok. I am going to move this</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-WRITE-and-MPI-process/m-p/1065494#M4565</link>
      <description>&lt;P&gt;Ok. I am going to move this to the Clustering Technologies forum where MPI experts can respond. I don't see any evidence that it is a Fortran problem.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 13:43:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-WRITE-and-MPI-process/m-p/1065494#M4565</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-05-18T13:43:36Z</dc:date>
    </item>
  </channel>
</rss>

