<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>Hi Christoph and Markus,<br>when configure tries to verify the usability of dunegrid, it links like this:<br><br>libtool: link: g++ -std=c++11 -o conftest -O3 -DNDEBUG
-I/home/marco/workspace/lib/dune/2.3_new_subgrid/dune-common-2.3.0
-I/home/marco/workspace/lib/dune/2.3_new_subgrid/dune-geometry-2.3.0
-I/home/marco/workspace/lib/dune/2.3_new_subgrid/dune-common-2.3.0
-I/home/marco/workspace/lib/dune/2.3_new_subgrid/dune-common-2.3.0
-I/home/marco/workspace/lib/dune/2.3_new_subgrid/dune-geometry-2.3.0
-I/home/marco/workspace/lib/dune/2.3_new_subgrid/dune-geometry-2.3.0
-I/home/marco/workspace/lib/dune/2.3_new_subgrid/dune-grid-2.3.0
conftest.cpp
/home/marco/workspace/lib/dune/2.3_new_subgrid/dune-grid-2.3.0/lib/.libs/libdunegrid.a
-L/opt/ALUGrid-1.52/lib -L/usr/local/lib
-L/opt/openmpi/openmpi-1.6.4-gcc/lib
-L/home/marco/workspace/lib/openmpi-1.6.4/opal/mca/hwloc/hwloc132/hwloc/src
/opt/ALUGrid-1.52/lib/libalugrid.a -lmetis
/usr/local/lib/libmpi_cxx.so /usr/local/lib/libmpi.so
/usr/local/lib/libopen-rte.so /usr/local/lib/libopen-pal.so
/opt/openmpi/openmpi-1.6.4-gcc/lib/libmpi_cxx.so
/opt/openmpi/openmpi-1.6.4-gcc/lib/libmpi.so -lrt -lnsl -lutil -ldl
/home/marco/workspace/lib/dune/2.3_new_subgrid/dune-geometry-2.3.0/lib/.libs/libdunegeometry.a
/home/marco/workspace/lib/dune/2.3_new_subgrid/dune-common-2.3.0/lib/.libs/libdunecommon.a
-llapack -lblas -pthread -Wl,-rpath
-Wl,/opt/openmpi/openmpi-1.6.4-gcc/lib -Wl,-rpath
-Wl,/opt/openmpi/openmpi-1.6.4-gcc/lib<br><br>Inside that there's this string and it's causing me the problem:<br>
<br>/usr/local/lib/libmpi_cxx.so /usr/local/lib/libmpi.so
/usr/local/lib/libopen-rte.so /usr/local/lib/libopen-pal.so<br><br>I don't want these libraries, but I don't know how to avoid them.<br>These are the ones I want to use and they are in the libtool string:<br>/opt/openmpi/openmpi-1.6.4-gcc/lib/libmpi_cxx.so
/opt/openmpi/openmpi-1.6.4-gcc/lib/libmpi.so<br><br>Here my configure flags<br>CONFIGURE_FLAGS="CC=gcc CXX=g++ MPICC=/opt/openmpi/openmpi-1.6.4-gcc/bin/mpiCC --prefix=/opt/dune-2.3 --enable-parallel -enable-experimental-grid-extensions --disable-documentation --with-metis=/usr/local --with-parmetis=/usr/local --with-alugrid=/opt/ALUGrid-1.52 CFLAGS=\"-O3 -DNDEBUG\" CXXFLAGS=\"-O3 -DNDEBUG\" "<br><br>Any hints?<br><br>Thanks<br><br>Bests,<br>Marco<br><br><div><span name="x"></span>--<br>-----------------------------------------------<br>Marco Cisternino, PhD<br>OPTIMAD Engineering s.r.l.<br>Via Giacinto Collegno 18<br>10143 Torino - Italy<br>www.optimad.it<br>marco.cisternino@optimad.it<br>+39 011 19719782<br>-----------------------------------------------<span name="x"></span><br></div><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Da: </b>dune-request@dune-project.org<br><b>A: </b>dune@dune-project.org<br><b>Inviato: </b>Martedì, 25 marzo 2014 12:00:01<br><b>Oggetto: </b>Dune Digest, Vol 105, Issue 15<br><br>Send Dune mailing list submissions to<br> dune@dune-project.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> http://lists.dune-project.org/mailman/listinfo/dune<br>or, via email, send a message with subject or body 'help' to<br> dune-request@dune-project.org<br><br>You can reach the person managing the list at<br> dune-owner@dune-project.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Dune digest..."<br><br>Today's Topics:<br><br> 1. Error building module (Marco Cisternino)<br> 2. Re: Error building module (Christoph Gr?ninger)<br> 3. Re: Error building module (Markus Blatt)<br><br>_______________________________________________<br>Dune mailing list<br>Dune@dune-project.org<br>http://lists.dune-project.org/mailman/listinfo/dune<br></div><br></div></body></html>