<html>#2295: symbol lookup error
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>zhais</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></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></td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>Hello Ahsley,</p>
<p>this looks a bit like an issue with setting up correct search path for the libraries to me. This error is typically a link time (not runtime) error if one forgets to link in the OpenMPI library. Since you apparently could link, my first guess would be that the OpenMPI library that is used at runtime is not the same as used during compilation.</p>
<p>You should check the following:</p>
<ul>
<li>run <code>ldd /simulations/helloword/SIMFACTORY/exe/cactus_sim | grep mpi</code> to find out which OpenMPI library is used at runtime</li>
<li>check that path reported there against the directory used at link time in the <code>-L</code> option. If you do not know where to find them then look at the file <code>configs/sim/bindings/Configuration/Capabilities/make.MPI.defn</code> which contains an entry <code>MPI_LIB_DIRS</code> which is the one you are looking for</li>
</ul>
<p>Other than that, it would b good if you could provide more details:</p>
<ol>
<li>the complete stdout and stderr output of the attempted run, since you are using <code>create-run</code> you will have to do something like <code>./simfactory/bin/sim create-run helloworld &amp;&gt;helloworld.log --parfile arrangements/CactusExamples/HelloWorld/par/HelloWorld.par</code> then attach helloworld.log</li>
<li>which system is this happening on? Your laptop? A public cluster? The Einstein Toolkit tutorial server at <a data-is-external-link="true" href="https://etkhub.ndslabs.org" rel="nofollow">https://etkhub.ndslabs.org</a> ?</li>
<li>please provide the <code>OptionList</code> and <code>RunScript</code> files used, you can find them in <code>configs/sim</code> under those names</li>
<li>provide the full output of <code>ldd /simulations/helloword/SIMFACTORY/exe/cactus_sim</code></li>
</ol>
<p>Yours,<br />
Roland</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2295/symbol-lookup-error'>https://bitbucket.org/einsteintoolkit/tickets/issues/2295/symbol-lookup-error</a></p>
</html>