<html>#2372: Fatal error in PMPI_Comm_rank: Invalid communicator
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Jason Kodish</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td>ET_2020_05</td></tr>
<tr><td style='text-align:right'>  Version:</td><td>ET_2019_10</td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td>SimFactory</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>Please see the discussion in <a data-is-external-link="true" href="http://lists.einsteintoolkit.org/pipermail/users/2020-April/007388.html" rel="nofollow">http://lists.einsteintoolkit.org/pipermail/users/2020-April/007388.html</a></p>
<p>While the Einstein Toolkit can build its own MPI stack as a fallback solution, it will preferentially use an already installed MPI. However if multiple MPI stacks are installed (and they are not set up correctly) the automatic detection will fail.</p>
<p>This happens to you on a freshly installed Ubuntu 18.04 system, did you install anything beyond the packages requested in <a data-is-external-link="true" href="https://github.com/nds-org/jupyter-et/blob/master/CactusTutorial.ipynb" rel="nofollow">https://github.com/nds-org/jupyter-et/blob/master/CactusTutorial.ipynb</a> ? </p>
<p>If you <em>want</em> to force the toolkit to built its own MPI stack, then you will have to edit the OptionList file to include <code>MPI=BUILD</code> and add <code>PATH=@SOURCEDIR@/exe/@CONFIGURATION@:$PATH</code> to the RunScript file that is <code>configs/sim</code>. The build from scratch using:</p>
<div class="codehilite"><pre><span></span>make sim-clean
./simfactory/bin/sim build --reconfig
</pre></div>


<p>Please keep in mind that compiling one’s own MPI stack is mostly untested.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2372/fatal-error-in-pmpi_comm_rank-invalid'>https://bitbucket.org/einsteintoolkit/tickets/issues/2372/fatal-error-in-pmpi_comm_rank-invalid</a></p>
</html>