<div dir="ltr"><div><div>Yes, I don't see it returning mpi library, <br><br>$ mpicc -showme:link<br><br>gives me<br><br>$ -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi -lopen-rte -lopen-pal -lm -ldl -lutil<br><br></div>Thank you<br></div>Ganesh<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 2, 2015 at 6:54 PM, Markus Blatt <span dir="ltr"><<a href="mailto:markus@dr-blatt.de" target="_blank">markus@dr-blatt.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Mar 02, 2015 at 06:14:56PM +0000, Ganesh Diwan wrote:<br>
> You can pass the mpicc compiler to CMake via -DCMAKE_MPICC_COMPILER=..<br>
> > Both MPI libraries should provide one, you can try one or the other.<br>
> ><br>
><br>
<br>
</span>Not available on my old system.<br>
<span class=""><br>
> I tried providing paths for both lam and openmpi, no joy.<br>
><br>
<br>
</span>OK lets stick to the original error report.<br>
<br>
Let us see whether your system already returns the wrong<br>
libraries. Please check what the following comand outputs:<br>
<br>
mpicc -showme:link<br>
<br>
Does it report usr/local/lib/libmpi.so?<br>
<span class="HOEnZb"><font color="#888888"><br>
Markus<br>
<br>
--<br>
Do you need more support with DUNE or HPC in general?<br>
<br>
Dr. Markus Blatt - HPC-Simulation-Software & Services <a href="http://www.dr-blatt.de" target="_blank">http://www.dr-blatt.de</a><br>
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany<br>
Tel.: <a href="tel:%2B49%20%280%29%20160%2097590858" value="+4916097590858">+49 (0) 160 97590858</a><br>
</font></span></blockquote></div><br></div>