[molpro-user] Link failed during 2006.1 Opteron PGI mpich-gm build
Scott Yockel
yockel at unt.edu
Mon Sep 11 18:31:55 BST 2006
Molpro users,
I cannot successfully get Molpro2006.1 to link without getting multiple
definition of many "_int_xxx" functions or size of symbol changes in the
functions. I've even started over from scratch with "make veryclean" to
insure a fresh build with no predefined variables and still have this
problem. This build is on a Opteron running FC3 (2.4.22-1.2199.nptlsmp)
with Myrinet (gm-2.1.3), GA (ga-4-0), PGI (5.2), MPICH(1.2.5..10).
I'm not sure what the best approach next is, any help would be welcome.
>From running "nm" on the libmpich.a there is only one function defined
for the ones giving errors so I'm not sure how it gets different symbol
sizes. Also, from running "nm" on libc.a and libmpich.a the functions
are defined in both.
Thanks in advance,
~Scott Yockel
linking /home/adm/molpro2006.1/bin/molprop_2006_1_i8_amd64_myrinet.exe
link failed
/usr/local/pgi/linux86-64/5.2/bin/pgf90 -pc 64 -i8 -Mcache_align
-I./global -fast -Bstatic -o
/home/adm/molpro2006.1/bin/molprop_2006_1_i8_amd64_myrinet.exe molver.o
molpro.o -L/home/adm/molpro2006.1/lib -lmolpro
-L/CHEM/ga-4-0/lib/LINUX64 -lglobal -ltcgmsg-mpi -lma -lpario -larmci
-L/usr/local/gm/lib -lgm -lpthread
-L/usr/local/mpich/1.2.5..10/gcc/x86_64/lib -lmpich -L/usr/local/gm/lib
-lgm -lgks0 -L/usr/local/pgi/linux86-64/5.2/lib -lacml
-L/CHEM/ga-4-0/lib/LINUX64 -lglobal -ltcgmsg-mpi -lma -lpario -larmci
-L/usr/local/gm/lib -lgm -lpthread
-L/usr/local/mpich/1.2.5..10/gcc/x86_64/lib -lmpich -L/usr/local/gm/lib
-lgm -lz
/home/adm/molpro2006.1/lib/libmolpro.a(gecos.o)(.text+0x69): In function
`gecos_':
: warning: Using 'getpwnam' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
/home/adm/molpro2006.1/lib/libmolpro.a(licence.o)(.text+0x1baf): In
function `get_machine_info_c':
: warning: Using 'gethostbyname' in statically linked applications
requires at runtime the shared libraries from the glibc version used for
linking
/usr/lib64/libc.a(malloc.o)(.text+0x0): In function `_int_new_arena':
: multiple definition of `_int_new_arena'
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)(.text+0xb0b):
first defined here
/usr/bin/ld: Warning: size of symbol `_int_new_arena' changed from 174
in /usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)
to 227 in
/usr/lib64/libc.a(malloc.o)(.text+0xf0): In function `__malloc_check_init':
: multiple definition of `__malloc_check_init'
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)(.text+0xc5e):
first defined here
/usr/bin/ld: Warning: size of symbol `__malloc_check_init' changed from
120 in
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o) to
136 in /usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)
/usr/lib64/libc.a(malloc.o)(.text+0x2280): In function `_int_realloc':
: multiple definition of `_int_realloc'
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)(.text+0x357f):
first defined here
/usr/bin/ld: Warning: size of symbol `_int_realloc' changed from 821 in
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o) to
916 in /usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)
/usr/lib64/libc.a(malloc.o)(.text+0x1780): In function `_int_malloc':
: multiple definition of `_int_malloc'
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)(.text+0x2dd6):
first defined here
/usr/bin/ld: Warning: size of symbol `_int_malloc' changed from 1328 in
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o) to
1322 in /usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)
/usr/lib64/libc.a(malloc.o)(.text+0x2620): In function `_int_memalign':
: multiple definition of `_int_memalign'
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)(.text+0x38b4):
first defined here
/usr/bin/ld: Warning: size of symbol `_int_memalign' changed from 463 in
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o) to
449 in /usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)
/usr/lib64/libc.a(malloc.o)(.text+0x1cb0): In function `_int_free':
: multiple definition of `_int_free'
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)(.text+0x3306):
first defined here
/usr/bin/ld: Warning: size of symbol `_int_free' changed from 364 in
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o) to
1125 in /usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)
/usr/lib64/libc.a(malloc.o)(.text+0x3780): In function `_int_valloc':
: multiple definition of `_int_valloc'
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)(.text+0x3cc1):
first defined here
/usr/bin/ld: Warning: size of symbol `_int_valloc' changed from 63 in
/usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o) to
71 in /usr/local/mpich/1.2.5..10/gcc/x86_64/lib/libmpich.a(gmpi_malloc.o)
make: *** [bin/molprop_2006_1_i8_amd64_myrinet.exe] Error 1
--
-----------------------------------------------------
Dr. Scott Yockel
Postdoctoral Fellow with Dr. Paul S. Bagus
Center for Advanced Scientific Computing and Modeling
University of North Texas Department of Chemistry
Office: 940-565-2948, Chemistry 262C
http://www.chem.unt.edu/WilsonGroup/scotty.htm
-----------------------------------------------------
More information about the Molpro-user
mailing list