【问题标题】:Compiling LAPACK on Solaris在 Solaris 上编译 LAPACK
【发布时间】: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 为我提供的任何东西,我们已经解决了最后一个错误。

【问题讨论】:

    标签: solaris lapack sunos


    【解决方案1】:

    好吧,我现在似乎在系统上安装了 scipy 和 LAPACK / BLAS。因此,如果它可以帮助任何人,秘诀似乎是将 -ftrap=%none 添加到从 INSTALL/make.inc.SUN4SOL 复制的 make.inc 中的标志中,并(在构建 scipy 时)将环境变量 LAPACK 和 BLAS 设置为编译后指向相应的库。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-06-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-11-05
      相关资源
      最近更新 更多