[Dune] dune installation on Cray XT 5
Christian May
cmay at phys.ethz.ch
Sun Mar 21 15:37:00 CET 2010
Hi Jo,
thanks, you pointed me to the right spot. I got it installed now.
The solution was the opposite,
making everything static (shared is not possible on that machine). There
was a point where a static flag was missing.
Thanks again
Christian
On Fri, 19 Mar 2010, Jö Fahlke wrote:
> 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
>
---------------------------------------------------------------------------
Christian May
ETH Zurich
Institute for Theoretical Physics, HIT K 31.5
CH-8093 Zurich, Switzerland
Tel: + 41 44 633 79 61
Fax: + 41 44 633 11 15
Email: cmay at itp.phys.ethz.ch
More information about the Dune
mailing list