[Dune] dune installation on Cray XT 5

Jö Fahlke jorrit at jorrit.de
Fri Mar 19 20:31:57 CET 2010


Am Fri, 19. Mar 2010, 15:17:08 +0100 schrieb Christian May:
> I always get the error "could not find required module dune-common",
> but the reasons are not transparent to me. I attach the config.log
> from the failing module dune-istl. Could you please have a look at
> it?

The following part seems relevant to me:
======================================================================
configure:23818: checking for libdunecommon
configure:23840: ./libtool --tag=CXX --mode=link CC -std=c++0x -o conftest -static -O3 -DNDEBUG -I/apps/parmetis/3.1.1/gnu_4.3.2/metis_include/   -I/users/cmay/dune-svn/dune-common      conftest.cc -L/users/cmay/dune-svn/dune-common/lib -ldunecommon   >&5
mkdir .libs
CC -std=c++0x -o conftest -O3 -DNDEBUG -I/apps/parmetis/3.1.1/gnu_4.3.2/metis_include/ -I/users/cmay/dune-svn/dune-common conftest.cc  -L/users/cmay/dune-svn/dune-common/lib /users/cmay/dune-svn/dune-common/lib/.libs/libdunecommon.a /opt/fftw/3.2.2.1/lib/libfftw3.so /opt/fftw/3.2.2.1/lib/libfftw3f.so /opt/gcc/4.4.1/snos/lib/../lib64/libgfortran.so /opt/gcc/4.4.1/snos/lib/../lib64/libstdc++.so
/opt/cray/xt-asyncpe/3.5/bin/CC: INFO: linux target is being used
/usr/bin/ld: attempted static link of dynamic object `/opt/fftw/3.2.2.1/lib/libfftw3.so'
collect2: ld returned 1 exit status
======================================================================
For some reason, it tries to link statically against some dynamic libraries.

Can you please do two things:

1. cd /users/cmay && find dune-common -name \*.la -o -name \*.lo | xargs tar czf libtool-files.tar.gz
   and send us the resulting tarball.  Please include dune-common/config.log
   as well.

2. Try building with shared libraries instead, i.e. with "--enable-shared", or
   even with "--enable-shared --disable-static".  Shared libraries do work for
   about one or two monthes, if they work for you that would be your quick
   workaraound.

Bye,
Jö.

-- 
Kiss a non-smoker; taste the difference.
-- fortune
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20100319/47c275a4/attachment.sig>


More information about the Dune mailing list