centos lapack安装错误gfortran

时间:2013-12-18 20:33:18

标签: install centos scipy lapack

我正在尝试安装lapack和blas来安装scipy和numpy。

但是我无法编译lapack和blas。

我安装numpy没有lapack和blas,

但是scipy需要他们。

当我尝试安装lapack时,

( cd INSTALL; make; ./testlsame; ./testslamch; ./testdlamch; \
    ./testsecond; ./testdsecnd; ./testieee; ./testversion )
make[1]: Entering directory `/home/yjyoon/util/lapack_3.5.0/INSTALL'
gfortran  -O2 -frecursive -c lsame.f -o lsame.o
make[1]: gfortran: Command not found
make[1]: *** [lsame.o] Error 127
make[1]: Leaving directory `/home/yjyoon/util/lapack_3.5.0/INSTALL'
/bin/sh: ./testlsame: No such file or directory
/bin/sh: ./testslamch: No such file or directory
/bin/sh: ./testdlamch: No such file or directory
/bin/sh: line 1: ./testsecond: No such file or directory
/bin/sh: line 1: ./testdsecnd: No such file or directory
/bin/sh: line 1: ./testieee: No such file or directory
/bin/sh: line 1: ./testversion: No such file or directory
make: *** [lapack_install] Error 127

以上错误信息来了。

我提到这个网站。 http://www.netlib.org/lapack/lawn81/node13.html

所以我输入

cp ./make.inc.example make.inc

但是,我不知道如何更改Makefile。

目前,我不能使用yum。

所以我需要从源代码安装所有东西。

如果您知道如何安装,请告诉我。

提前致谢,

Jaime告诉我,

我尝试使用make编译BLAS 结果是,

gfortran -O3 -c isamax.f -o isamax.o
make: gfortran: Command not found
make: *** [isamax.o] Error 127

在这种情况下,错误127来了

make : gfortran : Command not found

也表明了。

这可能是gfortran的问题。

现在我正在使用centos 5.9

我不能使用路线帐户。

如果我可以确定我可以安装程序而不影响其他人的帐户 即使我使用路线帐户, 也许管理员允许我使用路由帐户。

0 个答案:

没有答案
相关问题