[Wien] opteron compile problem
Zhang Yongsheng
zhang at fhi-berlin.mpg.de
Mon May 8 17:31:04 CEST 2006
Dear Prof. Peter,
Based on your suggestion, I installed ifc9.0 in the opteron machine.
Because the machine do not have MKL lib. Therefore, I took ATLAS instead.
current:FOPT:-FR -mp -w
current:LDFLAGS:-L../SRC_lib -L/usr/local/ATLAS/lib/Linux_HAMMER64SSE2_2
current:DPARALLEL:'-DParallel'
current:R_LIBS:-latlas -llapack-atlas -ltstatlas -ltstatlas
While there are lots of error message in SRC_lapw1 and SRC_lapw2
packages during compile, like following:
bandv1.o(.text+0x9a7): In function `bandv1_':
: undefined reference to `dlarnv_'
calkpt.o(.text+0x356): In function `calkpt_':
: undefined reference to `dswap_'
dblr2k.o(.text+0xb9): In function `dblr2k_':
: undefined reference to `dsyr2k_'
dblr2k.o(.text+0x17e): In function `dblr2k_':
: undefined reference to `dgemm_'
dblr2k.o(.text+0x236): In function `dblr2k_':
: undefined reference to `dgemm_'
dgeqrl.o(.text+0x53): In function `dgeqrl_':
: undefined reference to `lsame_'
dgeqrl.o(.text+0x192): In function `dgeqrl_':
: undefined reference to `dlarf_'
dgeqrl.o(.text+0x30d): In function `dgeqrl_':
: undefined reference to `dlarf_'
dgewy.o(.text+0x4e): In function `dgewy_':
Then, I discard ATLAS lib, and try to only use libs in SRC_lib.
current:FOPT:-FR -mp -w
current:LDFLAGS:-L../SRC_lib
current:DPARALLEL:'-DParallel'
current:R_LIBS:-llapack_lapw -lblas_lapw
After compile, everything is fine, except SRC_lapw2 package. In the
compile.msg of SRC_lapw2:
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x5eb): In function `dgemm_':
: undefined reference to `lsame_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x607): In function `dgemm_':
: undefined reference to `lsame_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x64e): In function `dgemm_':
: undefined reference to `lsame_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x66d): In function `dgemm_':
: undefined reference to `lsame_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x6aa): In function `dgemm_':
: undefined reference to `lsame_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x6c7): more undefined
references to `lsame_' follow
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0xd91): In function `dgemm_':
: undefined reference to `xerbla_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0xfd8): In function `dgemv_':
: undefined reference to `lsame_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0xff4): In function `dgemv_':
: undefined reference to `lsame_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x1010): In function `dgemv_':
: undefined reference to `lsame_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x10e9): In function `dgemv_':
: undefined reference to `lsame_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x11d4): In function `dgemv_':
: undefined reference to `lsame_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x13b6): In function `dgemv_':
: undefined reference to `xerbla_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x17e8): In function `dger_':
: undefined reference to `xerbla_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x1ad7): In function `dspmv_':
: undefined reference to `lsame_'
../SRC_lib/libblas_lapw.a(blas_lapw1.o)(.text+0x1af3): In function `dspmv_':
: undefined reference to `lsame_'
Which kind of lib should I use?
thanks you very much.
--
Best Regards,
Yongsheng Zhang
---------------------------------------------------------------------
Address: Fritz-Haber-Institut, Abt. Theorie
Faradayweg 4-6 D-14195 Berlin (Germany)
Phone: +49 30 8413 4818
Fax: +49 30 8413 4701
Email: zhang at fhi-berlin.mpg.de
---------------------------------------------------------------------
1-0.0735-11600-23.05
More information about the Wien
mailing list