[Dune] problem compiling dune from trunk

Oswald Benedikt Benedikt.Oswald at psi.ch
Wed Mar 27 10:49:04 CET 2013


Hello Markus, in fact I use this, is this not equivalent ? Thanks, Benedikt



CONFIGURE_FLAGS="DUNE_LDFLAGS='-all-static' MPICXX='CC' CXX='CC' CC='cc' F77='ftn' LD='CC -static '
                 CXXFLAGS='-DMPICH_IGNORE_CXX_SEEK -O2 -DNDEBUG -fomit-frame-pointer --no-strict-aliasing -static '
                 CPPFLAGS='-DMPICH_IGNORE_CXX_SEEK -O2 -DNDEBUG -DHAVE_SUPERLU_DIST -DHAVE_PASTIX -I$HOME/extlib/superludist/2.5/xt-mpich2/5.5.0/gcc/4.6.2/SRC -I$HOME/extlib/pastix/5.2.1/3945/xt-mpich2/5.5.0/gcc/4.6.2/install '
                 CFLAGS='-DMPICH_IGNORE_CXX_SEEK -O2 -DNDEBUG -fomit-frame-pointer -static --no-strict-aliasing '
                 FFLAGS='-DMPICH_IGNORE_CXX_SEEK -O2 -DNDEBUG -fomit-frame-pointer -static --no-strict-aliasing '
                 LDFLAGS='-static -L$HOME/extlib/superludist/2.5/xt-mpich2/5.5.0/gcc/4.6.2/lib -lsuperlu_dist_2.5 -L$HOME/extlib/parmetis/3.2.0/xt-mpich2/5.5.0/gcc/4.6.2 -lparmetis -lmetis -L$HOME/extlib/pastix/5.2.1/3945/xt-mpich2/5.5.0/gcc/4.6.2/install -lpastix -L$HOME/extlib/scotch/6.0.0.rc20/xt-mpich2/5.5.0/gcc/4.6.2/lib -lptscotch -lptscotcherr '
                 LTFLAGS=' '
                 --host=x86_64-unknown-linux-gnu
                 --enable-static
                 --disable-shared
                 --disable-mpiruntest
                 --enable-hades3deltd
                 --enable-hades3dfetd
                 --enable-hades3ddges
                 --enable-hades3ddgfd
                 --enable-hades3dfefd
                 --enable-hades3dfeqs
                 --disable-documentation
                 --enable-parallel
                 --enable-boost
                 --enable-petsc
                 --enable-debug-output
                 --without-gmp
                 --with-boost='$HOME/extlib/boost/1.50/gcc/4.6.2'
                 --with-metis='$HOME/extlib/metis/4.0.3/gcc/4.6.2'
                 --with-parmetis='$HOME/extlib/parmetis/3.2.0/xt-mpich2/5.5.0/gcc/4.6.2'
                 --with-rlog='$HOME/extlib/rlog/svn-rev-21/gcc/4.6.2'
                 --with-alugrid='$HOME/extlib/ALUGrid/1.94/xt-mpich2/5.5.0/gcc/4.6.2'
                 --with-petsc='$HOME/extlib/petsc/3.2-p6/xt-mpich2/5.5.0/gcc/4.6.2'
                 --prefix='/scratch/rosa/boswald/hades3d'
                 "

-----Original Message-----
From: dune-bounces+benedikt.oswald=psi.ch at dune-project.org on behalf of Markus Blatt
Sent: Wed 3/27/2013 10:13
To: dune at dune-project.org
Subject: Re: [Dune] problem compiling dune from trunk
 
Hi,

you do use -all-static in DUNE_LDFLAGS?

Make sure you put
CONFIGURE_FLAGS="DUNE_LDFLAGS=\"-all-static\""
in your opts-file. This makes sure that the flag is passed as the
first argument to the linker, which is essential.

Markus

-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 

_______________________________________________
Dune mailing list
Dune at dune-project.org
http://lists.dune-project.org/mailman/listinfo/dune




More information about the Dune mailing list