<div dir="ltr">Hello Ian,<div><br></div><div>I am getting</div><div>&quot;gcc -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread -L/usr//lib -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi&quot; as result for &quot;mpicc -show&quot; and &quot;/usr/bin/mpicc&quot; for &quot;which mpicc&quot;</div><div>which exactly the same as you mentioned.</div><div><br></div><div>Yours Sincerely,<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="color:rgb(136,136,136);font-family:arial"><font color="#444444">Rishank Diwan</font></div><div><table border="0" cellspacing="0" cellpadding="0" width="470" style="font-size:12.8px;color:rgb(136,136,136);width:470px"><tbody></tbody></table><br></div></div></div></div></div></div></div></div></div><br></div></div><img src="https://my-email-signature.link/signature.gif?u=544763&amp;e=93994451&amp;v=3822361c576b5e5bc684510522cce8f4c9509f5587027ef7b22d57cea5021f6b" style="width:2px;max-height:0;overflow:hidden"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 22 Apr 2020 at 14:13, Ian Hinder &lt;<a href="mailto:ian.hinder@manchester.ac.uk">ian.hinder@manchester.ac.uk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
<br>
<div><br>
<blockquote type="cite">
<div>On 21 Apr 2020, at 21:19, Rishank Diwan &lt;<a href="mailto:rishank2610@gmail.com" target="_blank">rishank2610@gmail.com</a>&gt; wrote:</div>
<br>
<div>
<div dir="ltr">
<div>Hello Roland and Ian,</div>
<div><br>
</div>
<div>I did check for OpenMPI and MPICH package, it seems there is only one installed I am attaching the result so you can see.</div>
<div>I also checked the other two command to know the compatibility but they seem to have different path. </div>
<div><br>
</div>
<div>&quot;dpkg -S $(readlink -f $(ldd exe/cactus_sim | gawk &#39;/<a href="http://libmpi.so/%7Bprint$3%7D&#39;" target="_blank">libmpi.so/{print$3}&#39;</a>)) &quot; gives &quot;libopenmpi2:amd64: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so.20.10.1&quot; as output.</div>
<div>&quot;dpkg -S $(readlink -f $(which mpirun))&quot; gives &quot;openmpi-bin: /usr/bin/orterun&quot; as output.</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>They are both openmpi, so that doesn&#39;t immediately throw up any red flags.</div>
<div><br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">
<div>I have tried &quot;simfactory/bin/sim run static_tov --parfile=par/static_tov.par --procs=2&quot; and &quot;./simfactory/bin/sim create-run helloworld --parfile arrangements/CactusExamples/HelloWorld&quot; and &quot;exe/cactus_sim&quot; in all the above cases I got the same
 error message.</div>
<div><br>
</div>
<div>I am also attaching the mpi.log file you asked for.</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>From the dpkg output, you have both mpich and openmpi installed. </div>
<div><br>
</div>
<div>
<div>ii  mpich                                      3.3~a2-4                                            amd64        Implementation of the MPI Message Passing Interface standard</div>
<div><br>
</div>
<div>
<div>ii  openmpi-bin                                2.1.1-8                                             amd64        high performance message passing library -- binaries</div>
<div>ii  openmpi-common                             2.1.1-8                                             all          high performance message passing library -- common files</div>
</div>
<div><br>
</div>
</div>
<div>Can you tell us the output of </div>
<div><br>
</div>
<div>which mpicc</div>
<div><br>
</div>
<div>It should be /usr/bin/mpicc</div>
<div><br>
</div>
<div>Then type</div>
<div><br>
</div>
<div>mpicc -show</div>
<div><br>
</div>
<div>to see which MPI package it is using.  It should be something like</div>
<div><br>
</div>
<div>gcc -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include -I/usr/lib/x86_64-linux-gnu/openmpi/include
 -pthread -L/usr//lib -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi<br>
<br>
</div>
<div>so we can see which one is the default?  When you build the ET, the MPI thorn build script runs mpicc to find out which MPI to use.</div>
<div><br>
</div>
<div>It&#39;s possible that you might have to uninstall mpich, but I&#39;m not sure.  There *shouldn&#39;t* be a fundamental reason why you can&#39;t have both installed and just use one of them, but there might be technical reasons why it doesn&#39;t work.</div>
<div><br>
</div>
</div>
<div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
-- <br>
Ian<b><span> </span></b>Hinder<br>
Research Software Engineer<br>
University of Manchester, UK</div>
</div>
</div>
<br>
</div>

</blockquote></div>