gpt4 book ai didi

macports - OSX Mavericks ATLAS 从源和 Macports 安装失败

转载 作者:行者123 更新时间:2023-12-02 19:15:30 24 4
gpt4 key购买 nike

我正在尝试从源代码在 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

最佳答案

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

关于macports - OSX Mavericks ATLAS 从源和 Macports 安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20711699/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com