Process in Madgraph

Asked by Matt

Hello,

it's the first time I use Madgraph on HEPMDB.
I want to generate 10k events for a process of that kind:
 p p > e+ e+ j j,
using a UFO model previously uploaded.
Could you please suggest me how to proceed in HEPMDB?

Thank you in advance,

Matt.

Question information

Language:
English Edit question
Status:
Solved
For:
HEPMDB Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Locke
Solved:
Last query:
Last reply:

This question was reopened

  • by Matt
Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#1

Hello Matt,
you need to use

"Calculate" session
and use Madgraph menu to
1. run process card
2. generate events

Cheers,
Sasha

Revision history for this message
Matt (elvin.j) said :
#2

Dear Sasha,

Thank you for your reply, now things seem to work in a different way, however I’m still not sure on how to proceed.
I’m trying to proceed in the following way:

“Calculate” session -> Madgraph menu
- “Import model”: MY_MODEL-UFO
- Edit proc_card_mg5.dat, for example writing
   import model MY_MODEL-UFO
   define p = g u c d s u~ c~ d~ s~
   define j = g u c d s u~ c~ d~ s~
   generate p p > e+ e+ j j
   output
- “Save"
- “Run process card”

However it seems that something goes wrong since this message comes out:

You successfully submitted a job on HPCx : #bash: line 0: cd: /home/hepmdb/users/1798/madgraph/PROCESS: No such file or directory
qsub: script file 'qsub_madgraph.dat' cannot be loaded - No such file or directory.

I hope I was clear enough.

Thank you in advance.
Best,

Matt.
> On 22 Sep 2017, at 02:58, Alexander Belyaev <email address hidden> wrote:
>
> Your question #658381 on HEPMDB changed:
> https://answers.launchpad.net/hepmdb/+question/658381
>
> Status: Open => Answered
>
> Alexander Belyaev proposed the following answer:
> Hello Matt,
> you need to use
>
> "Calculate" session
> and use Madgraph menu to
> 1. run process card
> 2. generate events
>
> Cheers,
> Sasha
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hepmdb/+question/658381/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hepmdb/+question/658381
>
> You received this question notification because you asked the question.

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#3

Dear Matt,
could you reset your account,
and try again?
I have made changes and installed new version of MG which requires users to
reset the account, see menu in the upper right corner of the calculate
section.

Also, please make sure that you
have
output PROCESS
statement in your process card
at the end -- the default folder name we decided to go with
at HEPMDB

IF you still will have problem,
please let me know.

Cheers
Sasha

On Fri, 22 Sep 2017, 11:47 Matt <email address hidden>
wrote:

> Question #658381 on HEPMDB changed:
> https://answers.launchpad.net/hepmdb/+question/658381
>
> Status: Answered => Open
>
> Matt is still having a problem:
> Dear Sasha,
>
> Thank you for your reply, now things seem to work in a different way,
> however I’m still not sure on how to proceed.
> I’m trying to proceed in the following way:
>
> “Calculate” session -> Madgraph menu
> - “Import model”: MY_MODEL-UFO
> - Edit proc_card_mg5.dat, for example writing
> import model MY_MODEL-UFO
> define p = g u c d s u~ c~ d~ s~
> define j = g u c d s u~ c~ d~ s~
> generate p p > e+ e+ j j
> output
> - “Save"
> - “Run process card”
>
> However it seems that something goes wrong since this message comes out:
>
> You successfully submitted a job on HPCx : #bash: line 0: cd:
> /home/hepmdb/users/1798/madgraph/PROCESS: No such file or directory
> qsub: script file 'qsub_madgraph.dat' cannot be loaded - No such file or
> directory.
>
>
> I hope I was clear enough.
>
> Thank you in advance.
> Best,
>
> Matt.
> > On 22 Sep 2017, at 02:58, Alexander Belyaev <
> <email address hidden>> wrote:
> >
> > Your question #658381 on HEPMDB changed:
> > https://answers.launchpad.net/hepmdb/+question/658381
> >
> > Status: Open => Answered
> >
> > Alexander Belyaev proposed the following answer:
> > Hello Matt,
> > you need to use
> >
> > "Calculate" session
> > and use Madgraph menu to
> > 1. run process card
> > 2. generate events
> >
> > Cheers,
> > Sasha
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> https://answers.launchpad.net/hepmdb/+question/658381/+confirm?answer_id=0
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/hepmdb/+question/658381
> >
> > You received this question notification because you asked the question.
>
> --
> You received this question notification because you are subscribed to
> the question.
>
--

___________________________
Prof. Alexander S Belyaev (<email address hidden>)
http://www.hep.phys.soton.ac.uk/~belyaev/
School of Physics & Astronomy, University of Southampton, Office: 5047
SO17 1BJ, TEL.: +44 (0)23 8059 8509

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#4

P.S.

output PROCESS
appears in a template
of every proc card, just do not erase it.

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#5

Dear Matt,

Looks like you had a successful run.

Please confirm.

Cheers,

Sasha

On 22/09/17 11:47, Matt wrote:

Question #658381 on HEPMDB changed:
https://answers.launchpad.net/hepmdb/+question/658381

     Status: Answered => Open

Matt is still having a problem:
Dear Sasha,

Thank you for your reply, now things seem to work in a different way, however I’m still not sure on how to proceed.
I’m trying to proceed in the following way:

“Calculate” session -> Madgraph menu
- “Import model”: MY_MODEL-UFO
- Edit proc_card_mg5.dat, for example writing
   import model MY_MODEL-UFO
   define p = g u c d s u~ c~ d~ s~
   define j = g u c d s u~ c~ d~ s~
   generate p p > e+ e+ j j
   output
- “Save"
- “Run process card”

However it seems that something goes wrong since this message comes out:

You successfully submitted a job on HPCx : #bash: line 0: cd: /home/hepmdb/users/1798/madgraph/PROCESS: No such file or directory
qsub: script file 'qsub_madgraph.dat' cannot be loaded - No such file or directory.

I hope I was clear enough.

Thank you in advance.
Best,

Matt.

> On 22 Sep 2017, at 02:58, Alexander Belyaev <email address hidden> wrote:
>
> Your question #658381 on HEPMDB changed:
> https://answers.launchpad.net/hepmdb/+question/658381
>
> Status: Open => Answered
>
> Alexander Belyaev proposed the following answer:
> Hello Matt,
> you need to use
>
> "Calculate" session
> and use Madgraph menu to
> 1. run process card
> 2. generate events
>
> Cheers,
> Sasha
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hepmdb/+question/658381/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hepmdb/+question/658381
>
> You received this question notification because you asked the question.

--
______________________________________________________________________
Prof. Alexander S Belyaev (<email address hidden>)
http://www.hep.phys.soton.ac.uk/~belyaev/

School of Physics & Astronomy, University of Southampton
Office 5047, SO17 1BJ, TEL: +44 23805 98509, FAX: +44 23805 93910
.....................................................................
Particle Physics Department, Rutherford Appleton Laboratory
Didcot, OX11 0QX, TEL: +44 12354 45562, FAX: +44 12354 46733
.....................................................................
CERN, CH-1211 Geneva 23, Switzerland
Office 40/1-B20, Mailbox: E27910, TEL: +41 2276 71642
______________________________________________________________________

Revision history for this message
Matt (elvin.j) said :
#6

Dear Sasha,

You're right, now it all works fine!
Thank you.

Best,
Matt.

Il 23 Set 2017 00:34, "Alexander Belyaev" <
<email address hidden>> ha scritto:

> Your question #658381 on HEPMDB changed:
> https://answers.launchpad.net/hepmdb/+question/658381
>
> Alexander Belyaev proposed the following answer:
> Dear Matt,
>
> Looks like you had a successful run.
>
> Please confirm.
>
> Cheers,
>
> Sasha
>
>
> On 22/09/17 11:47, Matt wrote:
>
> Question #658381 on HEPMDB changed:
> https://answers.launchpad.net/hepmdb/+question/658381
>
> Status: Answered => Open
>
> Matt is still having a problem:
> Dear Sasha,
>
> Thank you for your reply, now things seem to work in a different way,
> however I’m still not sure on how to proceed.
> I’m trying to proceed in the following way:
>
> “Calculate” session -> Madgraph menu
> - “Import model”: MY_MODEL-UFO
> - Edit proc_card_mg5.dat, for example writing
> import model MY_MODEL-UFO
> define p = g u c d s u~ c~ d~ s~
> define j = g u c d s u~ c~ d~ s~
> generate p p > e+ e+ j j
> output
> - “Save"
> - “Run process card”
>
> However it seems that something goes wrong since this message comes out:
>
> You successfully submitted a job on HPCx : #bash: line 0: cd:
> /home/hepmdb/users/1798/madgraph/PROCESS: No such file or directory
> qsub: script file 'qsub_madgraph.dat' cannot be loaded - No such file or
> directory.
>
>
> I hope I was clear enough.
>
> Thank you in advance.
> Best,
>
> Matt.
>
> > On 22 Sep 2017, at 02:58, Alexander Belyaev <question658381@answers.
> launchpad.net> wrote:
> >
> > Your question #658381 on HEPMDB changed:
> > https://answers.launchpad.net/hepmdb/+question/658381
> >
> > Status: Open => Answered
> >
> > Alexander Belyaev proposed the following answer:
> > Hello Matt,
> > you need to use
> >
> > "Calculate" session
> > and use Madgraph menu to
> > 1. run process card
> > 2. generate events
> >
> > Cheers,
> > Sasha
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/hepmdb/+question/658381/+
> confirm?answer_id=0
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/hepmdb/+question/658381
> >
> > You received this question notification because you asked the question.
>
>
> --
> ______________________________________________________________________
> Prof. Alexander S Belyaev (<email address hidden>)
> http://www.hep.phys.soton.ac.uk/~belyaev/
>
> School of Physics & Astronomy, University of Southampton
> Office 5047, SO17 1BJ, TEL: +44 23805 98509, FAX: +44 23805 93910
> .....................................................................
> Particle Physics Department, Rutherford Appleton Laboratory
> Didcot, OX11 0QX, TEL: +44 12354 45562, FAX: +44 12354 46733
> .....................................................................
> CERN, CH-1211 Geneva 23, Switzerland
> Office 40/1-B20, Mailbox: E27910, TEL: +41 2276 71642
> ______________________________________________________________________
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hepmdb/+question/658381/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hepmdb/+question/658381
>
> You received this question notification because you asked the question.
>

Revision history for this message
Matt (elvin.j) said :
#7

Thanks Alexander Belyaev, that solved my question.

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#8

Good, so please close the ticket
Cheers Sasha

On Sat, 23 Sep 2017, 06:09 Matt <email address hidden>
wrote:

> Question #658381 on HEPMDB changed:
> https://answers.launchpad.net/hepmdb/+question/658381
>
> Status: Answered => Open
>
> Matt is still having a problem:
> Dear Sasha,
>
> You're right, now it all works fine!
> Thank you.
>
> Best,
> Matt.
>
> Il 23 Set 2017 00:34, "Alexander Belyaev" <
> <email address hidden>> ha scritto:
>
> > Your question #658381 on HEPMDB changed:
> > https://answers.launchpad.net/hepmdb/+question/658381
> >
> > Alexander Belyaev proposed the following answer:
> > Dear Matt,
> >
> > Looks like you had a successful run.
> >
> > Please confirm.
> >
> > Cheers,
> >
> > Sasha
> >
> >
> > On 22/09/17 11:47, Matt wrote:
> >
> > Question #658381 on HEPMDB changed:
> > https://answers.launchpad.net/hepmdb/+question/658381
> >
> > Status: Answered => Open
> >
> > Matt is still having a problem:
> > Dear Sasha,
> >
> > Thank you for your reply, now things seem to work in a different way,
> > however I’m still not sure on how to proceed.
> > I’m trying to proceed in the following way:
> >
> > “Calculate” session -> Madgraph menu
> > - “Import model”: MY_MODEL-UFO
> > - Edit proc_card_mg5.dat, for example writing
> > import model MY_MODEL-UFO
> > define p = g u c d s u~ c~ d~ s~
> > define j = g u c d s u~ c~ d~ s~
> > generate p p > e+ e+ j j
> > output
> > - “Save"
> > - “Run process card”
> >
> > However it seems that something goes wrong since this message comes out:
> >
> > You successfully submitted a job on HPCx : #bash: line 0: cd:
> > /home/hepmdb/users/1798/madgraph/PROCESS: No such file or directory
> > qsub: script file 'qsub_madgraph.dat' cannot be loaded - No such file or
> > directory.
> >
> >
> > I hope I was clear enough.
> >
> > Thank you in advance.
> > Best,
> >
> > Matt.
> >
> > > On 22 Sep 2017, at 02:58, Alexander Belyaev <question658381@answers.
> > launchpad.net> wrote:
> > >
> > > Your question #658381 on HEPMDB changed:
> > > https://answers.launchpad.net/hepmdb/+question/658381
> > >
> > > Status: Open => Answered
> > >
> > > Alexander Belyaev proposed the following answer:
> > > Hello Matt,
> > > you need to use
> > >
> > > "Calculate" session
> > > and use Madgraph menu to
> > > 1. run process card
> > > 2. generate events
> > >
> > > Cheers,
> > > Sasha
> > >
> > > --
> > > If this answers your question, please go to the following page to let
> us
> > > know that it is solved:
> > > https://answers.launchpad.net/hepmdb/+question/658381/+
> > confirm?answer_id=0
> > >
> > > If you still need help, you can reply to this email or go to the
> > > following page to enter your feedback:
> > > https://answers.launchpad.net/hepmdb/+question/658381
> > >
> > > You received this question notification because you asked the question.
> >
> >
> > --
> > ______________________________________________________________________
> > Prof. Alexander S Belyaev (<email address hidden>)
> > http://www.hep.phys.soton.ac.uk/~belyaev/
> >
> > School of Physics & Astronomy, University of Southampton
> > Office 5047, SO17 1BJ, TEL: +44 23805 98509, FAX: +44 23805 93910
> > .....................................................................
> > Particle Physics Department, Rutherford Appleton Laboratory
> > Didcot, OX11 0QX, TEL: +44 12354 45562, FAX: +44 12354 46733
> > .....................................................................
> > CERN, CH-1211 Geneva 23, Switzerland
> > Office 40/1-B20, Mailbox: E27910, TEL: +41 2276 71642
> > ______________________________________________________________________
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> https://answers.launchpad.net/hepmdb/+question/658381/+confirm?answer_id=4
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/hepmdb/+question/658381
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you are subscribed to
> the question.
>
--

___________________________
Prof. Alexander S Belyaev (<email address hidden>)
http://www.hep.phys.soton.ac.uk/~belyaev/
School of Physics & Astronomy, University of Southampton, Office: 5047
SO17 1BJ, TEL.: +44 (0)23 8059 8509

Revision history for this message
Matt (elvin.j) said :
#9

Dear Sasha,

sorry to open again this ticket, but it seems that I still have some problems with the Madgraph interface, more precisely I can't see any output file.

Thank you again.

Cheers,
Matt.

Revision history for this message
Dan Locke (danl0) said :
#10

Hi Matt,

I can see that this has been caused when we updated to the latest MadGraph version. I will look into this and get back to you.

Thanks,
Dan

Revision history for this message
Dan Locke (danl0) said :
#11

Hi Matt,

I have fixed this issue and run some tests and everything appears to be working fine for me. Please note that you may have to do "Menu->Reset account" in order for the changes to work for you. Also please check that your model file is in the correct format, all model files should be zipped as a .tar.gz. If you have any further issues then please let us know!

Regards
Dan

Revision history for this message
Matt (elvin.j) said :
#12

Hi Dan.

thanks for the answer. I am sorry to say that I still have problems: I tried as before by importing my model (that I think was compressed as .tar.gz as you specified) and then by editing the "proc_card_mg5.dat" just substituting the name of the model with mine, and the process that I want to generate. After running this card with the command "Run proc card", and obviously waiting for the job to be finished, I have tried with "Run event simulation".
Now I see my run in the events folder, but it seems that the two files inside are is all empty, or rather it seems impossible to open and/or download them.

Probably is just about my procedure, so please let me know if I am committing any mistakes.

Thank you in advance.
Cheers,
Matt.

Revision history for this message
Dan Locke (danl0) said :
#13

Hi Matt,

I can see the issue, I will work on a fix and get back to you..

Regards
Dan

Revision history for this message
Dan Locke (danl0) said :
#14

Please reset account and rerun, it should work finally.

Revision history for this message
Matt (elvin.j) said :
#15

Hi,

thanks for your effert. Now the cross section is correctly calculated, however, it is still not possible to download the LHE files, although I have tried with "Copy file to "LHE files and plots"" the files cannot be opened or seen in the folder "LHE flies and plots".

Cheers,
Matt

Revision history for this message
Best Dan Locke (danl0) said :
#16

Hi Matt,

You must double click on one of the directories listed in "Madgraph Events Folder" menu, and then select the relevant .lhe.gz to copy to"LHE files and plots". Then go Madgraph->View LHE and NT folder, then you may either download the events file or use File->Uncompress before plotting if you wish.

I appreciate this isn't as clear as it should be, I will improve this!

Regards
Dan

Revision history for this message
Matt (elvin.j) said :
#17

Thanks Dan Locke, that solved my question.