我正在尝试从源代码在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,将 +nofortran 标志与 macports 一起使用适用于特立独行。 如果您需要 fortran,请尝试将编译器设置为 gcc4x 而不是 clang-mp-3.3