[Dune] Dune configure problem on Cray XT5

Benedikt Oswald benedikt.oswald at psi.ch
Wed Aug 5 17:31:51 CEST 2009


Dear Dune developers, we are still trying to configure and install Dune on
the Cray XT5 architecture.

However, we are experiencing a tough problem w.r.t to linking.

The Cray Compute Node Linux (CNL) environment only allows for static linking.
While we tried to convince Dune configure to use only static libraries
we did not succeed.

In Particular, we tried with these opttions:

CONFIGURE_FLAGS="MPICXX='CC' CXX='CC' CC='cc' LD='CC'
                 CXXFLAGS='-DMPICH_IGNORE_CXX_SEEK '
		 CPPFLAGS='-DMPICH_IGNORE_CXX_SEEK '
                 LDFLAGS='-static'
		 LTFLAGS=' '
		 --disable-shared
		 --disable-mpiruntest
                 --enable-experimental-hades3deld
                 --disable-documentation
                 --enable-parallel
                 --enable-boost
		 --enable-debug-output
		 --enable-debug-output-parallel
                 --with-boost='$HOME/scratch2-extlib-felsim/boost-1-39.0-svn-trunk'
                 --prefix='$HOME/ownlib/hades'
                 --with-metis='$HOME/extlib/metis-4.0'
                 --with-alugrid='$HOME/extlib/ALUGrid-1.14'
		 "

We also tried:

LDFLAGS='-all-static'
LTFLAGS='-all-static'
LDFLAGS=' '

But to no avail.

Somehow, we can not manage to have the compiler/linker only use static libraries,
cf. the output below.

Any ideas on what we could try next ?

We have attached the config.log from dune-common.


Greetings, Benedikt



====================================================================================================================
make: Entering directory `/nfs/xt3-homes/users/boswald/svnwork/dune-trunk/dune-common'
Making check in common
make[1]: Entering directory `/nfs/xt3-homes/users/boswald/svnwork/dune-trunk/dune-common/common'
Making check in .
make[2]: Entering directory `/nfs/xt3-homes/users/boswald/svnwork/dune-trunk/dune-common/common'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/nfs/xt3-homes/users/boswald/svnwork/dune-trunk/dune-common/common'
Making check in test
make[2]: Entering directory `/nfs/xt3-homes/users/boswald/svnwork/dune-trunk/dune-common/common/test'
make  parsetest test-stack arraylisttest smartpointertest sllisttest iteratorfacadetest tuplestest fvectortest fmatrixtest poolallocatortest settest gcdlcmtest streamtest
bigunsignedinttest mpihelpertest singletontest mpicollcomm utilitytest lrutest smallobject nullptr-test testfassign1 testfassign2 testfassign3 testfassign4 testfassign_fail1
testfassign_fail2 testfassign_fail3 testfassign_fail4 testfassign_fail5 testfassign_fail6 conversiontest bitsetvectortest deprecatedtuplestest float_cmp
make[3]: Entering directory `/nfs/xt3-homes/users/boswald/svnwork/dune-trunk/dune-common/common/test'
/bin/sh ../../libtool --tag=CXX --mode=link CC -std=c++0x  -DMPICH_IGNORE_CXX_SEEK  ../../common/libcommon.la -static -o parsetest  parsetest.o  -lm
libtool: link: warning: library `/opt/fftw/3.2.1/lib/libfftw3.la' was moved.
libtool: link: warning: library `/opt/fftw/3.2.1/lib/libfftw3f.la' was moved.
libtool: link: warning: library `/opt/fftw/3.2.1/lib/libfftw3.la' was moved.
libtool: link: warning: library `/opt/fftw/3.2.1/lib/libfftw3f.la' was moved.
CC -std=c++0x -DMPICH_IGNORE_CXX_SEEK -o parsetest parsetest.o  ../../common/.libs/libcommon.a /opt/gcc/4.3.3/snos/lib/../lib64/libgfortran.so /opt/fftw/3.2.1/lib/libfftw3.so
/opt/fftw/3.2.1/lib/libfftw3f.so /opt/gcc/4.3.3/snos/lib/../lib64/libstdc++.so -lm
/opt/cray/xt-asyncpe/3.1/bin/CC: INFO: linux target is being used
/usr/bin/ld: attempted static link of dynamic object `/opt/gcc/4.3.3/snos/lib/../lib64/libgfortran.so'
collect2: ld returned 1 exit status
====================================================================================================================













-- 
------------------------------------------------------------------------------------------------------------------
Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, Computational Accelerator Scientist,
Paul Scherrer  Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch, +41(0)56 310 32 12

"The budget should be balanced, the Treasury should be refilled, public debt should be reduced,
the arrogance of officialdom should be tempered and controlled, and the assistance to foreign
lands should be curtailed lest Rome become bankrupt. People must again learn to work, instead
of living on public assistance." (Cicero, ca. 55 BC).

http://amas.web.psi.ch/people/boswald/index.html
------------------------------------------------------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 64085 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20090805/173abe2f/attachment.bin>


More information about the Dune mailing list