arrayfire / arrayfire/arrayfire-fortran

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

Ouverte
#7 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Fortran
Étoiles
24
Forks
5
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par common.mk et le makefile, puis reproduisez la compilation de Homebrew gfortran sur macOS en utilisant l’installation par défaut dans /usr/local. Examinez l’échec de cc1plus et les symboles non définis signalés ; c’est terminé lorsque le wrapper Fortran se construit et se lie correctement avec la configuration documentée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
fortran, macos
Domaine
build-system, operating-systems
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.