check_poles Compilation Error in running Launch command

Asked by Debarati

Dear Developers,
                                 Inside my process module using the command prompt ./bin/aMCatNLO when I am executing the launch command it is getting stopped and showing me the following error:

ld: warning: object file (../../lib//libcts.a(qlxpicheck.o)) was built for newer macOS version (13.0) than being linked (10.8)
    ld: in ../../lib//libiregi.a(global.mod), archive member 'global.mod' with length 5376 is not mach-o or llvm bitcode file '../../lib//libiregi.a' for architecture arm64
    collect2: error: ld returned 1 exit status
    make: *** [check_poles] 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
WARNING: Fail to compile the Subprocesses
INFO:
INFO: Checking test output:
INFO: P0_uux_xmxm_1
INFO: Result for test_ME:
INFO: Passed.
INFO: Result for test_MC:
INFO: Passed.
INFO: Result for check_poles:
Command "launch" interrupted with error:
FileNotFoundError : [Errno 2] No such file or directory: '/Users/debaratiroy/Documents/SVJ_LHC/MG5_aMC_v2_9_6/Test_xx/SubProcesses/P0_uux_xmxm_1/check_poles.log'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in '/Users/debaratiroy/Documents/SVJ_LHC/MG5_aMC_v2_9_6/Test_xx/run_05_tag_1_debug.log'.
Please attach this file to your report.

I could successfully generate and output the process using the ./bin/mg5_aMC --mode=MadSTR, but it is getting stuck always during launch command within ./bin/aMCatNLO inside the process module.

Please suggest. Below are the versions I am using for different softwares.

I am using macOS Ventura 13.0.1,
Madgraph version MG5_aMC_v2_9_6
Python 3.9.6
gfortran --version
GNU Fortran (GCC) 12.2.0
Model name: DMSimp_t-S3M_uR

Thanks,
Debarati

Question information

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

Can you update to 2.9.14?

MacOS Ventura was not yet supported in 2.9.6

Cheers,

Olivier

Revision history for this message
Debarati (droy485) said :
#2

Hi,
   If I try with 2.9.14 I cannot use MadSTR which I need for model process generation. It complains with:

debaratiroy@Debaratis-MacBook-Pro MG5_aMC_v2_9_14 % ./bin/mg5_aMC --mode=MadSTR
ERROR: %s is not present in the PLUGIN directory. Please install it first
Traceback (most recent call last):
  File "/Users/debaratiroy/Documents/SVJ_LHC/MG5_aMC_v2_9_14/./bin/mg5_aMC", line 163, in <module>
    __import__('PLUGIN.%s' % options.plugin)
ModuleNotFoundError: No module named 'PLUGIN.MadSTR'
debaratiroy@Debaratis-MacBook-Pro MG5_aMC_v2_9_14 %

What do you suggest now ?

Model name: DMSimp_t-S3M_uR

Thanks,
Debarati

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

Did you install the P:UGIN?

Revision history for this message
Debarati (droy485) said :
#4

I did not. From where to install the MadSTR plugin?
 In 2.9.6 it was inbuilt, but it seems here it is not.

Revision history for this message
Debarati (droy485) said :
#5

I cannot use bzr command as required to copy from here : bzr branch lp:~maddevelopers/mg5amcnlo/MadSTRPlugin
since bzr needs Macport and Macport is not getting installed scucessfully to MacOS Ventura 13.2.

Is there any other way that simply I can download MadSTR plugin ?

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

Hi,

If you launch MG5aMC you can type "install MadSTR" and this will install the plugin for you.
And for information, 2.9.6 is not shipped with MadSTR.
And in order to install bazaar on mac you can use brew via the breezy package.

Cheers,

Olivier

Revision history for this message
Stephen Mrenna (stephen-mrenna) said :
#7

For me, removing the *.mod files from the "ar" in the making of libregi.a removed this problem.

See: https://stackoverflow.com/questions/74246332/understanding-error-from-ld-archive-member-is-not-mach-o-or-llvm-bitcode-file

Specifically, I went into the REGI/src directory under vendor and changed the makefile.
Then, I copied the lib over to the lib directory of my MG process.

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

Yes you are right,

This is one of the fix that we had to do to support Ventura.
Since a new 2.9.x is only release for bug fixing, I strongly suggest to not use old version of 2.9x and update to the latest version with all the (known) bug fixed.

Cheers,

Olivier

Can you help with this problem?

Provide an answer of your own, or ask Debarati for more information if necessary.

To post a message you must log in.