2013-12-20 3 views
3

설치가 Macports를 통해 실패했기 때문에 (아마도 같은 이유일까요?) Mavericks의 소스에서 ATLAS (LAPACK/BLAS가 필요하기 때문에)를 설치하려고합니다.소스와 Macport에서 OSX Mavericks ATLAS 설치가 실패했습니다

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

설치 문제는 해결할 수 없지만 OS X에는 LAPACK/BLAS가 포함되어 있습니다. 가장 쉬운 방법은'#include '를 선택하고 Accelerate 프레임 워크 (Apple 링커로 '-framework Accelerate'또는 Xcode에서 일반적인 방식으로 프로젝트에 추가)에 링크합니다. –

+0

팁 주셔서 감사! 불행히도이 경우 LAPACK/BLAS 의존성이있는 다른 사람의 소프트웨어입니다. 너무 많은 해킹을 피하려고합니다. 플랫폼에 의존하는 개조를 제안 할 수 있습니다. – jtlz2

+0

이것은 수정 사항이 아니지만 Accelerate 버전을 선택할 수 있도록 컴파일러를 충분히 지정할 수있었습니다. 그러나 나는 누군가가 그것을 고칠 수 있다는 희망에 답이없는이 질문을 남겨 두었습니다! :) – jtlz2

답변

0

당신 여부 fortran이 필요한지, macports와 함께 nofortran 플래그를 사용하면 매버릭이 작동합니다. 포트란이 필요하면 clang-mp-3.3 대신 gcc4x로 컴파일러를 설정하십시오.