我正在尝试从源代码安装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
答案 0 :(得分:0)
根据您是否需要fortran,使用带有macports的+ nofortran标志适用于小牛队。如果你需要fortran,请尝试将编译器设置为gcc4x而不是clang-mp-3.3