<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - MPI-Checker wrongly reports missing wait"
   href="https://bugs.llvm.org/show_bug.cgi?id=47985">47985</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>MPI-Checker wrongly reports missing wait
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Static Analyzer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dcoughlin@apple.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rr.underwood94@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dcoughlin@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=24104" name="attach_24104" title="reproducer">attachment 24104</a> <a href="attachment.cgi?id=24104&action=edit" title="reproducer">[details]</a></span>
reproducer

MPI-Checker incorrectly warns for "no matching wait" when a non-blocking
collective request is completed using MPI_Test rather than MPI_Wait. Attaching
a minimal reproducer.

The relevant section of the MPI Standard is as follows:

(3.7.3) "The functions MPI_WAIT and MPI_TEST are used to complete a nonblocking
communication...A call to MPI_TEST returns flag = true if the operation
identified by request is complete.  In such a case, the status object is set to
contain information on the completed operation... [if the request is not an
active persistant request, it] ... is deallocated and the request handle is set
to MPI_REQUEST_NULL"</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>