CutTools compilation failure

Asked by Roshan Mammen Abraham

Hello,

I am trying to generate an NLO process using using MadGraph 2.7.3. The process generation fails while trying to compile CutTools. Below is the MG5_debug file. I am attempting this on my university computing cluster. While attempting on my local system I did not face this issue and CutTools compilation, process generation was successful.

Any help is much appreciated.

Regards,
Roshan Abraham

set default_unset_couplings 99
set group_subprocesses Auto
set ignore_six_quark_processes False
set loop_optimized_output True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
import model SMEFTatNLO_U2_2_U3_3_cG_4F_LO_UFO-NLO
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5
define j = p
generate p p > w- l+ l- [QCD]
output Outputs/SMEFTNLO_bgrnd_WminuZ
Traceback (most recent call last):
  File "/scratch/rmammen/MG5_aMC_v2_7_3/madgraph/interface/extended_cmd.py", line 1515, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/scratch/rmammen/MG5_aMC_v2_7_3/madgraph/interface/extended_cmd.py", line 1464, in onecmd_orig
    return func(arg, **opt)
  File "/scratch/rmammen/MG5_aMC_v2_7_3/madgraph/interface/master_interface.py", line 280, in do_import
    self.cmd.do_import(self, *args, **opts)
  File "/scratch/rmammen/MG5_aMC_v2_7_3/madgraph/interface/madgraph_interface.py", line 5466, in do_import
    self.import_command_file(args[1])
  File "/scratch/rmammen/MG5_aMC_v2_7_3/madgraph/interface/extended_cmd.py", line 1661, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/scratch/rmammen/MG5_aMC_v2_7_3/madgraph/interface/extended_cmd.py", line 1544, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/scratch/rmammen/MG5_aMC_v2_7_3/madgraph/interface/extended_cmd.py", line 1464, in onecmd_orig
    return func(arg, **opt)
  File "/scratch/rmammen/MG5_aMC_v2_7_3/madgraph/interface/master_interface.py", line 298, in do_output
    self.cmd.do_output(self, line, *args, **opts)
  File "/scratch/rmammen/MG5_aMC_v2_7_3/madgraph/interface/amcatnlo_interface.py", line 547, in do_output
    self._curr_exporter.copy_fkstemplate()
  File "/scratch/rmammen/MG5_aMC_v2_7_3/madgraph/iolibs/export_fks.py", line 3441, in copy_fkstemplate
    self.link_CutTools(dir_path)
  File "/scratch/rmammen/MG5_aMC_v2_7_3/madgraph/loop/loop_exporters.py", line 166, in link_CutTools
    misc.compile(cwd=self.cuttools_dir, job_specs = False)
  File "/scratch/rmammen/MG5_aMC_v2_7_3/madgraph/various/misc.py", line 532, in compile
    raise MadGraph5Error, error_text
MadGraph5Error: A compilation Error occurs when trying to compile /scratch/rmammen/MG5_aMC_v2_7_3/vendor/CutTools.
The compilation fails with the following output message:
    cp -p ./src/cts/cts_qpr.in ./src/cts/cts_mpr.h
    cp -p ./src/cts/cts_qpc.in ./src/cts/cts_mpc.h
    cp -p ./src/cts/cts_qprec.in ./src/cts/cts_mprec.h
    cp -p ./src/cts/cts_qpinit.in ./src/cts/cts_mpinit.h
    mkdir -p includects
    cp -p ./src/avh/* includects/
    cp -p ./src/cts/* includects/
    cp -p ./src/mpfun90/* includects/
    cp -p ./src/qcdloop/* includects/
    cp -p ./src/makefile includects/
    cd includects && make EXE="" FC="gfortran" FFLAGS="-fPIC -fno-automatic -O2 -funroll-all-loops" default
    make[1]: Entering directory `/scratch/rmammen/MG5_aMC_v2_7_3/vendor/CutTools/includects'
    gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcrr.f
    init2.c:52: MPFR assertion failed: p >= 2 && p <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
    f951: internal compiler error: Aborted
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <http://bugzilla.redhat.com/bugzilla> for instructions.
    make[1]: *** [ffcrr.o] Error 1
    make[1]: Leaving directory `/scratch/rmammen/MG5_aMC_v2_7_3/vendor/CutTools/includects'
    make: *** [default] Error 2

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
                          MadGraph5_aMC@NLO Options
                          ----------------
        complex_mass_scheme : False
    default_unset_couplings : 99
                      gauge : unitary
         group_subprocesses : Auto
  ignore_six_quark_processes : False
           loop_color_flows : False
      loop_optimized_output : True
  low_mem_multicore_nlo_generation : False
     max_npoint_for_channel : 0
               stdout_level : 20 (user set)

                         MadEvent Options
                          ----------------
     automatic_html_opening : True
                    nb_core : None
        notification_center : True
                   run_mode : 2

                      Configuration Options
                      ---------------------
                        OLP : MadLoop
                    amcfast : amcfast-config
                   applgrid : applgrid-config
                auto_update : 7
         cluster_local_path : None
           cluster_nb_retry : 1
              cluster_queue : None (user set)
         cluster_retry_wait : 300
               cluster_size : 100
      cluster_status_update : (600, 30)
          cluster_temp_path : None
               cluster_type : condor
                    collier : ./HEPTools/lib
               cpp_compiler : None
             crash_on_error : False
               delphes_path : ./Delphes
                 eps_viewer : None
        exrootanalysis_path : ./ExRootAnalysis
              f2py_compiler : None
                    fastjet : None (user set)
           fortran_compiler : None
                      golem : None (user set)
                 hepmc_path : /scratch/rmammen/MG5_aMC_v2_7_3/HEPTools/hepmc (user set)
                  hwpp_path : None (user set)
                     lhapdf : /scratch/rmammen/MG5_aMC_v2_7_3/HEPTools/lhapdf6/bin/lhapdf-config (user set)
          madanalysis5_path : None (user set)
           madanalysis_path : ./MadAnalysis
  mg5amc_py8_interface_path : /scratch/rmammen/MG5_aMC_v2_7_3/HEPTools/MG5aMC_PY8_interface (user set)
                      ninja : /scratch/rmammen/MG5_aMC_v2_7_3/HEPTools/lib (user set)
        output_dependencies : external
            pythia-pgs_path : ./pythia-pgs
               pythia8_path : /scratch/rmammen/MG5_aMC_v2_7_3/HEPTools/pythia8 (user set)
                    samurai : None
               syscalc_path : ./SysCalc
                    td_path : ./td
                text_editor : None
                thepeg_path : None (user set)
                    timeout : 60
                web_browser : None

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
Joseph P (butllers) said :
#1

Get free icons of Die cut tools in iOS, Material, Windows and other design styles for web, mobile, and graphic design projects. The free images are pixel perfect to fit your design and available in both png and vector.
https://www.upsers.club/

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

Hi,

(please ignore the above bot)

This sounds an issue with your installation of gfortran. I would suggest to check the documentation of your cluster on how to use another version of gfortran on your cluster and otherwise report this to your sys-admin.

Cheers,

Olivier

Revision history for this message
Roshan Mammen Abraham (rmammen) said :
#3

Hello,

I tried with the following version,

gcc/5.5.0
gcc/7.3.0
gcc/8.1.0
gcc/9.2.0.

All of them failed. Is there a preferred gcc version for Cuttools?

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

Those four version of gcc should be ok to compile cuttools.
If they all fail with something like:
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcrr.f
    init2.c:52: MPFR assertion failed: p >= 2 && p <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
    f951: internal compiler error: Aborted

Then I would suggest to contact your sys-admin for him to investigate.

Cheers,

Olivier

Revision history for this message
Roshan Mammen Abraham (rmammen) said :
#5

Thankyou.
I shall contact the sys-admin.

Revision history for this message
asfaf asdasf (asdasfaw) said :
#6

Yes, it is probably that, and indeed MadDump will not let you simulate the interplay if below a threshold. This appears to be above MadDump's https://findanybill.com/ hardcoded threshold (which is perhaps too nevertheless low for the subsequent tactics)

Can you help with this problem?

Provide an answer of your own, or ask Roshan Mammen Abraham for more information if necessary.

To post a message you must log in.