【发布时间】:2012-12-04 18:44:26
【问题描述】:
我正在按照Does Python SciPy need BLAS? 上的建议将 scipy 本地安装到我在 SunOS 上的主目录(5.10 Generic_147440-12 sun4u sparc SUNW,Sun-Fire-V440)。但是,尽管我有 Python 2.7 工作,安装了 numpy,并且(我认为)编译了 BLAS 库,但我无法让 LAPACK 玩得很好。 我的 make.inc 是 make.inc.SUN4SOL2(对吗?),我已经将 f77 替换为 f95 的 FORTRAN 和 LOADER 变量,但后来我得到:
We are about to check whether infinity arithmetic
can be trusted. If this test hangs, set
ILAENV = 0 for ISPEC = 10 in LAPACK/SRC/ilaenv.f
*** Error code 136
make: Fatal error: Command failed for target `lapack_install'
即使我已编辑 ilaenv.f 以将 ILAENV = 0 设置为 ISPEC=10(和 ISPEC=11)。 现在我被困住了——如果有帮助,我的编译器会将自己标识为:
file `which f95`
/usr/local/rlib/SunStudio11/SUNWspro/bin/f95: ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required, dynamically linked, stripped
提前致谢, 克里斯
好的 - 一些进展:我已将 -ftrap=%none 标志添加到我的 make.inc 中,并安装了 GNU make 以代替 solaris 为我提供的任何东西,我们已经解决了最后一个错误。
【问题讨论】: