About td in MG5_aMC_2_4_3 in Ubuntu 16.10 and 17.04

Bug #1689276 reported by liangshang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Invalid
Undecided
Unassigned

Bug Description

Dear,
  I am using MG5_aMC_v2_4_3 at 64bit system of Ubuntu 16.10 but when I using "td" for plotting, it gived the method to using it at the following website:

https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/TopDrawer

But the method of installing ia32-libs have no effect (There no ia32-libs for Ubuntu 16.10). I update my system to Ubuntu 17.04 and the method still could not be used. In a word, the "td" program could not be using at the 64bit system of Ubuntu 16.10 and 17.04.

I hope to get an solution.

Best wishes,
Liang

Revision history for this message
yuanfang (yuanfang405) wrote :

I also found this problem and the following web site:
https://bugs.launchpad.net/mg5amcnlo/+bug/1689276
could not give the solution.
This web should be updated!

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Hi,

In most of the case, the 32 bit version is still working on Ubuntu at least it was in the past.
Maybe 16.10 changed that.

In any case, since MG5aMC version 2.5.0, the code MadAnalysis is not any more the official tools for plotting and we will consequently not maintain it anymore.
Since 2.5.0, the official package is MadAnalysis5 which does not relly on topdrawer.

Cheers,

Olivier

Changed in mg5amcnlo:
status: New → Invalid
Revision history for this message
liangshang (shlwell1988) wrote :
Download full text (3.7 KiB)

Dear Olivier,
  Thank you. I followed your suggestion and did an exercise in MG5_aMC_v2_5_4 for the process
p p > e+ e-

But it gave this following messages in the run_01_tag_1_debug.log (beginning with the line number), I hope to get an solution.

Best wishes,
Liang

run_01_tag_1_debug.log:
 23 generate_events run_01 -f$
 24 Traceback (most recent call last):$
 25 File "/home/shl/Desktop/MG5_aMC_v2_5_4/madgraph/interface/extended_cmd.py", line 1415, in onecmd$
 26 return self.onecmd_orig(line, **opt)$
 27 File "/home/shl/Desktop/MG5_aMC_v2_5_4/madgraph/interface/extended_cmd.py", line 1369, in onecmd_orig$
 28 return func(arg, **opt)$
 29 File "/home/shl/Desktop/MG5_aMC_v2_5_4/madgraph/interface/madevent_interface.py", line 2123, in do_generate_events$
 30 self.exec_cmd('madanalysis5_parton --no_default', postcmd=False, printcmd=False)$
 31 File "/home/shl/Desktop/MG5_aMC_v2_5_4/madgraph/interface/extended_cmd.py", line 1442, in exec_cmd$
 32 stop = Cmd.onecmd_orig(current_interface, line, **opt)$
 33 File "/home/shl/Desktop/MG5_aMC_v2_5_4/madgraph/interface/extended_cmd.py", line 1369, in onecmd_orig$
 34 return func(arg, **opt)$
 35 File "/home/shl/Desktop/MG5_aMC_v2_5_4/madgraph/interface/madevent_interface.py", line 3445, in do_madanalysis5_parton$
 36 return self.run_madanalysis5(line,mode='parton')$
 37 File "/home/shl/Desktop/MG5_aMC_v2_5_4/madgraph/interface/common_run_interface.py", line 2664, in run_madanalysis5$
 38 "an output for the analysis '%s' in\n %s"%(MA5_runtag,target)$
 39 MadGraph5Error: MadAnalysis5 failed to produced an output for the analysis 'analysis1' in$
 40 /home/shl/Desktop/MG5_aMC_v2_5_4/PROC_sm_0/MA5_PARTON_ANALYSIS_analysis1/PDF/main.pdf$
 41 Run Options $
 42 ----------- $
 43 stdout_level ^I:^I20 (user set)$
 44 $
 45 MadEvent Options $
 46 ---------------- $
 47 automatic_html_opening ^I:^IFalse (user set)$
 48 notification_center ^I:^ITrue$
 49 cluster_temp_path ^I:^INone$
 50 cluster_memory ^I:^INone (user set)$
 51 cluster_size ^I:^I100$
 52 cluster_queue ^I:^INone (user set)$
 53 nb_core ^I:^I8 (user set)$
 54 cluster_time ^I:^I8 (user set)$
 55 run_mode ^I:^I2$
 56 $
 57 Configuration Options $
 58 --------------------- $
 59 text_editor ^I:^INone$
 60 cluster_local_path ^I:^INone$
 61 cluster_status_update ^I:^I(600, 30)$
 62 pythia8_path ^I:^INone (user set)$
 63 hwpp_path ^I:^INone (user set)$
 64 pythia-pgs_path ^I:^INone (user set)$
 65 td_path ^I:^INone (user set)$
 66 delphes_path ^I:^INone (user set)$
 67 thepeg_path ^I:^INone (user set)$
 68 cluster_type ^I:^Icondor$
 69 madanalysis5_path ^I:^I/home/shl/Desktop/MG5_aMC_v2_5_4/HEPTools/madanalysis5/madanalysis5 (user set)$
 70 cluster_nb...

Read more...

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Thanks,

I will redirect this to the MadAnalysis5 author.

Cheers,

Olivier

affects: mg5amcnlo → madanalysis5
Revision history for this message
Benjamin Fuks (fuks) wrote :

Hi,

Can you please share the log files? Thanks in advance!

Cheers,

Benj

Revision history for this message
liangshang (shlwell1988) wrote :

Dear,
  I have put the corresponding log files in the attachment.

Best wishes,
Liang

Revision history for this message
liangshang (shlwell1988) wrote :
Revision history for this message
Benjamin Fuks (fuks) wrote :

[cc-ing Olivier and Valentin]

The problem is actually at the aMC level. MadAnalysis runs smoothly, but as pdflatex is not detected on the system, only the HTML report is generated. aMC is however desperately looking for the pdf version of the report which is the reason of the crash.

@Valentin/Olivier: do you mind adding an appropriate check at the aMC level: if the PDF file does not exist, we should only use the HTML report. Thanks in advance!

affects: madanalysis5 → mg5amcnlo
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Thanks Benj for the explanation and Liang for the help.

So in attachment you will find the patch which solves such problem.

Thanks,

Olivier

=== modified file 'madgraph/interface/common_run_interface.py'
--- madgraph/interface/common_run_interface.py 2017-04-28 12:41:49 +0000
+++ madgraph/interface/common_run_interface.py 2017-05-12 23:16:08 +0000
@@ -2672,9 +2672,15 @@
             else:
                 target = pjoin(self.me_dir,'MA5_%s_ANALYSIS_%s'\
                                   %(mode.upper(),MA5_runtag),'PDF','main.pdf')
+
             if not os.path.isfile(target):
- raise MadGraph5Error, "MadAnalysis5 failed to produced "+\
+ target = pjoin(self.me_dir,'MA5_%s_ANALYSIS_%s'\
+ %(mode.upper(),MA5_runtag),'HTML','index.html')
+ if MA5_runtag.upper()=='RECASTING' or not os.path.isfile(target):
+ raise MadGraph5Error, "MadAnalysis5 failed to produced "+\
                         "an output for the analysis '%s' in\n %s"%(MA5_runtag,target)
+ else:
+ target = None

             # Copy the PDF report or CLs in the Events/run directory.
             if MA5_runtag.upper()=='RECASTING':
@@ -2682,7 +2688,8 @@
             else:
                 carboncopy_name = '%s_MA5_%s_analysis_%s.pdf'%(
                                                    self.run_tag,mode,MA5_runtag)
- shutil.copy(target, pjoin(self.me_dir,'Events',self.run_name,carboncopy_name))
+ if target:
+ shutil.copy(target, pjoin(self.me_dir,'Events',self.run_name,carboncopy_name))
             if MA5_runtag!='default':
                 logger.info("MadAnalysis5 successfully completed the "+
                   "%s. Reported results are placed in:"%("analysis '%s'"%MA5_runtag

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.