我正在尝试使用Redhat 4.1上的ATLAS构建LAPACK(完整版)。我根据lapack的tar文件成功构建了ATLAS:
atlas / configure --prefix = HOME / atlas --with-netlib-lapack-tarfile = HOME / lapack-3.4.1.tgz 制作 做检查 make install
但我需要整个LAPACK的安装。我找到了
http://math-atlas.sourceforge.net/atlas_install/atlas_install.html
和
建议更改默认make.inc.example的几行以构建其余的LAPACK。但是,我甚至无法使LAPACK的默认构建工作:
cp make.inc.example make.inc
compute-1-29.local make
( cd INSTALL; make; ./testlsame; ./testslamch; ./testdlamch; \
./testsecond; ./testdsecnd; ./testieee; ./testversion )
make[1]: Entering directory `/home/jmorgens/lap/lapack/INSTALL'
gfortran -O0 -c slamch.f -o slamch.o
/share/apps/gcc-trunk/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.2.0/f951: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
make[1]: *** [slamch.o] Error 1
make[1]: Leaving directory `/home/jmorgens/lap/lapack/INSTALL'
ASCII character set
Tests completed
/bin/sh: ./testslamch: No such file or directory
/bin/sh: ./testdlamch: No such file or directory
/bin/sh: ./testsecond: No such file or directory
/bin/sh: ./testdsecnd: No such file or directory
/bin/sh: ./testieee: No such file or directory
/bin/sh: ./testversion: No such file or directory
make: *** [lapack_install] Error 127
建议?