CutTools compilation failure when using "set output_dependencies internal" in 2.3beta

Bug #1458404 reported by Josh Bendavid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Fix Released
Undecided
Valentin Hirschi

Bug Description

When generating an NLO process using "set output_dependencies internal", the compilation of CutTools fails as below. (Since we anyways package the base madgraph directory in our gridpacks already because of madspin, it's not clear that we strictly need output_dependencies internal, but in any case that's how we were doing things in 2.2.2 and it was working there)

>INFO: Starting run
INFO: Compiling the code
run_card missed argument dynamical_scale_choice. Takes default: -1
run_card missed argument iappl. Takes default: 0
INFO: Using LHAPDF v6.1.5 interface for PDFs
INFO: Compiling source...
INFO: ...done, continuing with P* directories
INFO: Compiling StdHEP (can take a couple of minutes) ...
INFO: ...done.
INFO: Compiling CutTools (can take a couple of minutes) ...
INFO: ...done.
Error detected in "launch -n pilotrun"
write debug file /afs/cern.ch/work/b/bendavid/gridpack23beta/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_NLO/wplustest_4f_NLO_gridpack/work/processtmp/pilotrun_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
aMCatNLOError : CutTools compilation failed.
quit
INFO:

-bash-4.1$ cat /afs/cern.ch/work/b/bendavid/gridpack23beta/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_NLO/wplustest_4f_NLO_gridpack/work/gridpack/process/pilotrun_tag_1_debug.log
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 5.2.3.0.beta *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* and *
#* http://amcatnlo.cern.ch *
#* *
#************************************************************
#* *
#* Command File for aMCatNLO *
#* *
#* run as ./bin/aMCatNLO.py filename *
#* *
#************************************************************
launch -n pilotrun
Traceback (most recent call last):
  File "/afs/cern.ch/work/b/bendavid/gridpack23beta/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_NLO/wplustest_4f_NLO_gridpack/work/processtmp/bin/internal/extended_cmd.py", line 879, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/afs/cern.ch/work/b/bendavid/gridpack23beta/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_NLO/wplustest_4f_NLO_gridpack/work/processtmp/bin/internal/extended_cmd.py", line 872, in onecmd_orig
    return func(arg, **opt)
  File "/afs/cern.ch/work/b/bendavid/gridpack23beta/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_NLO/wplustest_4f_NLO_gridpack/work/processtmp/bin/internal/amcatnlo_run_interface.py", line 1200, in do_launch
    self.compile(mode, options)
  File "/afs/cern.ch/work/b/bendavid/gridpack23beta/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_NLO/wplustest_4f_NLO_gridpack/work/processtmp/bin/internal/amcatnlo_run_interface.py", line 3824, in compile
    raise aMCatNLOError('CutTools compilation failed.')
aMCatNLOError: CutTools compilation failed.
Value of current Options:
              text_editor : None
              web_browser : None
        cluster_temp_path : None
                  timeout : 60
       cluster_local_path : /cvmfs/cp3.uclouvain.be/madgraph/
            cluster_queue : madgraph
         madanalysis_path : None
                   lhapdf : /cvmfs/cms.cern.ch/slc6_amd64_gcc481/external/lhapdf6/6.1.5-cms/bin/lhapdf-config
      output_dependencies : internal
             cluster_size : 100
           cluster_memory : None
    cluster_status_update : (600, 30)
             cluster_time : None
               hepmc_path : None
             pythia8_path : None
                hwpp_path : None
   automatic_html_opening : False
       cluster_retry_wait : 300
             stdout_level : None
          pythia-pgs_path : None
                 mg5_path : /afs/cern.ch/work/b/bendavid/gridpack23beta/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_NLO/wplustest_4f_NLO_gridpack/work/MG5_aMC_v2_3_0_beta
                  td_path : None
             delphes_path : None
              thepeg_path : None
             cluster_type : condor
         cluster_nb_retry : 1
         fortran_compiler : None
                  nb_core : 8
              auto_update : 0
      exrootanalysis_path : None
               eps_viewer : None
             syscalc_path : /afs/cern.ch/work/b/bendavid/gridpack23beta/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_NLO/wplustest_4f_NLO_gridpack/work/MG5_aMC_v2_3_0_beta/SysCalc
             cpp_compiler : None
                 run_mode : 2

Changed in mg5amcnlo:
assignee: nobody → Valentin Hirschi (valentin-hirschi)
Revision history for this message
Valentin Hirschi (valentin-hirschi) wrote :

Hi,

Thanks for the notification Josh, and sorry for my late reply on this. I have fixed this issue in the development version (2.3.2).

I hope it didn't delay anything since you seem to anyway be forced to package everything because of MadSpin. By the way, isn't there a way to do it in two steps, first produce the non-decayed events only from your gridpack including only the process output and then only process them via MadSpin? I think it was part of the motivation as to why the related python code was not added in the bin/internal directory of the process output (and therefore not available without the MG distribution).

Cheers,

Changed in mg5amcnlo:
status: New → Fix Committed
Revision history for this message
Josh Bendavid (joshbendavid) wrote :

Yes in fact changing the output_dependencies setting was completely transparent to our scripts.
In any case it's more efficient for us to do things in a smaller number of steps (and we never actually store the bare ascii lhe files, but rather immediately parse them and pack them up inside our root-based formats)

Changed in mg5amcnlo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.