Closed ulricci6 closed 1 year ago
Hi @ulricci6 have you tried with a more recent version of Ma5? Also please make sure that your Xcode is up to date. For a future note, if you dont give more information about your system there is no way we can know what is going on.
Hi, thank you very much for your prompt reply. I tried also with Ma5 v10.4 and v2.0.4 but I get the same error and Xcode is updated. Here my system details
MacOs Ventura 13.1 Python 3.9.6
gcc: Apple clang version 14.0.0 (clang-1400.0.29.202) Target: x86_64-apple-darwin22.2.0 Thread model: posix
Thanks, Lorenzo
Hi @ulricci6 I have the exact same system, but I can not reproduce your issue. Could you run ma5 in debug mode? If you have multiple versions of the compiler in your system, Ma5 might not be able to see the one that you want it to use.
Hi, here the output of the debug mode
MA5: *****
MA5-DEBUG (launcher.MainSession() in launcher.py::L260):
MA5-DEBUG (launcher.MainSession() in launcher.py::L261): DEBUG MODE ACTIVATED
MA5-DEBUG (launcher.MainSession() in launcher.py::L262):
MA5: Platform: Darwin 22.2.0 [MAC/OSX mode]
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L76):
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L77): Machine - Cross platform information
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L78): Machine type: x86_64
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L79): Processor name: i386
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L80): Platform: macOS-13.1-x86_64-i386-64bit
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L81): Platform release: 22.2.0
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L82): System: Darwin
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L83): Node: LPTP-B204746
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L84): Number of cores: 16
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L85):
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L88): Machine - OS-specific information
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L93): Java version: ('', '', ('', '', ''), ('', '', ''))
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L98): Windows version: ('', '', '', '')
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L103): Mac Os version: ('13.1', ('', '', ''), 'x86_64')
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L108): Unix distribution: macOS-13.1-x86_64-i386-64bit
MA5-DEBUG (checkup.CheckArchitecture() in checkup.py::L109):
MA5: Reading user settings ...
MA5-DEBUG (user_info.ReadUserOptions() in user_info.py::L277): Opening the file: /Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/madanalysis/input/installation_options.dat
MA5-DEBUG (user_info.ReadUserOptions() in user_info.py::L285): Lines to interpret:
MA5-DEBUG (user_info.ReadUserOptions() in user_info.py::L308): Closing the file: /Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/madanalysis/input/installation_options.dat
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L125):
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L126): User
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L127): User name: lricci
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L129): User ID: 503
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L130): Expanding folder ~/: /Users/lricci/
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L136): Variable $USER: lricci
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L136): Variable $USERNAME:
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L136): Variable $LNAME:
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L136): Variable $LOGNAME: lricci
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L136): Variable $HOME: /Users/lricci
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L136): Variable $HOMEDRIVE:
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L136): Variable $posix:
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L136): Variable $HOMEPATH:
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L137):
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L140): Web access
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L146): enable
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L147):
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L151): Temporary folder
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L176): Variable $TMPDIR: /var/folders/np/0h8pb2rs2slb_11gjtt5s38r0000gq/T/
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L179): Check if the folder /var/folders/np/0h8pb2rs2slb_11gjtt5s38r0000gq/T exists ...
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L181): -> found
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L176): Variable $TMP:
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L176): Variable $TEMP:
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L211): temporary folder will be used for MA5: /var/folders/np/0h8pb2rs2slb_11gjtt5s38r0000gq/T
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L215):
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L218): Download dir
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L239): Check if the folder /var/folders/np/0h8pb2rs2slb_11gjtt5s38r0000gq/T/MA5_downloads exists ...
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L241): -> found
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L254): download folder will be used for MA5: /var/folders/np/0h8pb2rs2slb_11gjtt5s38r0000gq/T/MA5_downloads
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L258):
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L262): Text editor
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L263): Look for the global variable $EDITOR ...
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L271): -> variable not found. VI editor is set by default.
MA5-DEBUG (checkup.CheckSessionInfo() in checkup.py::L275):
MA5: Checking mandatory packages:
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L49): ------------------------------------------------------
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L51): Detect package python
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L238): Try to detect automatically the package ...
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L278): Extract more informations related to the package ...
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L59):
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L60): Python release: 3.10.6
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L61): Python build: ('main', 'Oct 13 2022 17:06:18')
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L62): Python compiler: Clang 14.0.0 (clang-1400.0.29.102)
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L63): Python prefix: /Users/lricci/.pyenv/versions/3.10.6
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L64): Python executable used: /Users/lricci/.pyenv/versions/3.10.6/bin/python
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L68): sys.executable: /Users/lricci/.pyenv/versions/3.10.6/bin/python
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L74): which: /Users/lricci/.pyenv/versions/3.10.6/bin/python
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L83): which-all:
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L85): - /Users/lricci/.pyenv/versions/3.10.6/bin/python
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L85): - /Users/lricci/.pyenv/shims/python
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L89): Python internal paths:
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L92): - /Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools/ReportGenerator/Services
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L92): - /Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L92): - /Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/bin
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L92): - /Users/lricci/.pyenv/versions/3.10.6/lib/python310.zip
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L92): - /Users/lricci/.pyenv/versions/3.10.6/lib/python3.10
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L92): - /Users/lricci/.pyenv/versions/3.10.6/lib/python3.10/lib-dynload
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L92): - /Users/lricci/.pyenv/versions/3.10.6/lib/python3.10/site-packages
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L93): $PYTHONPATH:
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L99): EMPTY OR NOT FOUND
MA5-DEBUG (detect_python.ExtractInfo() in detect_python.py::L104):
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L296): Saving informations ...
MA5: - Python [OK]
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L49): ------------------------------------------------------
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L51): Detect package gpp
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L238): Try to detect automatically the package ...
MA5-DEBUG (detect_gpp.AutoDetection() in detect_gpp.py::L69): which: /usr/bin/g++
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L278): Extract more informations related to the package ...
MA5-DEBUG (detect_gpp.ExtractInfo() in detect_gpp.py::L106): which-all:
MA5-DEBUG (detect_gpp.ExtractInfo() in detect_gpp.py::L108): - /usr/bin/g++
MA5-DEBUG (detect_gpp.ExtractInfo() in detect_gpp.py::L120): version: 14.0.0
MA5-DEBUG (detect_gpp.ExtractInfo() in detect_gpp.py::L149): search path for headers:
MA5-DEBUG (detect_gpp.ExtractInfo() in detect_gpp.py::L151): - /usr/local/include
MA5-DEBUG (detect_gpp.ExtractInfo() in detect_gpp.py::L151): - /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1
MA5-DEBUG (detect_gpp.ExtractInfo() in detect_gpp.py::L151): - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include
MA5-DEBUG (detect_gpp.ExtractInfo() in detect_gpp.py::L151): - /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include
MA5-DEBUG (detect_gpp.ExtractInfo() in detect_gpp.py::L151): - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
MA5-DEBUG (detect_gpp.ExtractInfo() in detect_gpp.py::L152): search path for libraries:
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L296): Saving informations ...
MA5: - GNU GCC g++ [OK]
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L49): ------------------------------------------------------
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L51): Detect package make
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L238): Try to detect automatically the package ...
MA5-DEBUG (detect_make.AutoDetection() in detect_make.py::L66): which: /usr/bin/make
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L278): Extract more informations related to the package ...
MA5-DEBUG (detect_make.ExtractInfo() in detect_make.py::L80): which-all:
MA5-DEBUG (detect_make.ExtractInfo() in detect_make.py::L82): - /usr/bin/make
MA5-DEBUG (detect_make.ExtractInfo() in detect_make.py::L99): version: GNU Make 3.81
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L296): Saving informations ...
MA5: - GNU Make [OK]
MA5: Checking optional packages devoted to data processing:
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L49): ------------------------------------------------------
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L51): Detect package zlib
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L152): Is there a veto? ...
MA5-DEBUG (detect_zlib.IsItVetoed() in detect_zlib.py::L83): no user veto
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L184): Detection of the package in the location specified by the user ...
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L209): Detection of the package in the "tools" folder ...
MA5-DEBUG (detect_zlib.ToolsDetection() in detect_zlib.py::L180): Look for zlib folder in path /Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools/zlib ...
MA5-DEBUG (detect_zlib.ToolsDetection() in detect_zlib.py::L182): -> not found
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L238): Try to detect automatically the package ...
MA5-DEBUG (detect_zlib.AutoDetection() in detect_zlib.py::L221): Search for header & libraries possible paths...
MA5-DEBUG (detect_zlib.AutoDetection() in detect_zlib.py::L224): ->header paths=['.', '/usr/local/include', '/usr/local/opt/zlib/lib', '/usr/local/opt/zlib/include']
MA5-DEBUG (detect_zlib.AutoDetection() in detect_zlib.py::L225): ->library paths=['/usr/local/include', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1', '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include', '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include', '.', '/usr/libexec', '/usr/lib', '/usr/local/lib']
MA5-DEBUG (detect_zlib.AutoDetection() in detect_zlib.py::L228): Look for the header file zlib.h ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern zlib.h ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L215): -> no file found
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/local/include/zlib.h ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L212): -> found: /usr/local/include/zlib.h
MA5-DEBUG (detect_zlib.AutoDetection() in detect_zlib.py::L242): Look for the zlib libraries ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/local/include/libz.so ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/local/include/libz.a ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/local/include/libz.so. ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/local/include/libz.dylib ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L215): -> no file found
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/libz.so ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/libz.a ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/libz.so. ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/libz.dylib ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L215): -> no file found
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/libz.so ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/libz.a ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/libz.so. ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/libz.dylib ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L215): -> no file found
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libz.so ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libz.a ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libz.so. ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libz.dylib ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L215): -> no file found
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/libz.so ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/libz.a ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/libz.so. ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/libz.dylib ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L215): -> no file found
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern libz.so ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern libz.a ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern libz.so. ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern libz.dylib ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L215): -> no file found
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/libexec/libz.so ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/libexec/libz.a ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/libexec/libz.so. ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/libexec/libz.dylib ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L215): -> no file found
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/lib/libz.so ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/lib/libz.a ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/lib/libz.so. ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/lib/libz.dylib ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L215): -> no file found
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/local/lib/libz.so ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/local/lib/libz.a ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/local/lib/libz.so.* ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L208): look for pattern /usr/local/lib/libz.dylib ...
MA5-DEBUG (detect_zlib.LookForPattern() in detect_zlib.py::L215): -> no file found
MA5: - Zlib [DISABLED]
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L49): ------------------------------------------------------
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L51): Detect package fastjet
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L152): Is there a veto? ...
MA5-DEBUG (detect_fastjet.IsItVetoed() in detect_fastjet.py::L58): no user veto
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L184): Detection of the package in the location specified by the user ...
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L209): Detection of the package in the "tools" folder ...
MA5-DEBUG (detect_fastjet.ToolsDetection() in detect_fastjet.py::L95): Look for FastJet in the folder here:/Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools/fastjet/bin/fastjet-config ...
MA5-DEBUG (detect_fastjet.ToolsDetection() in detect_fastjet.py::L101): -> not found
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L238): Try to detect automatically the package ...
MA5: - FastJet [DISABLED]
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L49): ------------------------------------------------------
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L51): Detect package root
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L152): Is there a veto? ...
MA5-DEBUG (detect_root.IsItVetoed() in detect_root.py::L63): no user veto
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L184): Detection of the package in the location specified by the user ...
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L209): Detection of the package in the "tools" folder ...
MA5-DEBUG (detect_root.ToolsDetection() in detect_root.py::L96): Detecting root-config in the tools folder ...
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L238): Try to detect automatically the package ...
MA5-DEBUG (detect_root.AutoDetection() in detect_root.py::L131): which: /usr/local/bin/root-config [is it a link? True]
MA5-DEBUG (detect_root.AutoDetection() in detect_root.py::L133): -> /usr/local/Cellar/root/6.26.06_2/bin/root-config
MA5-DEBUG (detect_root.AutoDetection() in detect_root.py::L146): which-all:
MA5-DEBUG (detect_root.AutoDetection() in detect_root.py::L148): - /usr/local/bin/root-config
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L278): Extract more informations related to the package ...
MA5-DEBUG (detect_root.ExtractInfo() in detect_root.py::L154): Trying to get library and header paths ...
MA5-DEBUG (detect_root.ExtractInfo() in detect_root.py::L173): -> root-config found
MA5-DEBUG (detect_root.ExtractInfo() in detect_root.py::L174): -> root version: 6.26.06
MA5-DEBUG (detect_root.ExtractInfo() in detect_root.py::L175): -> root header folder: /usr/local/Cellar/root/6.26.06_2/include/root
MA5-DEBUG (detect_root.ExtractInfo() in detect_root.py::L176): -> root library folder: /usr/local/Cellar/root/6.26.06_2/lib/root
MA5-DEBUG (detect_root.ExtractInfo() in detect_root.py::L182): Try to find /usr/local/Cellar/root/6.26.06_2/lib/root/libCore.so ...
MA5-DEBUG (detect_root.ExtractInfo() in detect_root.py::L182): Try to find /usr/local/Cellar/root/6.26.06_2/include/root/TH1F.h ...
MA5-DEBUG (detect_root.ExtractInfo() in detect_root.py::L203): features: ['asimage', 'builtin_afterimage', 'builtin_clang', 'builtin_cling', 'builtin_freetype', 'builtin_ftgl', 'builtin_llvm', 'builtin_nlohmannjson', 'builtin_openui5', 'builtin_vdt', 'builtin_xxhash', 'clad', 'cocoa', 'cxx17', 'dataframe', 'davix', 'exceptions', 'fftw3', 'fitsio', 'fortran', 'gdml', 'gnuinstall', 'http', 'imt', 'libcxx', 'mathmore', 'minuit2', 'mlp', 'mysql', 'opengl', 'pyroot', 'roofit', 'root7', 'rpath', 'runtime_cxxmodules', 'shared', 'spectrum', 'sqlite', 'ssl', 'tmva', 'tmva-cpu', 'tmva-pymva', 'vdt', 'webgui', 'xml', 'xrootd']
MA5-DEBUG (detect_root.ExtractInfo() in detect_root.py::L215): C++ compiler: clang++
MA5-DEBUG (detect_manager.Execute() in detect_manager.py::L296): Saving informations ...
MA5: - Root [OK]
MA5-DEBUG (config_checker.checkDelphes() in config_checker.py::L333): Delphes
MA5-DEBUG (config_checker.checkDelphes() in config_checker.py::L398): Look for Delphes in the folder /Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools ...
MA5-DEBUG (config_checker.checkDelphes() in config_checker.py::L428): -> not found
MA5: - Delphes [DISABLED]
MA5-DEBUG (config_checker.checkDelphesMA5tune() in config_checker.py::L534): Delphes-MA5tune
MA5-DEBUG (config_checker.checkDelphesMA5tune() in config_checker.py::L599): Look for DelphesMA5tune in the folder /Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools...
MA5-DEBUG (config_checker.checkDelphesMA5tune() in config_checker.py::L629): -> not found
MA5: - Delphes-MA5tune [DISABLED]
MA5-DEBUG (checkup.CreateSymLink() in checkup.py::L375): Creating symbolic link from /usr/local/Cellar/root/6.26.06_2/bin/root-config
MA5-DEBUG (checkup.CreateSymLink() in checkup.py::L376): to /Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config ...
MA5-DEBUG (checkup.SetFolder() in checkup.py::L499): -------- BEGIN: set environment variables --------
MA5-DEBUG (checkup.SetFolder() in checkup.py::L504): before PATH=/Users/lricci/.pyenv/versions/3.10.6/bin:/usr/local/Cellar/pyenv/2.3.9/libexec:/usr/local/Cellar/pyenv/2.3.9/plugins/python-build/bin:/Users/lricci/.pyenv/shims:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Library/Apple/usr/bin
MA5-DEBUG (checkup.SetFolder() in checkup.py::L505): --------
MA5-DEBUG (checkup.SetFolder() in checkup.py::L509): after PATH=/Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools/SampleAnalyzer/ExternalSymLink/Bin:/usr/local/Cellar/root/6.26.06_2/bin:/Users/lricci/.pyenv/versions/3.10.6/bin:/usr/local/Cellar/pyenv/2.3.9/libexec:/usr/local/Cellar/pyenv/2.3.9/plugins/python-build/bin:/Users/lricci/.pyenv/shims:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Library/Apple/usr/bin:
MA5-DEBUG (checkup.SetFolder() in checkup.py::L510): --------
MA5-DEBUG (checkup.SetFolder() in checkup.py::L515): before LD_LIBRARY_PATH=
MA5-DEBUG (checkup.SetFolder() in checkup.py::L516): --------
MA5-DEBUG (checkup.SetFolder() in checkup.py::L520): after LD_LIBRARY_PATH=/Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools/SampleAnalyzer/Lib:/Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools/SampleAnalyzer/ExternalSymLink/Lib:/usr/local/Cellar/root/6.26.06_2/lib/root::
MA5-DEBUG (checkup.SetFolder() in checkup.py::L521): --------
MA5-DEBUG (checkup.SetFolder() in checkup.py::L526): before DYLD_LIBRARY_PATH=
MA5-DEBUG (checkup.SetFolder() in checkup.py::L527): --------
MA5-DEBUG (checkup.SetFolder() in checkup.py::L532): after DYLD_LIBRARY_PATH=/Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools/SampleAnalyzer/Lib:/Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools/SampleAnalyzer/ExternalSymLink/Lib:/usr/local/Cellar/root/6.26.06_2/lib/root::
MA5-DEBUG (checkup.SetFolder() in checkup.py::L533): --------
MA5-DEBUG (checkup.SetFolder() in checkup.py::L535): -------- END: set environment variables --------
MA5: Checking the MadAnalysis 5 core library:
MA5-DEBUG (library_builder.checkMA5() in library_builder.py::L46): -> looking for folder: /tools/SampleAnalyzer/Lib
MA5-DEBUG (library_builder.checkMA5() in library_builder.py::L61): -> looking for file: /Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
MA5-DEBUG (library_builder.checkMA5() in library_builder.py::L63): -> file /Users/lricci/Documents/Physics/WMass/madanalysis5-1.10.4/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so not found.
Thanks
Hi @ulricci6 I see that you are using ROOT v6.26.06. The root compatibility on MacOS is a known issue hence it might be your problem as well. Could you please try to compile Ma5 without ROOT and let us know if the issue persists.
Hi, I managed to fix it reinstalling Xcode and the Xcode command line tools. I recently updated my Mac and it seems that this created some issue. ROOT instead is creating no problems. Thank you anyway for your help.
Question
Hi,
when I try to run MA5 on my Mac I get the following error
MA5: MA5: MA5: W E L C O M E to M A D A N A L Y S I S 5 MA5: __ __ MA5: /'_/`\/\ \/\ \ MA5: /\ \ \ \\ \ \ \/ MA5: \ \ __\ \ \ _ \ \``\ MA5: \ \ _/\ \ \ \/\ \/\ _\ \ MA5: \ _\ _\ _\ _\ _/ MA5: \// \//\//\//\// MA5: MA5: MA5 release : 1.9.60 2021/12/13 MA5: MA5: Comput. Phys. Commun. 184 (2013) 222-256 MA5: Eur. Phys. J. C74 (2014) 3103 MA5: MA5: The MadAnalysis Development Team - Please visit us at MA5: https://launchpad.net/madanalysis5 MA5: MA5: Type 'help' for in-line help. MA5: MA5: MA5: Platform: Darwin 22.2.0 [MAC/OSX mode] MA5: Reading user settings ... MA5: Checking mandatory packages: MA5: - Python [OK] MA5: - GNU GCC g++ [OK] MA5: - GNU Make [OK] MA5: Checking optional packages devoted to data processing: MA5: - Zlib [OK] MA5: - FastJet [DISABLED] MA5: - Root [DISABLED BY THE USER] MA5: - Delphes [DISABLED] MA5: - Delphes-MA5tune [DISABLED] MA5: Checking the MadAnalysis 5 core library: MA5: => First use of MadAnalysis (or the library is missing). MA5: MA5: ** MA5: Building SampleAnalyzer libraries
MA5: ** MA5: How many cores for the compiling? default = max = 16 Answer: 10 MA5: => Number of cores used for the compilation = 10 MA5: Writing the setup files ... MA5: Writing all the Makefiles ... MA5: ** MA5: Component 1/7 - test program: SampleAnalyzer configuration MA5: - Cleaning the project before building the test program ... MA5: - Compiling the source files ... MA5: - Linking the test program ... MA5: - Checking that the test program is properly built ... MA5: - Cleaning the project after building the test program ... MA5: - Running the test program ... MA5: - Checking the program output... MA5: => Status: [OK] MA5: ** MA5: Component 2/7 - library: SampleAnalyzer commons MA5: - Cleaning the project before building the library ... MA5: - Compiling the source files ... MA5-ERROR: impossible to compile the project. For more details, see the log file: MA5-ERROR: /Users/lricci/Documents/Physics/WMass/MG5_aMC_v3_4_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Commons/compilation.log MA5-ERROR: The library building aborted.
I attach the compilation.log file.
Thank you in advance, Lorenzo compilation.log