LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: d.rohe_at_[hidden]
Date: 2006-01-11 05:03:32


Hi!

I have problems moving from a Linux 32 cluster running LAM 6, where
everything was fine, to a Linux 64 cluster running LAM 7. While
compilation works for the shared version of the executable, it does not
for the static version. However, I need to use the static version for
other reasons. Maybe someone has an idea. Here's what happens: (the
_int_new_arena stuff seems to be the actual error)

]$ ./compile/opteron_gcc.sh 5
rm -f *.o *.out.* *.il*
mpiCC -O3 -DFAST_MC -DNDEBUG -DUSE_MPI -I/opt/lam/gnu/include
-L/opt/lam/gnu/lib -DCOMMON -c common.C
mpiCC -O3 -DFAST_MC -DNDEBUG -DUSE_MPI -I/opt/lam/gnu/include
-L/opt/lam/gnu/lib -c Grid.C
mpiCC -O3 -DFAST_MC -DNDEBUG -DUSE_MPI -I/opt/lam/gnu/include
-L/opt/lam/gnu/lib -c CC.C
mpiCC -O3 -DFAST_MC -DNDEBUG -DUSE_MPI -I/opt/lam/gnu/include
-L/opt/lam/gnu/lib -c Diagrams_fast_mc.C
mpiCC -O3 -DFAST_MC -DNDEBUG -DUSE_MPI -I/opt/lam/gnu/include
-L/opt/lam/gnu/lib -c ODE_solver.C
mpicc -O3 -DFAST_MC -DNDEBUG -DUSE_MPI -I/opt/lam/gnu/include
-L/opt/lam/gnu/lib -c vmblock.c
mpicc -O3 -DFAST_MC -DNDEBUG -DUSE_MPI -I/opt/lam/gnu/include
-L/opt/lam/gnu/lib -c legendre.c
mpicc -O3 -DFAST_MC -DNDEBUG -DUSE_MPI -I/opt/lam/gnu/include
-L/opt/lam/gnu/lib -c basis.c
mpicc -O3 -DFAST_MC -DNDEBUG -DUSE_MPI -I/opt/lam/gnu/include
-L/opt/lam/gnu/lib -c implruku.c
mpiCC -O3 -DFAST_MC -DNDEBUG -DUSE_MPI -I/opt/lam/gnu/include
-L/opt/lam/gnu/lib -c test_global.C
mpiCC -O3 -DFAST_MC -DNDEBUG -DUSE_MPI -I/opt/lam/gnu/include
-L/opt/lam/gnu/lib common.o Grid.o CC.o Diagrams_fast_mc.o ODE_solver.o
implruku.o legendre.o basis.o vmblock.o test_global.C -o
test_fast_mc.out -lgsl -lgslcblas -lmpi -llam -static
/opt/lam/gnu/lib/liblam.a(ltdl.o)(.text+0x44f): In function `sys_dl_open':
/export/home/cluster-build-2004-10-15.23-53-23/rocks/src/roll/hpc/BUILD/lam-7.1.1/share/libltdl/ltdl.c:1101: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for
linking
/opt/lam/gnu/lib/liblam.a(kill.o)(.text+0xfe): In function
`lam_tmpdir_init_opt':
/export/home/cluster-build-2004-10-15.23-53-23/rocks/src/roll/hpc/BUILD/lam-7.1.1/share/etc/kill.c:123: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for
linking
/opt/lam/gnu/lib/liblam.a(lam_gethostby.o)(.text+0x34): In function
`lam_gethostbyaddr':
/export/home/cluster-build-2004-10-15.23-53-23/rocks/src/roll/hpc/BUILD/lam-7.1.1/share/etc/lam_gethostby.c:184: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for
linking
/opt/lam/gnu/lib/liblam.a(lam_gethostby.o)(.text+0x11): In function
`lam_gethostbyname':
/export/home/cluster-build-2004-10-15.23-53-23/rocks/src/roll/hpc/BUILD/lam-7.1.1/share/etc/lam_gethostby.c:121: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for
linking
/usr/lib/gcc-lib/x86_64-unknown-linux/3.2.3/../../../../lib64/libc.a(malloc.o)(.text+0x0): In function
`_int_new_arena':
: multiple definition of `_int_new_arena'
/opt/lam/gnu/lib/libmpi.a(malloc.o)(.text+0xbf2):/export/home/cluster-build-2004-10-15.23-53-23/rocks/src/roll/hpc/BUILD/lam-7.1.1/share/memory/ptmalloc2/arena.c:708: first defined
here
/usr/bin/ld: Warning: size of symbol `_int_new_arena' changed from 282
in /opt/lam/gnu/lib/libmpi.a(malloc.o) to 227 in
/opt/lam/gnu/lib/libmpi.a(malloc.o)
/usr/lib/gcc-lib/x86_64-unknown-linux/3.2.3/../../../../lib64/libc.a(malloc.o)(.text+0xf0): In function
`__malloc_check_init':
: multiple definition of `__malloc_check_init'
/opt/lam/gnu/lib/libmpi.a(malloc.o)(.text+0xda8):/export/home/cluster-build-2004-10-15.23-53-23/rocks/src/roll/hpc/BUILD/lam-7.1.1/share/memory/ptmalloc2/hooks.c:115: first defined
here
/usr/bin/ld: Warning: size of symbol `__malloc_check_init' changed from
116 in /opt/lam/gnu/lib/libmpi.a(malloc.o) to 136 in
/opt/lam/gnu/lib/libmpi.a(malloc.o)
/usr/lib/gcc-lib/x86_64-unknown-linux/3.2.3/../../../../lib64/libc.a(malloc.o)(.text+0x22e0): In function
`_int_realloc':
: multiple d
...

Cheers and thanks for any suggestions!

Daniel