Error detected in MG5 run after upgrade to Catalina on macbook air

Asked by SUBHASISH BEHERA

Dear Olivier,

I have MG5 V_2.6.6 on my Macbook Air. Once I upgrade to Catalina v_10.15.1, I found the following error.

note : I have imported model - SMEFTatNLO_U2_2_U3_3_cG_4F_LO_UFO-LO , where I set NP=2 while generating the event and kept the parameter as default in their param card.

MG5_aMC>launch pp2twz_NP2_SMEFTatNLO_U2_2_U3_3_cG_4F_LO_UFO
************************************************************
* *
* W E L C O M E to *
* M A D G R A P H 5 _ a M C @ N L O *
* M A D E V E N T *
* *
* * * *
* * * * * *
* * * * * 5 * * * * *
* * * * * *
* * * *
* *
* VERSION 2.6.6 2018-06-28 *
* *
* The MadGraph5_aMC@NLO Development Team - Find us at *
* https://server06.fynu.ucl.ac.be/projects/madgraph *
* *
* Type 'help' for in-line help. *
* *
************************************************************
INFO: load configuration from /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/EVENT_GENERATOR/MADGRAPH5/MG5_aMC_v2_6_6/pp2twz_NP2_SMEFTatNLO_U2_2_U3_3_cG_4F_LO_UFO/Cards/me5_configuration.txt
INFO: load configuration from /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/EVENT_GENERATOR/MADGRAPH5/MG5_aMC_v2_6_6/input/mg5_configuration.txt
INFO: load configuration from /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/EVENT_GENERATOR/MADGRAPH5/MG5_aMC_v2_6_6/pp2twz_NP2_SMEFTatNLO_U2_2_U3_3_cG_4F_LO_UFO/Cards/me5_configuration.txt
Using default text editor "vi". Set another one in ./input/mg5_configuration.txt
generate_events run_01
Plugin PLUGIN.maddm has marked as NOT being validated with this version.
It has been validated for the last time with version: 2.6.4
The following switches determine which programs are run:
/=====================================================================================\
| 1. Choose the shower/hadronization program shower = OFF |
| 2. Choose the detector simulation program detector = Not Avail. |
| 3. Choose an analysis package (plot/convert) analysis = MadAnalysis5 |
| 4. Decay onshell particles madspin = OFF |
| 5. Add weights to events for new hypp. reweight = OFF |
\=====================================================================================/
Either type the switch number (1 to 5) to change its setting,
Set any switch explicitly (e.g. type 'shower=Pythia8' at the prompt)
Type 'help' for the list of all valid option
Type '0', 'auto', 'done' or just press enter when you are done.[60s to answer]
>3
The following switches determine which programs are run:
/=====================================================================================\
| 1. Choose the shower/hadronization program shower = OFF |
| 2. Choose the detector simulation program detector = Not Avail. |
| 3. Choose an analysis package (plot/convert) analysis = OFF |
| 4. Decay onshell particles madspin = OFF |
| 5. Add weights to events for new hypp. reweight = OFF |
\=====================================================================================/
Either type the switch number (1 to 5) to change its setting,
Set any switch explicitly (e.g. type 'shower=Pythia8' at the prompt)
Type 'help' for the list of all valid option
Type '0', 'auto', 'done' or just press enter when you are done.
The following switches determine which programs are run:
/=====================================================================================\
| 1. Choose the shower/hadronization program shower = OFF |
| 2. Choose the detector simulation program detector = Not Avail. |
| 3. Choose an analysis package (plot/convert) analysis = OFF |
| 4. Decay onshell particles madspin = OFF |
| 5. Add weights to events for new hypp. reweight = OFF |
\=====================================================================================/
Either type the switch number (1 to 5) to change its setting,
Set any switch explicitly (e.g. type 'shower=Pythia8' at the prompt)
Type 'help' for the list of all valid option
Type '0', 'auto', 'done' or just press enter when you are done.
>
Do you want to edit a card (press enter to bypass editing)?
/------------------------------------------------------------\
| 1. param : param_card.dat |
| 2. run : run_card.dat |
\------------------------------------------------------------/
 you can also
   - enter the path to a valid card or banner.
   - use the 'set' command to modify a parameter directly.
     The set option works only for param_card and run_card.
     Type 'help set' for more information on this command.
   - call an external program (ASperGE/MadWidth/...).
     Type 'help' for the list of available command
 [0, done, 1, param, 2, run, enter path][90s to answer]
>2
open /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/EVENT_GENERATOR/MADGRAPH5/MG5_aMC_v2_6_6/pp2twz_NP2_SMEFTatNLO_U2_2_U3_3_cG_4F_LO_UFO/Cards/run_card.dat
Do you want to edit a card (press enter to bypass editing)?
/------------------------------------------------------------\
| 1. param : param_card.dat |
| 2. run : run_card.dat |
\------------------------------------------------------------/
 you can also
   - enter the path to a valid card or banner.
   - use the 'set' command to modify a parameter directly.
     The set option works only for param_card and run_card.
     Type 'help set' for more information on this command.
   - call an external program (ASperGE/MadWidth/...).
     Type 'help' for the list of available command
 [0, done, 1, param, 2, run, enter path]
>
INFO: Update the dependent parameter of the param_card.dat
Generating 10000 events with run name run_01
survey run_01
INFO: compile directory
compile Source Directory
Using random number seed offset = 21
INFO: Running Survey
Creating Jobs
Working on SubProcesses
INFO: P1_gq_twmz
Error detected in "generate_events run_01"
write debug file /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/EVENT_GENERATOR/MADGRAPH5/MG5_aMC_v2_6_6/pp2twz_NP2_SMEFTatNLO_U2_2_U3_3_cG_4F_LO_UFO/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
MadGraph5Error : A compilation Error occurs when trying to compile /Users/subhparasara/Documents/RESEARCH/PACKAGES_USED/EVENT_GENERATOR/MADGRAPH5/MG5_aMC_v2_6_6/pp2twz_NP2_SMEFTatNLO_U2_2_U3_3_cG_4F_LO_UFO/SubProcesses/P1_gq_twmz.
 The compilation fails with the following output message:
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c symmetry.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c idenparts.f -I../../Source/
     gfortran -o gensym symmetry.o idenparts.o -L../../lib/ -lmodel -lgeneric -lpdf -L/usr/local/opt/zlib/lib
     ld: warning: directory not found for option '-L/usr/local/opt/zlib/lib'
     ld: library not found for -lSystem
     collect2: error: ld returned 1 exit status
     make: *** [gensym] Error 1

 Please try to fix this compilations issue and retry.
 Help might be found at https://answers.launchpad.net/mg5amcnlo.
 If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
quit
INFO:
MG5_aMC>

Earlier we have edited this file ( if remember correctly ) to solve similar issue : madgraph/various/misc.py . Please suggest the possible changes to be made.

Thanks,
Subhasish

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
SUBHASISH BEHERA
Solved:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

HI,

Did you look at this:
https://github.com/Homebrew/legacy-homebrew/issues/45011

You also seems to have an issue with your zlib library but this is not needed by MG5aMC at that stage so not sure why you have that warning (but since it is just a warning)

Cheers,

Olivier

> On 11 Dec 2019, at 07:52, SUBHASISH BEHERA <email address hidden> wrote:
>
> ld: library not found for -lSystem

Revision history for this message
SUBHASISH BEHERA (subhparasara) said :
#2

Dear Olivier,

Thanks for your reply. I did the following to get it done :

brew update
brew upgrade
brew install gcc (May not be needed)
brew doctor

After that you will get a suggestion :
echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc

Infact I believe the last step is important here. The .profile or .bashrc has changed to .zshrc in Catalina as bash shell has replaced to Z shell in Catalina.

Thanks it solves my problem.