3

我正在尝试从源代码在 Mavericks 上安装 ATLAS(因为我需要 LAPACK/BLAS),因为通过 Macports 安装失败(可能是出于同样的原因?)。尽管多次尝试设置编译器,但仍无法找到它:

sudo ../configure -b 64 --prefix=/usr/local/atlas --with-netlib-lapack-tarfile=../../lapack-3.4.2.tgz -C alg /opt/local/bin/gcc-mp-4.7 -C if /opt/local/bin/gfortran-mp-4.7 --shared

突出的错误是:

Unable to find usable compiler for ICC; abortingMake sure compilers are in your path, and specify good compilers to configure
(see INSTALL.txt or 'configure --help' for details)make[1]: *** [atlas_run] Error 1

Macports 错误消息是:

--->  Fetching distfiles for atlas
--->  Verifying checksums for atlas
--->  Extracting atlas
--->  Applying patches to atlas
--->  Configuring atlas
Selected C compiler: /opt/local/bin/clang-mp-3.3
Selected F77 compiler: gfortran48
Error: org.macports.configure for port atlas returned: configure failure: command execution failed
Please see the log file for port atlas for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port atlas failed
4

1 回答 1

0

根据您是否需要 fortran,使用带有 macports 的 +nofortran 标志适用于小牛。如果您需要 fortran,请尝试将编译器设置为 gcc4x 而不是 clang-mp-3.3

于 2014-03-03T14:22:47.137 回答