Issue : Error detected in "generate_events run_01

Asked by Sadhana Verma

Hi experts !

During Compilation in MAC OS I am getting this error. I need it installed in my laptop. In my computer( Desktop) till now things seems working fine with MG_v2.6.5.

INFO: compile directory
run_card missed argument use_syst. Takes default: True
compile Source Directory
Error detected in "generate_events run_01"
write debug file /Users/sadhanaverma/Downloads/MG5v265/MG5_aMC_v2_6_5/wplustest_4f_LO/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/sadhanaverma/Downloads/MG5v265/MG5_aMC_v2_6_5/wplustest_4f_LO/Source.
 The compilation fails with the following output message:
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o dsample.o dsample.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o setrun.o setrun.f
     cd PDF; make
     cd MODEL; make
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o rw_para.o rw_para.f
     ar cru ../../lib/libpdf.a Ctq6Pdf.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o NNPDFDriver.o
     ranlib ../../lib/libpdf.a
     dsample.f:144:132:

       144 | call sample_put_point(wgt,x(1),iter,ipole,itmin) !Store result
           | 1
     Error: More actual than formal arguments in procedure call at (1)
     dsample.f:320:132:

       320 | call sample_put_point(wgt,x(1),iter,ipole,itmin) !Store result
           | 1
     Error: More actual than formal arguments in procedure call at (1)
     make: *** [dsample.o] Error 1
     make: *** Waiting for unfinished jobs....
     ar cru ../../lib/libmodel.a couplings.o lha_read.o printout.o rw_para.o model_functions.o couplings1.o couplings2.o
     ranlib ../../lib/libmodel.a

 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>exit

Please let me know how am I suppose to fix it.
Your help is really appreciated.

I have tried to change input configuration txt file ( but seems like it won't work as eveything seems commented in that file).

Thanks and Regards,
Sadhana

Question information

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

Hi,

What is you version of MacOS? and the same question for GCC?
MacOS is a quite sensitive setup due to their history of cpu. You need different type of flag for different version of MacOS (and for different type of cpu). So given that 2.6.5 is super old, you will likely need a support old cpu hardware (and that old version of MacOS).

If you have recent version of GCC/MacOS (or recent CPU) the best is likely to use recent version of MG5aMC.

Cheers,

Olivier

Revision history for this message
Sadhana Verma (svermacms) said :
#2

Hi Oliver !

MacOS version:
14.2.1 (23C71)

Seems like its using clang:

Sadhanas-MacBook-Air:bin sadhanaverma$ gcc --version

Apple clang version 15.0.0 (clang-1500.1.0.2.5)

Target: arm64-apple-darwin23.2.0

Thread model: posix

InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Sadhanas-MacBook-Air:bin sadhanaverma$

Though when I tried to download gcc :

gcc version: Sadhanas-MacBook-Air:MG5_aMC_v2_6_5 sadhanaverma$ brew install gcc

==> Downloading https://formulae.brew.sh/api/formula.jws.json

########################################################################################################################################################################### 100.0%

==> Downloading https://formulae.brew.sh/api/cask.jws.json

########################################################################################################################################################################### 100.0%

Warning: gcc 13.2.0 is already installed and up-to-date.

To reinstall 13.2.0, run:

I want same version of MG5 (v2.6.5) which I am using inside CMSSW area (gridpack workflow mode).
So I am trying to do this.

Thanks and Regards,
Sadhana

From: <email address hidden> <email address hidden> on behalf of Olivier Mattelaer <email address hidden>
Date: Thursday, 25 January 2024 at 6:30 PM
To: Sadhana Verma <email address hidden>
Subject: Re: [Question #709102]: Issue : Error detected in "generate_events run_01
Your question #709102 on MadGraph5_aMC@NLO changed:
https://answers.launchpad.net/mg5amcnlo/+question/709102

    Status: Open => Answered

Olivier Mattelaer proposed the following answer:
Hi,

What is you version of MacOS? and the same question for GCC?
MacOS is a quite sensitive setup due to their history of cpu. You need different type of flag for different version of MacOS (and for different type of cpu). So given that 2.6.5 is super old, you will likely need a support old cpu hardware (and that old version of MacOS).

If you have recent version of GCC/MacOS (or recent CPU) the best is
likely to use recent version of MG5aMC.

Cheers,

Olivier

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/mg5amcnlo/+question/709102/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/mg5amcnlo/+question/709102

You received this question notification because you asked the question.

Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#3

Hi,

I guess this will be quite difficult to support such old version of madgraph on such recent version of OSX.
(especially given your CPU). Mixing old and new are typically bad idea.

You will likely need GCC8 and gfortran8 (do not link to clang) which you will not find pre-compile for your arm cpu (but you will find it for intel --and this will work thanks to rosetta2-- but the question if it this will be compatible with your recent OS.

Additionally, Feynman diagram generation are not currently not working on OSX 14.X, in OSX 13.X we do have a work around that can also work for 14.X if you have latex install (in principle). Obviously such work-around are not available for 2.6.5 and therefore do not expect to be able to display diagrams.

I would strongly suggest to move to our LTS version (which is the default now in CMSSW) which
1) does support python3
2) support recent version of GCC
3) support recent version of MacOS
4) which does allow pure ARM instruction (so running faster than compiling for x86 but running on arm)
5) does implement better matrix-element evaluation (typically 2-4 times faster evaluation)
6) does fix many many bug (and LTS is bug fix only since more than three years now)

Cheers,

Olivier

Revision history for this message
Mrjackson (mrjacki) said (last edit ):
#4

Looking great work dear, I really appreciated to you on this quality work. Nice post!
Our dedicated and well-trained roofing specialist at Reston Roofing guarantee to provide quality service and ensure that your roofing issues will be fixed in quick time with less inconvenience to you and your family.

GET A https://www.goldentreeroofing.com/washington-dc.php

Revision history for this message
Sadhana Verma (svermacms) said :
#5

Thanks Olivier Mattelaer, that solved my question.

Revision history for this message
Sadhana Verma (svermacms) said :
#6

Dear Olivier !

Thanks for your help in this regard.
I didn't close the issue. Things are working for me right now.

Best,
Sadhana