[CPMD-list] bug in optimized libatlas.a for pentium-II/pentium-IV
Axel Kohlmeyer
axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Mon Sep 15 17:16:48 CEST 2003
hi everybody!
those who have recently downloaded the 'unified' optimized
BLAS/LAPACK/ATLAS libraries from
http:/www.theochem.ruhr-uni-bochum.de/~axel.kohlmeyer/cpmd-linux.html#atlas
should note, that there seems to be problem in the pentium-II pentium-IV
libraries (thanks to jim kress for pointing this out to me).
upon linking, you may get an error like:
./libatlas.a(cwrappers.o): In function xerbla_':
cwrappers.o(.text+0x70): multiple definition of xerbla_'
./libatlas.a(xerbla.o)(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol xerbla_' changed from 97 to 99
in ./libatlas.a(cwrappers.o)
./libatlas.a(xerbla.o): In function xerbla_':
xerbla.o(.text+0xe): undefined reference to s_wsfe'
xerbla.o(.text+0x29): undefined reference to do_fio'
xerbla.o(.text+0x44): undefined reference to do_fio'
xerbla.o(.text+0x49): undefined reference to e_wsfe'
xerbla.o(.text+0x5d): undefined reference to s_stop'
make: *** [cpmd.x] Error 2
to correct this, please issue the command:
ar dvs libatlas_p2.a xerbla.o
or
ar dvs libatlas_p4.a xerbla.o
or
ar dvs libatlas.a xerbla.o
the amd athlon version is not affected, AFAICT.
i also have replaced the files that are available for
download with the corrected versions.
please let me know, if there are still problems.
sorry for the screw-up,
axel kohlmeyer.
--
=======================================================================
Axel Kohlmeyer e-mail: axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Lehrstuhl fuer Theoretische Chemie Phone: ++49 (0)234/32-26673
Ruhr-Universitaet Bochum - NC 03/53 Fax: ++49 (0)234/32-14045
D-44780 Bochum http://www.theochem.ruhr-uni-bochum.de/~axel.kohlmeyer/
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.
More information about the CPMD-list
mailing list