MA5 After Attempting Submit Job or Entering Debug Mode
macOS: Ventura 13.4
Python Version: 3.9.6
MA5 Version: 1.9.60
Root Version: 6.26
*Note that in the /madanalysis5/bin folder I edited the first line of ma5 from ""#!/usr/bin/env python" to "#!/usr/bin/env python3"
SUBMIT ERROR: The first error I receive is after executing "./bin/ma5 plots.ma5" then "submit example_plots". This causes the job to quit compiling and produces a log report, which can found below. Below I show the terminal executions under 'TERMINAL - SUBMIT ERROR' and the log report under 'LOG REPORT.'
DEBUG ERROR: The second error is produced by running "./bin/ma5 plots.ma5" which causes the system to not compile since the "python compiler not found." Below I show the terminal executions under 'TERMINAL - DEBUG ERROR'
-------
TERMINAL SUBMIT ERROR
-------
cesely@
MA5:
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:/
MA5: * *
MA5: * Type 'help' for in-line help. *
MA5: * *
MA5: *******
MA5: Platform: Darwin 22.5.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 [DISABLED]
MA5: - FastJet [DISABLED]
MA5: - Root [OK]
MA5: - Delphes [DISABLED]
MA5: - Delphes-MA5tune [DISABLED]
MA5: Checking the MadAnalysis 5 core library:
MA5: => MadAnalysis libraries found.
MA5: => MadAnalysis test program works.
MA5: Reading user settings ...
MA5: Checking optional packages devoted to reinterpretation:
MA5: - SciPy [DISABLED]
MA5: - PAD [DISABLED]
MA5: - PADForMA5tune [DISABLED]
MA5: - PADForSFS [DISABLED]
MA5: - pyhf [DISABLED]
MA5: Checking optional packages devoted to histogramming:
MA5: - Root [OK]
MA5: - Matplotlib [DISABLED]
MA5: - gnuplot [DISABLED]
MA5-WARNING: gnuplot disabled. Plots in gnuplot format file will not be produced.
MA5: - pdflatex [DISABLED]
MA5-WARNING: pdflatex disabled. Reports under the pdf format will not be compiled.
MA5: - latex [DISABLED]
MA5-WARNING: latex disabled. Reports under the dvi format will not be compiled.
MA5: Package used for graphical rendering: Root
MA5: *******
MA5: Particle labels exported from madanalysis/
MA5: => 87 particles successfully exported.
MA5: Multiparticle labels exported from madanalysis/
MA5: => Creation of the label 'invisible' (-> missing energy).
MA5: => Creation of the label 'hadronic' (-> jet energy).
MA5: => 8 multiparticles successfully exported.
MA5: Executing the commands from the script
MA5: /Users/
MA5: ma5># set directory where running "./bin/ma5"; set lumi; define the signal significance
MA5: ma5>set main.currentdir = /Users/
MA5: currentdir = /Users/
MA5: ma5>set main.lumi = 40.0
MA5: ma5>set main.fom.formula = 4
MA5: figure of merit (fom) - formula num 4: S/sqrt(S+B)
MA5: ma5># import samples --> change the path to the LHE file
MA5: ma5>import samples/signal.lhe as sample_1
MA5: -> Storing the file 'signal.lhe' in the dataset 'sample_1'.
MA5: ma5>import samples/bkg.lhe as sample_2
MA5: -> Storing the file 'bkg.lhe' in the dataset 'sample_2'.
MA5: ma5># define bg and signal samples
MA5: ma5>set sample_1.type = signal
MA5: ma5>set sample_2.type = background
MA5: ma5># define weights for the samples
MA5: ma5>set sample_1.weight = 1
MA5: ma5>set sample_2.weight = 1
MA5: ma5># titles for the plots
MA5: ma5>set sample_1.title = "Signal"
MA5: ma5>set sample_2.title = "Background"
MA5: ma5># line styles and colors
MA5: ma5>set sample_1.linecolor = blue
MA5: ma5>set sample_1.linestyle = dash-dotted
MA5: ma5>set sample_1.linewidth = 4
MA5: ma5>set sample_2.linecolor = black
MA5: ma5>set sample_2.linestyle = dashed
MA5: ma5>set sample_2.linewidth = 3
MA5: ma5># a jet can be from a light quark or b quark
MA5: ma5>define jets = j
MA5: ma5>define e = e+ e-
MA5: ma5>define mu = mu+ mu-
MA5: ma5>define ta = ta+ ta-
MA5: ma5>define lept = e mu ta
MA5: ma5># define which plots to make
MA5: ma5>plot PT(jets[1])
MA5: ma5>plot ETA(jets[1])
MA5: ma5>plot PHI(jets[1])
MA5: ma5>plot PT(jets[2])
MA5: ma5>plot ETA(jets[2])
MA5: ma5>plot PHI(jets[2])
MA5: ma5>plot DELTAR(jets[1], jets[2])
MA5: ma5>plot M(jets[1] jets[2])
MA5: ma5>plot MET
MA5: ma5>plot sdETA(j[1] j[2])
MA5: ma5>plot PT(lept[1])
MA5: ma5>plot ETA(lept[1])
MA5: ma5>plot PT(lept[2])
MA5: ma5>plot ETA(lept[2])
MA5: ma5>plot PT(lept[3])
MA5: ma5>plot ETA(lept[3])
MA5: ma5># set the plot/graph parameters
MA5: ma5>set selection[1].xmax = 1000
MA5: ma5>set selection[1].xmin = 0
MA5: ma5>set selection[1].nbins = 200
MA5: ma5>set selection[1].logY = true
MA5: ma5>set selection[1].logX = false
MA5: ma5>set selection[1].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[1].titleX = "p_{T}[j_{1}] (GeV)"
MA5: ma5>set selection[2].xmax = 8
MA5: ma5>set selection[2].xmin = -8
MA5: ma5>set selection[2].nbins = 160
MA5: ma5>set selection[2].logY = false
MA5: ma5>set selection[2].logX = false
MA5: ma5>set selection[2].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[2].titleX = "#eta[j_{1}]"
MA5: ma5>set selection[3].xmax = 3.2
MA5: ma5>set selection[3].xmin = -3.2
MA5: ma5>set selection[3].nbins = 64
MA5: ma5>set selection[3].logY = false
MA5: ma5>set selection[3].logX = false
MA5: ma5>set selection[3].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[3].titleX = "#phi[j_{1}]"
MA5: ma5>set selection[4].xmax = 500
MA5: ma5>set selection[4].xmin = 0
MA5: ma5>set selection[4].nbins = 100
MA5: ma5>set selection[4].logY = true
MA5: ma5>set selection[4].logX = false
MA5: ma5>set selection[4].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[4].titleX = "p_{T}[j_{2}] (GeV)"
MA5: ma5>set selection[5].xmax = 8
MA5: ma5>set selection[5].xmin = -8
MA5: ma5>set selection[5].nbins = 160
MA5: ma5>set selection[5].logY = false
MA5: ma5>set selection[5].logX = false
MA5: ma5>set selection[5].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[5].titleX = "#eta[j_{2}]"
MA5: ma5>set selection[6].xmax = 3.2
MA5: ma5>set selection[6].xmin = -3.2
MA5: ma5>set selection[6].nbins = 64
MA5: ma5>set selection[6].logY = false
MA5: ma5>set selection[6].logX = false
MA5: ma5>set selection[6].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[6].titleX = "#phi[j_{2}]"
MA5: ma5>set selection[7].xmax = 15
MA5: ma5>set selection[7].xmin = 0
MA5: ma5>set selection[7].nbins = 75
MA5: ma5>set selection[7].logY = false
MA5: ma5>set selection[7].logX = false
MA5: ma5>set selection[7].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[7].titleX = "#Delta#
MA5: ma5>set selection[8].xmax = 8000
MA5: ma5>set selection[8].xmin = 0
MA5: ma5>set selection[8].nbins = 160
MA5: ma5>set selection[8].logY = false
MA5: ma5>set selection[8].logX = false
MA5: ma5>set selection[8].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[8].titleX = "M[j_{1},j_{2}] (GeV)"
MA5: ma5>set selection[9].xmax = 1000
MA5: ma5>set selection[9].xmin = 0
MA5: ma5>set selection[9].nbins = 100
MA5: ma5>set selection[9].logY = true
MA5: ma5>set selection[9].logX = false
MA5: ma5>set selection[9].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[9].titleX = "#slash{E}_{T} (GeV)"
MA5: ma5>set selection[
MA5: ma5>set selection[
MA5: ma5>set selection[11].xmax = 1000
MA5: ma5>set selection[11].xmin = 0
MA5: ma5>set selection[11].nbins = 200
MA5: ma5>set selection[11].logY = true
MA5: ma5>set selection[11].logX = false
MA5: ma5>set selection[11].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[
MA5: ma5>set selection[12].xmax = 4
MA5: ma5>set selection[12].xmin = -4
MA5: ma5>set selection[12].nbins = 80
MA5: ma5>set selection[12].logY = false
MA5: ma5>set selection[12].logX = false
MA5: ma5>set selection[12].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[
MA5: ma5>set selection[13].xmax = 1000
MA5: ma5>set selection[13].xmin = 0
MA5: ma5>set selection[13].nbins = 200
MA5: ma5>set selection[13].logY = true
MA5: ma5>set selection[13].logX = false
MA5: ma5>set selection[13].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[
MA5: ma5>set selection[14].xmax = 4
MA5: ma5>set selection[14].xmin = -4
MA5: ma5>set selection[14].nbins = 80
MA5: ma5>set selection[14].logY = false
MA5: ma5>set selection[14].logX = false
MA5: ma5>set selection[14].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[
MA5: ma5>set selection[15].xmax = 1000
MA5: ma5>set selection[15].xmin = 0
MA5: ma5>set selection[15].nbins = 200
MA5: ma5>set selection[15].logY = true
MA5: ma5>set selection[15].logX = false
MA5: ma5>set selection[15].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[
MA5: ma5>set selection[16].xmax = 4
MA5: ma5>set selection[16].xmin = -4
MA5: ma5>set selection[16].nbins = 80
MA5: ma5>set selection[16].logY = false
MA5: ma5>set selection[16].logX = false
MA5: ma5>set selection[16].rank = PTordering
MA5: ma5>set selection[
MA5: ma5>set selection[
MA5: ma5># apply selections
MA5: ma5>select PT(jets[1]) > 30 and ETA(jets[1]) > -5 and ETA(jets[1]) < 5
MA5: ma5>select PT(jets[2]) > 30 and ETA(jets[2]) > -5 and ETA(jets[2]) < 5
MA5: ma5>select DELTAR(jets[1], jets[2]) > 4.2
MA5: ma5>select M(jets[1] jets[2]) > 750
MA5: ma5>select MET > 75
MA5: ma5>select PT(lept[1]) > 30 and ETA(lept[1]) > -2.1 and ETA(lept[1]) < 2.1
MA5: ma5>select PT(lept[2]) > 10 and ETA(lept[2]) > -2.1 and ETA(lept[2]) < 2.1
MA5: ma5>#select PT(lept[3]) > 10 and ETA(lept[3]) > -2.1 and ETA(lept[3]) < 2.1
ma5>submit example_plots
MA5: Creating folder 'example_plots'...
MA5-WARNING: A directory called '/Users/
Would you like to remove it ? (Y/N)
Answer: Y
MA5: Copying 'SampleAnalyzer' source files...
MA5: Inserting your selection into 'SampleAnalyzer'...
MA5: Writing the list of datasets...
MA5: Writing the command line history...
MA5: Creating Makefiles...
MA5: Compiling 'SampleAnalyzer'...
MA5-ERROR: impossible to compile the project. For more details, see the log file:
MA5-ERROR: /Users/
MA5-ERROR: job submission aborted.
-------
LOG REPORT
-------
clang++ -Wall -O3 -fPIC -I/Users/
In file included from Main/main.cpp:12:
In file included from ./SampleAnalyze
In file included from ./SampleAnalyze
In file included from /Users/
In file included from /opt/homebrew/
In file included from /opt/homebrew/
In file included from /opt/homebrew/
/opt/homebrew/
return (Bool_t)lhs & rhs;
/opt/homebrew/
/opt/homebrew/
return (Bool_t)lhs | rhs;
/opt/homebrew/
In file included from Main/main.cpp:12:
In file included from ./SampleAnalyze
In file included from ./SampleAnalyze
In file included from /Users/
In file included from /opt/homebrew/
In file included from /opt/homebrew/
In file included from /opt/homebrew/
In file included from /opt/homebrew/
/opt/homebrew/
constexpr size_t size = sizeof(
/opt/homebrew/
void SetArg(const T* val)
3 warnings generated.
clang++ -Wall -O3 -fPIC -I/Users/
In file included from SampleAnalyzer/
In file included from ./SampleAnalyze
In file included from /Users/
In file included from /opt/homebrew/
In file included from /opt/homebrew/
In file included from /opt/homebrew/
/opt/homebrew/
return (Bool_t)lhs & rhs;
/opt/homebrew/
/opt/homebrew/
return (Bool_t)lhs | rhs;
/opt/homebrew/
In file included from SampleAnalyzer/
In file included from ./SampleAnalyze
In file included from /Users/
In file included from /opt/homebrew/
In file included from /opt/homebrew/
In file included from /opt/homebrew/
In file included from /opt/homebrew/
/opt/homebrew/
constexpr size_t size = sizeof(
/opt/homebrew/
void SetArg(const T* val)
SampleAnalyzer/
for (ind[0]
./SampleAnalyze
std::vector<const MCParticleFormat*> _P_jets_
SampleAnalyzer/
for (ind[1]
./SampleAnalyze
std::vector<const MCParticleFormat*> _P_jets_
SampleAnalyzer/
if (_P_j_I2I_
^
SampleAnalyzer/
if (_P_j_I2I_
./SampleAnalyze
std::vector<const MCParticleFormat*> _P_jets_
SampleAnalyzer/
mycombi.
./SampleAnalyze
std::vector<const MCParticleFormat*> _P_jets_
SampleAnalyzer/
mycombi.
./SampleAnalyze
std::vector<const MCParticleFormat*> _P_jets_
SampleAnalyzer/
value+
./SampleAnalyze
std::vector<const MCParticleFormat*> _P_jets_
SampleAnalyzer/
value-
./SampleAnalyze
std::vector<const MCParticleFormat*> _P_jets_
3 warnings and 8 errors generated.
make: *** [SampleAnalyzer
-------
TERMINAL DEBUG ERROR
-------
cesely@
MA5:
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:/
MA5: * *
MA5: * Type 'help' for in-line help. *
MA5: * *
MA5: *******
MA5-DEBUG:
MA5-DEBUG: DEBUG MODE ACTIVATED
MA5-DEBUG:
MA5: Platform: Darwin 22.5.0 [MAC/OSX mode]
MA5-DEBUG:
MA5-DEBUG: Machine - Cross platform information
MA5-DEBUG: Machine type: arm64
MA5-DEBUG: Processor name: arm
MA5-DEBUG: Platform: macOS-13.
MA5-DEBUG: Platform release: 22.5.0
MA5-DEBUG: System: Darwin
MA5-DEBUG: Node: Ceselys-
MA5-DEBUG: Number of cores: 8
MA5-DEBUG:
MA5-DEBUG: Machine - OS-specific information
MA5-DEBUG: Java version: ('', '', ('', '', ''), ('', '', ''))
MA5-DEBUG: Windows version: ('', '', '', '')
MA5-DEBUG: Mac Os version: ('13.4', ('', '', ''), 'arm64')
MA5-DEBUG: Unix distribution: macOS-13.
MA5-DEBUG:
MA5: Reading user settings ...
MA5-DEBUG: Opening the file: /Users/
MA5-DEBUG: Lines to interpret:
MA5-DEBUG: Closing the file: /Users/
MA5-DEBUG:
MA5-DEBUG: User
MA5-DEBUG: User name: cesely
MA5-DEBUG: User ID: 501
MA5-DEBUG: Expanding folder ~/: /Users/cesely/
MA5-DEBUG: Variable $USER: cesely
MA5-DEBUG: Variable $USERNAME:
MA5-DEBUG: Variable $LNAME:
MA5-DEBUG: Variable $LOGNAME: cesely
MA5-DEBUG: Variable $HOME: /Users/cesely
MA5-DEBUG: Variable $HOMEDRIVE:
MA5-DEBUG: Variable $posix:
MA5-DEBUG: Variable $HOMEPATH:
MA5-DEBUG:
MA5-DEBUG: Web access
MA5-DEBUG: enable
MA5-DEBUG:
MA5-DEBUG: Temporary folder
MA5-DEBUG: Variable $TMPDIR: /var/folders/
MA5-DEBUG: Check if the folder /var/folders/
MA5-DEBUG: -> found
MA5-DEBUG: Variable $TMP:
MA5-DEBUG: Variable $TEMP:
MA5-DEBUG: temporary folder will be used for MA5: /var/folders/
MA5-DEBUG:
MA5-DEBUG: Download dir
MA5-DEBUG: Check if the folder /var/folders/
MA5-DEBUG: -> found
MA5-DEBUG: download folder will be used for MA5: /var/folders/
MA5-DEBUG:
MA5-DEBUG: Text editor
MA5-DEBUG: Look for the global variable $EDITOR ...
MA5-DEBUG: -> variable not found. VI editor is set by default.
MA5-DEBUG:
MA5: Checking mandatory packages:
MA5-DEBUG: -------
MA5-DEBUG: Detect package python
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG:
MA5-DEBUG: Python release: 3.9.6
MA5-DEBUG: Python build: ('default', 'Mar 10 2023 20:16:38')
MA5-DEBUG: Python compiler: Clang 14.0.3 (clang-
MA5-DEBUG: Python prefix: /Library/
MA5-DEBUG: Python executable used: /Library/
MA5-DEBUG: sys.executable: /Library/
MA5-ERROR: python compiler not found. Please install it before using MadAnalysis 5
MA5: - Python [FAILURE]
MA5-ERROR: This package is a mandatory package: MadAnalysis 5 can not run without it.
cesely@
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Cesely Smith for more information if necessary.