[Dune] Cray C++ compiler for Dune?

Eike Mueller E.Mueller at bath.ac.uk
Fri Jan 20 19:51:35 CET 2012


Dear dune-list,

thank you very much for all your replies. I have now at least managed to 
compile Dune (with ALUGrid support) using gcc on Hector.

However, it only worked when I used dynamic linking (LDFLAGS='-dynamic' 
in CONFIGURE_FLAGS), otherwise I end up with this error in the 
config.log of dune-grid (dune-common compiled without -dynamic. I only 
hit the problem in dune-grid):

[...]
configure:30113: checking for libdunecommon
configure:30146: ./libtool --tag=CXX --mode=link CC -std=c++0x -o 
conftest -DNDEBUG   -I/home/n02/n02/eike/tmp/dune-common-2.1.1 
conftest.cpp -L/home/n02/n02/eike/tmp/dune-common-2.1.1/lib -ldunecommon 
   >&5
libtool: link: CC -std=c++0x -o conftest -DNDEBUG 
-I/home/n02/n02/eike/tmp/dune-common-2.1.1 conftest.cpp 
-L/home/n02/n02/eike/tmp/dune-common-2.1.1/lib 
/home/n02/n02/eike/tmp/dune-common-2.1.1/lib/.libs/libdunecommon.a 
/opt/gcc/4.6.1/snos/lib/../lib64/libgfortran.so 
/opt/gcc/4.6.1/snos/lib/../lib64/libquadmath.so 
/opt/fftw/3.3.0.0/interlagos/lib/libfftw3.so 
/opt/fftw/3.3.0.0/interlagos/lib/libfftw3f.so 
/opt/gcc/4.6.1/snos/lib/../lib64/libgomp.so -lrt 
/opt/gcc/4.6.1/snos/lib/../lib64/libstdc++.so -Wl,-rpath 
-Wl,/opt/gcc/4.6.1/snos/lib/../lib64 -Wl,-rpath 
-Wl,/opt/fftw/3.3.0.0/interlagos/lib -Wl,-rpath 
-Wl,/opt/gcc/4.6.1/snos/lib/../lib64 -Wl,-rpath 
-Wl,/opt/fftw/3.3.0.0/interlagos/lib
/usr/bin/ld: attempted static link of dynamic object 
`/opt/gcc/4.6.1/snos/lib/../lib64/libgfortran.so'
collect2: ld returned 1 exit status
[...]

(full config.log is attached).

I remember Markus telling me that on the Juelich BlueGene dynamic 
linking lead to huge startup times, as each of the processes tried to 
load a dynamic library from a single node in turn (I hope I understood 
this correctly), so I'm a bit worried that I will run into the same 
problem here, once we scale up to 100,000+ processes.

Thanks a lot,

Eike

Christian Engwer wrote:
> Hi Eike,
> 
>> has anyone ever tried to compile Dune (and ALUGrid) with the Cray
>> C++ compiler (in particular version 7.4.4)? I'm just porting my code
> 
> you might ask the people at PSI. They do use a Cray. As far as I know,
> everybody one uses the g++ compiler, or clang.
> 
>> to Hector, the UK supercomputer, which is a Cray XE6 system, and I'm
>> aware that this is not one of the tested compilers, but maybe
>> someone has tried this before?
> 
> I you succeed, we are curious to hear about your experiences :-)
> 
> Christian
> 

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


More information about the Dune mailing list