opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: "Frey Matthias (PSI)" <matthias.frey AT psi.ch>
- To: "opal AT lists.psi.ch" <opal AT lists.psi.ch>, "Kuske, Bettina" <bettina.kuske AT helmholtz-berlin.de>
- Subject: AW: [Opal] Error in option seed
- Date: Wed, 25 Mar 2020 10:03:00 +0000
- Accept-language: de-DE, de-CH, en-US
Dear Bettina,
The SEED in the Sampler is different to the SEED used for the particle distribution, which the manual refers to (I think).
So, if you use SEED=-1 for the particle distribution, OPAL takes the time. If you use the SEED=-1 for the sampler,
it doesn't take the time to generate the samples.
Best,
Matthias
Von: opal-request AT lists.psi.ch <opal-request AT lists.psi.ch> im Auftrag von Kuske, Bettina <bettina.kuske AT helmholtz-berlin.de>
Gesendet: Mittwoch, 25. März 2020 10:16:17
An: opal AT lists.psi.ch
Betreff: [Opal] Error in option seed
Gesendet: Mittwoch, 25. März 2020 10:16:17
An: opal AT lists.psi.ch
Betreff: [Opal] Error in option seed
Dear developers,
I am using the seed option.
Refering to the manual, SEED=-1 uses the time as seed,
so to my understanding, each run of the same sampler file should
have a different seed and thus different samples.
This doesn't seem to work.
I ran a sampler file twice with SEED=-1 with only one variable.
Each time I start the run, I get identical solenoid settings.
// Sampling methods
SM1: SAMPLING, VARIABLE="sol", TYPE="UNIFORM", SEED=-1, RANDOM=TRUE, N=2;
SM1: SAMPLING, VARIABLE="sol", TYPE="UNIFORM", SEED=-1, RANDOM=TRUE, N=2;
I can work around by setting theseed manually, but that should be fixed, or the manual adapted.
Thank you!
Bettina
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (Sprecher), Prof. Dr. Jan Lüning, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
- [Opal] Error in option seed, Kuske, Bettina, 03/25/2020
- AW: [Opal] Error in option seed, Frey Matthias (PSI), 03/25/2020
- Re: [Opal] Error in option seed, Christof Metzger-Kraus, 03/25/2020
- Re: [Opal] Error in option seed, Adelmann Andreas (PSI), 03/26/2020
- Re: [Opal] Error in option seed, Christof Metzger-Kraus, 03/25/2020
- AW: [Opal] Error in option seed, Frey Matthias (PSI), 03/25/2020
Archive powered by MHonArc 2.6.19.