Problem in using Pythia-PGS package with Mad5_v1_3_33

Asked by Shabbar Raza

Hi,
I am trying to use Pythia-PGS package with MadGraph5_v1_3_33. I have kept package in the same directory (i.e if MadGraph5_v1_3_33) and compiled it. I wanted to run pythia and pgs on my existing events. So I went to MyRunDir and made sure that I had pythia_card_default.dat and types the command:

./bin/run_pythia /home/shabbar/sw/MadGraph5/MadGraph5_v1_3_33/~madteam/pythia-pgs-for-mg 0 mt_T_173_Z2_unweighted_events.lhe.gz

but I am having the message that

No pythia_card.dat found. Quitting...

Since I have started using MadGraph recently have never used pythia with MadGraph so I am not sure how to handle this problem. It will very nice if you suggest some solution.

Thanks.

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
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

did you do the following:
cp Cards/pythia_card_defaults.dat Cards/pythia_card.dat?

I think that this should solve your problem.

Cheers,

Olivier
On Jun 28, 2012, at 1:21 PM, Shabbar Raza wrote:

> New question #201736 on MadGraph5:
> https://answers.launchpad.net/madgraph5/+question/201736
>
> Hi,
> I am trying to use Pythia-PGS package with MadGraph5_v1_3_33. I have
> kept package in the same directory (i.e if MadGraph5_v1_3_33) and
> compiled it. I wanted to run pythia and pgs on my existing events.
> So I went to MyRunDir and made sure that I had
> pythia_card_default.dat and types the command:
>
> ./bin/run_pythia /home/shabbar/sw/MadGraph5/MadGraph5_v1_3_33/
> ~madteam/pythia-pgs-for-mg 0 mt_T_173_Z2_unweighted_events.lhe.gz
>
> but I am having the message that
>
> No pythia_card.dat found. Quitting...
>
> Since I have started using MadGraph recently have never used pythia
> with MadGraph so I am not sure how to handle this problem. It will
> very nice if you suggest some solution.
>
> Thanks.
>
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Revision history for this message
Shabbar Raza (shabbar) said :
#2

Thanks Olivier for your suggestion. Yes, I have already tried it but had the same error message.

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

Hi,

I'm not sure at all since this version starts to be quite old, and
that part was deeply changed in 1.4.0
But could you try to launch that script from Events directory?

../bin/run_pythia /home/shabbar/sw/MadGraph5/MadGraph5_v1_3_33/
~madteam/pythia-pgs-for-mg 0 ../mt_T_173_Z2_unweighted_events.lhe.gz

Cheers,

Olivier

On Jun 28, 2012, at 1:45 PM, Shabbar Raza wrote:

> Question #201736 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/201736
>
> Status: Answered => Open
>
> Shabbar Raza is still having a problem:
> Thanks Olivier for your suggestion. Yes, I have already tried it but
> had
> the same error message.
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Revision history for this message
Johan Alwall (johan-alwall) said :
#4

Hello Shabbar,

In v. 1.3.X, you need to run run_pythia from the Events directory:
cd Events
../bin/run_pythia PATH_TO_PYTHIA 0 RUN_PREFIX

But the easiest is to upgrade to v. 1.4.X, where you can simply use
bin/madevent
pythia run_name

All the best,
Johan

Can you help with this problem?

Provide an answer of your own, or ask Shabbar Raza for more information if necessary.

To post a message you must log in.