-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
my os is centos 6.6 ,when i make for openblas .at last error is :
linktest.c:(.text+0x3218): undefined reference to zlatme_' linktest.c:(.text+0x321f): undefined reference to zlatmr_'
linktest.c:(.text+0x3226): undefined reference to zlatms_' linktest.c:(.text+0x322d): undefined reference to zlatmt_'
collect2: ld returned 1 exit status
make[1]: *** [../libopenblas_haswellp-r0.2.19.so] Error 1
make[1]: Leaving directory `/home/OpenBLAS-0.2.19/exports'
why?
then i can make install to /opt/openblas
when i use R language to test openblas,
update-alternatives --config libblas.so.3,no any output,
i have installed blas and openblas
blas is in /usr/lib64
openblas is in /opt/openblas
go to r shell
x <- matrix(1:(3000 * 3000), 3000, 3000)
system.time(tmp <- x %% x)
user system elapsed
38.817 0.061 38.866
i force to subtitude libblas.so.3 to openblas version
unlink /usr/lib64/libblas.so.3
ln -s ln -s /opt/OpenBLAS/lib/libopenblas.so /usr/lib64/libblas.so.3
unlink /usr/lib64/liblapack.so.3
ln -s /opt/OpenBLAS/lib/libopenblas.so /usr/lib64/openblas/liblapack.so.3
system.time(tmp <- x %% x)
user system elapsed
35.217 0.049 35.255
echo $LD_LIBRARY_PATH , result is
/home/data2/daqi/pcre-8.39/lib:/home/data2/daqi/xz-5.2.2/lib:/home/data2/daqi/hdf5-1.8.8/lib:/usr/local/lib64/R/lib:/usr/local/lib:/usr/lib:/usr/lib64:
both almost have no difference . I donot know why.
anyone tell me which step is wrong in my process.