<div dir="ltr">Hello Roland and Ian,<div><br></div><div>I am attaching the build.log file. I have also tried running the simulation after removing the MPICH with this I also attaching to file obtained from "dpkg --list | grep -vi compile | grep -i mpi" command to compare from previous one. I also did make changes in PATH and LD_Library_Path. The current path are as follows:</div><div><br></div><div>LD_LIBRARY_PATH=:/usr/lib/x86_64-linux-gnu/openmpi/lib/<br><br>PATH=/home/rishank/miniconda2/bin:/home/rishank/anaconda2/bin:/home/rishank/anaconda2/condabin:/home/rishank/bin:/home/rishank/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/bin</div><div><br></div><div>and the previous one were:</div><div><br></div><div>LD_LIBRARY_PATH=:/home/rishank/.openmpi/lib/:/home/rishank/.openmpi/lib/<br><br>PATH=/home/rishank/miniconda2/bin:/home/rishank/anaconda2/bin:/home/rishank/anaconda2/condabin:/home/rishank/bin:/home/rishank/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/rishank/.openmpi/bin:/home/rishank/.openmpi/bin<br><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"><br></font></div><div style="color:rgb(136,136,136);font-family:arial"><font color="#444444">Yours Sincerely,</font></div><div style="color:rgb(136,136,136);font-family:arial"><font color="#444444">Rishank Diwan</font></div><div style="color:rgb(136,136,136);font-family:arial"><br></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&e=94446340&v=79a766c811d6705ecd08404dde0f616d683a7ab65ad36408841baa07414b1ac0" style="width:2px;max-height:0;overflow:hidden"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 23 Apr 2020 at 00:19, Roland Haas <<a href="mailto:rhaas@illinois.edu">rhaas@illinois.edu</a>> 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">Hello Rishank,<br>
<br>
> It's possible that you might have to uninstall mpich, but I'm not<br>
> sure. There *shouldn't* be a fundamental reason why you can't have<br>
> both installed and just use one of them, but there might be technical<br>
> reasons why it doesn't work.<br>
It is possible to have both installed at the same time. However things<br>
then become fragile. Ubuntu will declare one as the "default" using<br>
either the "alternatives" system (which is why eg /usr/bin/mpi and<br>
/usr/bin/mpicc point to files in /etc/alternatives/). This however does<br>
not include things like eg hdf5 which come in flavor packages<br>
hdf5-openmpi, hdf5-mpich, hdf5-serial each of which has libraries<br>
libhdf5_{openmpi,mpich,serial}.so. Then there's always the possibility<br>
something being wrong in the package setup.<br>
<br>
Thus having multiple MPI stacks installed at the same time, while<br>
possible, is outside of the realm of cases easily supported by our<br>
automated setup and would likely require a hand-crafted option list<br>
similar to the ones used on clusters. Eg setting<br>
<br>
MPI_DIR = /usr/lib/x86_64-linux-gnu/openmpi<br>
MPI_INC_DIRS = /usr/lib/x86_64-linux-gnu/openmpi/include<br>
MPI_LIB_DIRS = /usr/lib/x86_64-linux-gnu/openmpi/lib<br>
MPI_LIBS = mpi<br>
<br>
*may* work (though see my note above about libraries that can use MPI).<br>
Note that this still assumes that the mpirun found in $PATH is the one<br>
that matches the used MPI stack, ie OpenMPI's so it may require changes<br>
to the run script as well.<br>
<br>
Thus the simplest solution is likely to make sure only one MPI stack<br>
(OpenMPI or MPICH) is installed and uninstall the other one.<br>
<br>
Yours,<br>
Roland<br>
<br>
-- <br>
My email is as private as my paper mail. I therefore support encrypting<br>
and signing email messages. Get my PGP key from <a href="http://pgp.mit.edu" rel="noreferrer" target="_blank">http://pgp.mit.edu</a> .<br>
</blockquote></div>