[Dune] Error building module
Marco Cisternino
marco.cisternino at optimad.it
Tue Mar 25 15:18:57 CET 2014
Hi Christoph and Markus,
when configure tries to verify the usability of dunegrid , it links like this:
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/wo rkspace/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 -l metis /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/l ibmpi.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/lib dunecommon.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
Inside that there's this string and it's causing me the problem :
/usr/local/lib/libmpi_cxx.so /usr/local/lib/libmpi.so /usr/local/lib/libopen-rte.so /usr/local/lib/libopen-pal.so
I don't want these libraries, but I don't know how to avoid them.
These are the ones I want to use and they are in the libtool string:
/opt/openmpi/openmpi-1.6.4-gcc/lib/libmpi_cxx.so /opt/openmpi/openmpi-1.6.4-gcc/lib/libmpi.so
Here my configure flags
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\" "
Any hints?
Thanks
Bests,
Marco
--
-----------------------------------------------
Marco Cisternino, PhD
OPTIMAD Engineering s.r.l.
Via Giacinto Collegno 18
10143 Torino - Italy
www.optimad.it
marco.cisternino at optimad.it
+39 011 19719782
-----------------------------------------------
----- Messaggio originale -----
Da: dune-request at dune-project.org
A: dune at dune-project.org
Inviato: Martedì, 25 marzo 2014 12:00:01
Oggetto: Dune Digest, Vol 105, Issue 15
Send Dune mailing list submissions to
dune at dune-project.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.dune-project.org/mailman/listinfo/dune
or, via email, send a message with subject or body 'help' to
dune-request at dune-project.org
You can reach the person managing the list at
dune-owner at dune-project.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Dune digest..."
Today's Topics:
1. Error building module (Marco Cisternino)
2. Re: Error building module (Christoph Gr?ninger)
3. Re: Error building module (Markus Blatt)
_______________________________________________
Dune mailing list
Dune at dune-project.org
http://lists.dune-project.org/mailman/listinfo/dune
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140325/c100bed1/attachment.htm>
More information about the Dune
mailing list