Error when generating gridpack.

Asked by Nathan Mirman

When generating a gridpack on an lsf cluster, I get the following error. The gridpack wiki page says to copy bin/makefile_gridpack to the working directory, but this makefile doesn't seem to exist. Am I missing something?

Thanks,
Nathan

./bin/generate_events
No module named madgraph.interface.extended_cmd
No module named madgraph.various.misc
************************************************************
* *
* W E L C O M E to M A D G R A P H 5 *
* M A D E V E N T *
* *
* * * *
* * * * * *
* * * * * 5 * * * * *
* * * * * *
* * * *
* *
* VERSION 5.1.4.5 *
* *
* The MadGraph Development Team - Please visit us at *
* https://server06.fynu.ucl.ac.be/projects/madgraph *
* *
* Type 'help' for in-line help. *
* *
************************************************************
load configuration from Cards/me5_configuration.txt
Using default eps viewer "gv". Set another one in ./input/mg5_configuration.txt
Using default web browser "firefox". Set another one in ./input/mg5_configuration.txt
generate_events
Will run in mode parton
Do you want to edit one cards (press enter to bypass editing)?
  1 / param : param_card.dat (be carefull about parameter consistency, especially widths)
  2 / run : run_card.dat
  Path to a valid card.
 [0, done, 1, param, 2, run, enter path][20s to answer]
0
Generating gridpack with run name run_03
survey run_03 --accuracy=0.01 --points=2000 --iterations=8 --gridpack=.true.
compile directory
Running Survey
Creating Jobs
Working on SubProcesses
    P0_gg_t1t1xg
Error: no display specified
    P0_gq_t1t1xq
    P0_qq_t1t1xg
    P0_gg_t1t1x
    P0_qq_t1t1x
 Idle: 11 Running: 0 Finish: 0
 Idle: 0 Running: 11 Finish: 0
 Idle: 0 Running: 9 Finish: 2
 Idle: 0 Running: 9 Finish: 2
 Idle: 0 Running: 9 Finish: 2
 Idle: 0 Running: 9 Finish: 2
 Idle: 0 Running: 9 Finish: 2
 Idle: 0 Running: 9 Finish: 2
 Idle: 0 Running: 9 Finish: 2
 Idle: 0 Running: 9 Finish: 2
 Idle: 0 Running: 9 Finish: 2
 Idle: 0 Running: 6 Finish: 5
INFO: All jobs finished
End survey
combine_events
Combining Events
store_events
Storing parton level results
End Parton
create_gridpack
Creating gridpack
P0_gg_t1t1xg
P0_gq_t1t1xq
P0_qq_t1t1xg
P0_gg_t1t1x
P0_qq_t1t1x
P0_gg_t1t1xg
P0_gq_t1t1xq
P0_qq_t1t1xg
P0_gg_t1t1x
P0_qq_t1t1x
Cleaning SubProcesses.....
Command "generate_events " interrupted in sub-command:
"generate_events" with error:
OSError : no makefile present in /afs/cern.ch/work/n/nmirman/private/StopGoldstino_TEST
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in '/afs/cern.ch/work/n/nmirman/private/StopGoldstino_TEST/run_03_tag_1_debug.log'.
Please attach this file to your report.
quit

Question information

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

Hi Nathan,

> The gridpack wiki page says to copy bin/makefile_gridpack to the
> working directory, but this makefile doesn't seem to exist. Am I
> missing something?

I don't see any references to such manipulation on the madgraph wiki.
Could you give me the link to the wiki?
you can find up-to-date information here: https://server06.fynu.ucl.ac.be/projects/madgraph/wiki/GridDevelopment

> When generating a gridpack on an lsf cluster, I get the following
> error.

I've run some equivalent run on my computer and it works perfectly, so
I'll need a bit more of information.

Could you paste the content of the following file:
> /afs/cern.ch/work/n/nmirman/private/StopGoldstino_TEST/
> run_03_tag_1_debug.log

or sending to us in attachment at the following email
olivier.mattelaer__AT__uclouvain.be, johan.alwall__AT__uclouvain.be

Could you also indicates us how you generate the directory (i.e. the
content of the file ./Cards/proc_card_mg5.dat)

Finally, just in case could you do
ls /afs/cern.ch/work/n/nmirman/private/StopGoldstino_TEST

Cheers,

Olivier

On Jun 28, 2012, at 9:45 AM, Nathan Mirman wrote:

> New question #201717 on MadGraph5:
> https://answers.launchpad.net/madgraph5/+question/201717
>
> When generating a gridpack on an lsf cluster, I get the following
> error. The gridpack wiki page says to copy bin/makefile_gridpack to
> the working directory, but this makefile doesn't seem to exist. Am
> I missing something?
>
> Thanks,
> Nathan
>
> ./bin/generate_events
> No module named madgraph.interface.extended_cmd
> No module named madgraph.various.misc
> ************************************************************
> * *
> * W E L C O M E to M A D G R A P H 5 *
> * M A D E V E N T *
> * *
> * * * *
> * * * * * *
> * * * * * 5 * * * * *
> * * * * * *
> * * * *
> * *
> * VERSION 5.1.4.5 *
> * *
> * The MadGraph Development Team - Please visit us at *
> * https://server06.fynu.ucl.ac.be/projects/madgraph *
> * *
> * Type 'help' for in-line help. *
> * *
> ************************************************************
> load configuration from Cards/me5_configuration.txt
> Using default eps viewer "gv". Set another one in ./input/
> mg5_configuration.txt
> Using default web browser "firefox". Set another one in ./input/
> mg5_configuration.txt
> generate_events
> Will run in mode parton
> Do you want to edit one cards (press enter to bypass editing)?
> 1 / param : param_card.dat (be carefull about parameter
> consistency, especially widths)
> 2 / run : run_card.dat
> Path to a valid card.
> [0, done, 1, param, 2, run, enter path][20s to answer]
> 0
> Generating gridpack with run name run_03
> survey run_03 --accuracy=0.01 --points=2000 --iterations=8 --
> gridpack=.true.
> compile directory
> Running Survey
> Creating Jobs
> Working on SubProcesses
> P0_gg_t1t1xg
> Error: no display specified
> P0_gq_t1t1xq
> P0_qq_t1t1xg
> P0_gg_t1t1x
> P0_qq_t1t1x
> Idle: 11 Running: 0 Finish: 0
> Idle: 0 Running: 11 Finish: 0
> Idle: 0 Running: 9 Finish: 2
> Idle: 0 Running: 9 Finish: 2
> Idle: 0 Running: 9 Finish: 2
> Idle: 0 Running: 9 Finish: 2
> Idle: 0 Running: 9 Finish: 2
> Idle: 0 Running: 9 Finish: 2
> Idle: 0 Running: 9 Finish: 2
> Idle: 0 Running: 9 Finish: 2
> Idle: 0 Running: 9 Finish: 2
> Idle: 0 Running: 6 Finish: 5
> INFO: All jobs finished
> End survey
> combine_events
> Combining Events
> store_events
> Storing parton level results
> End Parton
> create_gridpack
> Creating gridpack
> P0_gg_t1t1xg
> P0_gq_t1t1xq
> P0_qq_t1t1xg
> P0_gg_t1t1x
> P0_qq_t1t1x
> P0_gg_t1t1xg
> P0_gq_t1t1xq
> P0_qq_t1t1xg
> P0_gg_t1t1x
> P0_qq_t1t1x
> Cleaning SubProcesses.....
> Command "generate_events " interrupted in sub-command:
> "generate_events" with error:
> OSError : no makefile present in /afs/cern.ch/work/n/nmirman/private/
> StopGoldstino_TEST
> Please report this bug on https://bugs.launchpad.net/madgraph5
> More information is found in '/afs/cern.ch/work/n/nmirman/private/
> StopGoldstino_TEST/run_03_tag_1_debug.log'.
> Please attach this file to your report.
> quit
>
>
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Revision history for this message
Nathan Mirman (nathan-mirman) said :
#2

Dear Olivier,
I saw the instructions to copy makefile_gridpack in a page which may be outdated -- https://server06.fynu.ucl.ac.be/projects/madgraph/wiki/FAQ-Gridpacks-5.

The output of run_03_tag_1_debug.log is pasted below. The directory is generated by running on a simplified model which I imported from feynrules, then untarring the resulting madevent.tar.gz file. The contents of proc_card_mg5.dat are:

import model sm
import model StopGoldstino_UFO
generate p p > t1 t1~
add process p p > t1 t1~ j
output StopGoldstino_TEST

The contents of the StopGoldstino_TEST/ directory are:
Cards
Events
HTML
ME5_debug
MGMEVersion.txt
README
README.lhapdf
Source
SubProcesses
TemplateVersion.txt
bin
crossx.html
index.html
lib
madevent.tar.gz
run_01_tag_1_debug.log
run_02_tag_1_debug.log
run_03_tag_1_debug.log

run_03_tag_1_debug.log:
#************************************************************
#* MadGraph/MadEvent 5 *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 5.1.4.5 *
#* *
#* The MadGraph Development Team - Please visit us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#************************************************************
generate_events
Traceback (most recent call last):
  File "/afs/cern.ch/work/n/nmirman/private/StopGoldstino_TEST/bin/internal/extended_cmd.py", line 548, in onecmd
    return cmd.Cmd.onecmd(self, line)
  File "/afs/cern.ch/cms/slc5_amd64_gcc434/external/python/2.6.4-cms14/lib/python2.6/cmd.py", line 219, in onecmd
    return func(arg)
  File "/afs/cern.ch/work/n/nmirman/private/StopGoldstino_TEST/bin/internal/madevent_interface.py", line 1705, in do_generate_events
    self.exec_cmd('create_gridpack', postcmd=False)
  File "/afs/cern.ch/work/n/nmirman/private/StopGoldstino_TEST/bin/internal/extended_cmd.py", line 586, in exec_cmd
    stop = cmd.Cmd.onecmd(current_interface, line)
  File "/afs/cern.ch/cms/slc5_amd64_gcc434/external/python/2.6.4-cms14/lib/python2.6/cmd.py", line 219, in onecmd
    return func(arg)
  File "/afs/cern.ch/work/n/nmirman/private/StopGoldstino_TEST/bin/internal/madevent_interface.py", line 2243, in do_create_gridpack
    misc.compile(['gridpack.tar.gz'], cwd=self.me_dir)
  File "/afs/cern.ch/work/n/nmirman/private/StopGoldstino_TEST/bin/internal/misc.py", line 172, in compile
    raise OSError, 'no makefile present in %s' % os.path.realpath(cwd)
OSError: no makefile present in /afs/cern.ch/work/n/nmirman/private/StopGoldstino_TEST
Value of current Options:
              web_browser : None
              text_editor : None
          pythia-pgs_path :
                  td_path :
             delphes_path :
             cluster_type : lsf
         madanalysis_path :
            cluster_queue : 1nd
       group_subprocesses : Auto
         fortran_compiler : None
                  nb_core : 16
      exrootanalysis_path :
               eps_viewer : None
                  timeout : 20
   automatic_html_opening : False
             cluster_mode : 1
             pythia8_path :
ignore_six_quark_processes : False
                 run_mode : 1

Please let me know if more information is required.

Thanks,
Nathan

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

Thanks for those information, now I can reproduce the problem.
As soon as i have resolve it, I will let you know.

Cheers,

Olivier

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

Hi Nathan,

In fact this bug was fixed "by luck" in 1.4.7.
In 1.4.7, you well see a small warning when running as you do:
Cleaning SubProcesses.
tar: README.gridpack: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors

But this is not critical at all. ( I will fix this in 1.4.8) (Just a
readme file which is missing in the .tar.gz)

Cheers,

Olivier

On Jun 28, 2012, at 2:06 PM, Olivier Mattelaer wrote:

> Question #201717 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/201717
>
> Assignee: None => Olivier Mattelaer
>
> --
> You received this question notification because you are the assignee
> for
> this question.

Revision history for this message
Nathan Mirman (nathan-mirman) said :
#5

Dear Olivier,
I changed to 1.4.7 and it works now. Thank you for your help.

Nathan

Revision history for this message
Nathan Mirman (nathan-mirman) said :
#6

Thanks Olivier Mattelaer, that solved my question.