Error of running madevent with bash script

Asked by USTCChenNing on 2019-01-03

I tried to generate events with MG5_2_6_4. I can generate an output directory for the process. Then I am also okay to run a single event generation run by doing:

./bin/madevent launch

under the terminal. As I am trying to make multiple runs of event generation for future usage, I wrote a bash script to do the job as below:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

#! /bin/bash
for ((i=1;i<=2;i++))
do
  ./bin/madevent launch xx$i
  #cd ./Events/xx$i/
  cp ./Events/xx$i/tag_1_pythia8_events.hepmc.gz pythia8_events$i.hepmc.gz
  cp ./Events/xx$i/tag_1_delphes_events.root delphes_events$i.root
  rm -rf ./Events/xx$i
  mv pythia8_events$i.hepmc.gz /lustre/AtlUser/chenning/LHC14_SM/WZ/
  mv delphes_events$i.root /lustre/AtlUser/chenning/LHC14_SM/WZ/

done

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

However, my cluster keeps reporting bugs for this case. Can anyone help with what was wrong for this case? Thank you very much.

Question information

Language:
English Edit question
Status:
Expired
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2019-01-03
Last reply:
2019-01-19

Well,

What is the error?
With that much information, I doubt that anyone can help you.

Cheers,

Olivier

> On 3 Jan 2019, at 14:02, USTCChenNing <email address hidden> wrote:
>
> New question #677292 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/677292
>
> I tried to generate events with MG5_2_6_4. I can generate an output directory for the process. Then I am also okay to run a single event generation run by doing:
>
> ./bin/madevent launch
>
> under the terminal. As I am trying to make multiple runs of event generation for future usage, I wrote a bash script to do the job as below:
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> #! /bin/bash
> for ((i=1;i<=2;i++))
> do
> ./bin/madevent launch xx$i
> #cd ./Events/xx$i/
> cp ./Events/xx$i/tag_1_pythia8_events.hepmc.gz pythia8_events$i.hepmc.gz
> cp ./Events/xx$i/tag_1_delphes_events.root delphes_events$i.root
> rm -rf ./Events/xx$i
> mv pythia8_events$i.hepmc.gz /lustre/AtlUser/chenning/LHC14_SM/WZ/
> mv delphes_events$i.root /lustre/AtlUser/chenning/LHC14_SM/WZ/
>
> done
>
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> However, my cluster keeps reporting bugs for this case. Can anyone help with what was wrong for this case? Thank you very much.
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Hi, Olivier,

Sorry for the incomplete message posted on the web. I did not find
where to upload the bug log file though, and it is attached here.
Thanks a lot for taking a look.

best,
Ning

On Thu, Jan 3, 2019 at 11:17 PM Olivier Mattelaer
<email address hidden> wrote:
>
> Your question #677292 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/677292
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Well,
>
> What is the error?
> With that much information, I doubt that anyone can help you.
>
> Cheers,
>
> Olivier
>
> > On 3 Jan 2019, at 14:02, USTCChenNing <email address hidden> wrote:
> >
> > New question #677292 on MadGraph5_aMC@NLO:
> > https://answers.launchpad.net/mg5amcnlo/+question/677292
> >
> > I tried to generate events with MG5_2_6_4. I can generate an output directory for the process. Then I am also okay to run a single event generation run by doing:
> >
> > ./bin/madevent launch
> >
> > under the terminal. As I am trying to make multiple runs of event generation for future usage, I wrote a bash script to do the job as below:
> >
> > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> >
> > #! /bin/bash
> > for ((i=1;i<=2;i++))
> > do
> > ./bin/madevent launch xx$i
> > #cd ./Events/xx$i/
> > cp ./Events/xx$i/tag_1_pythia8_events.hepmc.gz pythia8_events$i.hepmc.gz
> > cp ./Events/xx$i/tag_1_delphes_events.root delphes_events$i.root
> > rm -rf ./Events/xx$i
> > mv pythia8_events$i.hepmc.gz /lustre/AtlUser/chenning/LHC14_SM/WZ/
> > mv delphes_events$i.root /lustre/AtlUser/chenning/LHC14_SM/WZ/
> >
> > done
> >
> >
> > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> >
> > However, my cluster keeps reporting bugs for this case. Can anyone help with what was wrong for this case? Thank you very much.
> >
> >
> > --
> > You received this question notification because you are an answer
> > contact for MadGraph5_aMC@NLO.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/mg5amcnlo/+question/677292/+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/mg5amcnlo/+question/677292
>
> You received this question notification because you asked the question.

--

Dr. CHEN, Ning
Associate Professor
School of Physics, Nankai University,
Tianjin, 300071, China

HI,

Here is still on the web ^^

If you want to attach a file, you should create a bug report and not ask a question.
Ubuntu does not allow to attach file for question (maybe to force the distinction between bug and question)

Cheers,

Olivier

Launchpad Janitor (janitor) said : #4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.