2013-07-02 39 views
0

我想從英特爾運行示例文件使用其mkl軟件與C + +。但是,我無法讓它運行。正如我從來沒有使用過C++,我假設我正在犯一個簡單的錯誤。運行英特爾mkl示例程序 - 沒有這樣的文件

Here是英特爾文檔說明,我遵循示例代碼。它開始第11頁。

我在我的終端上運行這:

g++ -m64 -I/opt/intel/composer_xe_2013.5.198/mkl/include dgemm_example.c 

這是我的錯誤:

Undefined symbols for architecture x86_64: 
    "_MKL_free", referenced from: 
     _main in cc9RJYcW.o 
    "_MKL_malloc", referenced from: 
     _main in cc9RJYcW.o 
    "_cblas_dgemm", referenced from: 
     _main in cc9RJYcW.o 
ld: symbol(s) not found for architecture x86_64 
collect2: ld returned 1 exit status 

我要指出,我在我的2012年中期運行此macbook視網膜。

回答

相關問題