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