2013-12-20 37 views
3

我想從源安裝ATLAS(因爲我需要LAPACK/BLAS),因爲安裝失敗通過Macports(可能出於同樣的原因?)。編譯器不能位於儘管多次試圖將其設置:OSX小牛ATLAS安裝從源和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

我無法幫助解決安裝問題,但LAPACK/BLAS包含在OS X中。使用它的最簡單方法是'#include '並鏈接到Accelerate框架中('-framework Accelerate'與Apple鏈接器,或者在Xcode中,以通常的方式將其添加到項目中)。 –

+0

感謝您的提示!不幸的是,在這種情況下,它是別人的軟件,我使用的軟件具有LAPACK/BLAS依賴性,並且我試圖避免太多黑客攻擊。我想我可以建議他們做一些平臺相關的mod。 – jtlz2

+0

這不是一個修復程序,但我能夠很好地指定編譯器來獲取加速版本。但我沒有回答這個問題,希望有人能解決它! :) – jtlz2

回答

0

根據您是否需要fortran或不,在maculator上使用+ nofortran標誌可以工作在特拉華州。如果你需要Fortran,請嘗試將編譯器設置爲gcc4x而不是鐺-mp-3.3