arrayfire / arrayfire/arrayfire-fortran
Does not seem to build with homebrew version of gfortran on OSX
- 主要言語
- Fortran
- スター
- 24
- フォーク
- 5
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
With array fire installed to the default **/usr/local** directory, and this being correctly set in common.mk, this fails with the following error: **gfortran: error trying to exec 'cc1plus': execvp: No such file or directory**
When using gcc instead (changing @gfortran to gcc in the makefile), I get the following errors:
ndefined symbols for architecture x86_64:
"_MAIN__", referenced from:
_main in for_main.o
"__ZN2af14getDeviceCountEv", referenced from:
_af_device_count_ in fortran_wrapper.o
"__ZN2af15choleskyInPlaceERNS_5arrayEb", referenced from:
_af_arr_cholesky_inplace_ in fortran_wrapper.o
"__ZN2af2luERNS_5arrayES1_S1_RKS0_", referenced from:
_af_arr_lu_ in fortran_wrapper.o
"__ZN2af2qrERNS_5arrayES1_RKS0_", referenced from:
_af_arr_qr_ in fortran_wrapper.o
"__ZN2af3absERKNS_5arrayE", referenced from:
_af_arr_abs_ in fortran_wrapper.o
"__ZN2af3cosERKNS_5arrayE", referenced from:
_af_arr_cos_ in fortran_wrapper.o
"__ZN2af3expERKNS_5arrayE", referenced from:
_af_arr_exp_ in fortran_wrapper.o
"__ZN2af3logERKNS_5arrayE", referenced from:
_af_arr_log_ in fortran_wrapper.o
"__ZN2af3maxERKNS_5arrayEi", referenced from:
_af_arr_max_ in fortran_wrapper.o
"__ZN2af3minERKNS_5arrayEi", referenced from:
_af_arr_min_ in fortran_wrapper.o
"__ZN2af3powERKNS_5arrayES2_", referenced from:
_af_arr_elpow_ in fortran_wrapper.o
"__ZN2af3powERKNS_5arrayEd", referenced from:
_af_arr_scpow_ in fortran_wrapper.o
"__ZN2af3seqC1Eddd", referenced from:
_af_arr_get_ in fortran_wrapper.o
_af_arr_get2_ in fortran_wrapper.o
_af_arr_get_seq_ in fortran_wrapper.o
_af_arr_set_ in fortran_wrapper.o
_af_arr_set2_ in fortran_wrapper.o
_af_arr_set_seq_ in fortran_wrapper.o
_af_idx_seq_ in fortran_wrapper.o
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
common.mk と makefile から始め、デフォルトの /usr/local インストールを使って macOS 上で Homebrew gfortran のビルドを再現します。cc1plus の失敗と報告された未定義シンボルを調査します。文書化された構成で Fortran wrapper のビルドとリンクが正常に完了すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- fortran, macos
- 領域
- build-system, operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100