iseed in run_card.dat

Asked by liangshang

Dear,
  I set “1 = iseed” in run_card.dat, but it became “0 = iseed” after I run “./bin/generate_events -f”, I want to know which of “1 = iseed” or “0 = iseed” I used?
  Additionally, if I run “./bin/generate_events -f” 20 times with “0 = iseed”, the produced events are independent statically. I want to know if it is equivalent to setting “1 = iseed”, “2 = iseed”, …, “20 = iseed” when every run “./bin/generate_events”.
  What is more, I want to know how to understand the sentence “0=assigned automatically=default” in run_card.dat?

Best Regards,
Liang

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

Dear Liang,

> I set “1 = iseed” in run_card.dat, but it became “0 = iseed” after I run “./bin/generate_events -f”,

I like this behaviour quite a lot, but I do not reproduce it.

> I want to know which of “1 = iseed” or “0 = iseed” I used?
To be sure, you can look at the banner which should indicate the correct value that you are using.

> Additionally, if I run “./bin/generate_events -f” 20 times with “0 = iseed”, the produced events are independent statically

Yes

> I want to know if it is equivalent to setting “1 = iseed”, “2 = iseed”, …, “20 = iseed” when every run “./bin/generate_events”.

it is equivalent, but the value choose are not 1/2/3/…. you can look at the banner to see the actual value used.
Note that you can also use the “multi_run” function (from the ./bin/madevent interface) to run 20 run in a row.

> What is more, I want to know how to understand the sentence “0=assigned automatically=default” in run_card.dat?

We basically use the latest seed use in that local directory increment it by the number of process of your run and that will be the next seed.

Cheers,

Olivier

On 08 Apr 2015, at 05:51, liangshang <email address hidden> wrote:

> New question #264773 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/264773
>
> Dear,
> I set “1 = iseed” in run_card.dat, but it became “0 = iseed” after I run “./bin/generate_events -f”, I want to know which of “1 = iseed” or “0 = iseed” I used?
> Additionally, if I run “./bin/generate_events -f” 20 times with “0 = iseed”, the produced events are independent statically. I want to know if it is equivalent to setting “1 = iseed”, “2 = iseed”, …, “20 = iseed” when every run “./bin/generate_events”.
> What is more, I want to know how to understand the sentence “0=assigned automatically=default” in run_card.dat?
>
> Best Regards,
> Liang
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

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

To post a message you must log in.