title: mpi appplication is unable to connect to the smpd manager on (null):55846 error 1722
body: <p>using <code>Microsoft HPC Pack 2008 SDK</code> and <code>Microsoft SDK 9</code></p>
  
  <p>code (ReadText.cpp):</p>
  
  <pre><code>#include "stdafx.h"
  #include&lt;iostream&gt;
  #include&lt;mpi.h&gt;
  using namespace std;
  int main(int argc, char* argv[])
  {
      cout &lt;&lt; "before mpi init\n";
      cout.flush();
  
      MPI_Init(&amp;argc, &amp;argv);
  
      cout &lt;&lt; "after mpi init\n";
      cout.flush();
  
      MPI_Finalize();
      cout &lt;&lt; "after mpi finit\n";
      cout.flush();
      return 0;
  }
  </code></pre>
  
  <p>after running the command line:</p>
  
  <pre><code>mpiexec -n 1 ReadText.exe
  </code></pre>
  
  <p>got the output:</p>
  
  <pre><code>before mpi init
  
  Aborting: mpi appplication on LAPTOP-TL0C61UH is unable to connect to the smpd manager on (null):56041 error 1722
  
  job aborted:
  [ranks] message
  
  [0] fatal error
  Fatal error in MPI_Init: Other MPI error, error stack:
  MPI_Init(argc_p=0x00CFFA1C, argv_p=0x00CFFA08) failed
  </code></pre>
  
  <p>when running <code>mpiexec</code> with <code>-debug</code> got this output : <a href="https://justpaste.it/2elu1" rel="nofollow noreferrer">https://justpaste.it/2elu1</a></p>
  
  <p>can't find over the internet helpfull information to solve this issue...</p>