Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GENIE on macOS arm architecture #259

Open
soleti opened this issue Mar 5, 2023 · 0 comments
Open

GENIE on macOS arm architecture #259

soleti opened this issue Mar 5, 2023 · 0 comments

Comments

@soleti
Copy link

soleti commented Mar 5, 2023

Hello,

I am having problem running GENIE on a M1 Mac. I was able to compile everything, but when I try to run e.g. genie, it fails to load the libraries:

(base) roberto@Stefanos-MacBook-Pro Generator-R-3_02_02 % genie
   ------------------------------------------------------------------
  | Welcome to ROOT 6.26/10                        https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for macosxarm64 on Mar 05 2023, 11:33:00                   |
  | From heads/latest-stable@4dddea35                                |
  | With Apple clang version 14.0.0 (clang-1400.0.29.202)            |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------

root [0] 
Processing /Users/roberto/GENIE/Generator-R-3_02_02/src/scripts/gcint/genie_setup.C...
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/root_install/lib/libEGPythia6.so, 0x0009): symbol not found in flat namespace '__gfortran_compare_string'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGFwMsg-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie5utils3str10TrimSpacesENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGFwReg-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie14gAbortingInErrE'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGFwAlg-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgC1ENSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGFwInt-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie10PDGLibrary4FindEib'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGFwGHEP-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie10PDGLibrary4FindEib'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGFwNum-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie14gAbortingInErrE'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGFwUtl-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie10Kinematics4SetWEdb'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGFwParDat-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie13AlgConfigPool8InstanceEv'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGFwEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgC1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGFwNtp-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie11EventRecord5ClassEv'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhXSIg-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie10Kinematics12SetHadSystP4ERK14TLorentzVector'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhPDF-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhNuclSt-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgC1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhCmn-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhDcy-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN4ROOT4Math12GSLMinimizer11SetFunctionERKNS0_26IBaseFunctionMultiDimTemplIdEE'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhHadTransp-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgC1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhHadnz-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhDeEx-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie12GHepParticle5SetPxEd'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhAMNGXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhAMNGEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie10PDGLibrary4FindEib'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhChmXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhCohXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhCohEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhDISXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgC1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhDISEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhDfrcXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhDfrcEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhHELptnXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhHELptnEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhIBDXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgC1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhIBDEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhHadTens-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhMNucXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhMNucEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhMEL-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie5utils3gsl29Integration1DimTypeFromStringENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhNuElXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhNuElEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhQELXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgC1ENSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhQELEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgC1ENSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhResXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhResEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhStrXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhStrEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhHEDISXS-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGPhHEDISEG-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5RgAlgD1Ev'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGTlGeo-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie11PDGCodeList9push_backEi'
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/roberto/GENIE/Generator-R-3_02_02/lib/libGTlFlx-3.02.02.dylib, 0x0009): symbol not found in flat namespace '__ZN5genie10PDGLibrary4FindEib'
Failed to load GENIE libraries

Could you please let me know if I am doing something wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant