arrayfire / arrayfire/arrayfire-fortran

Does not seem to build with homebrew version of gfortran on OSX

Đang mở
#7 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Fortran
Star
24
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu với common.mk và makefile, sau đó tái hiện quá trình build Homebrew gfortran trên macOS bằng cách sử dụng cài đặt mặc định tại /usr/local. Kiểm tra lỗi cc1plus và các symbol chưa được định nghĩa được báo cáo; hoàn tất khi Fortran wrapper được build và liên kết thành công với cấu hình được ghi chép.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
fortran, macos
Lĩnh vực
build-system, operating-systems
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.