opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: "Snuverink Jochem (PSI)" <jochem.snuverink AT psi.ch>
- To: "'Dr. Simon Friederich'" <s.friederich AT uni-mainz.de>, "opal AT lists.psi.ch" <opal AT lists.psi.ch>
- Subject: RE: [Opal] Exception using sampler
- Date: Mon, 17 Feb 2020 08:30:58 +0000
- Accept-language: en-US, de-CH
Dear Simon,
The .data file can be used to define certain constants that are used in the .tmpl file, similar to design variables but constant. See e.g. here, where the same scheme is used with a different tool: https://gitlab.psi.ch/OPAL/src/wikis/runOPAL
However, this is not strictly needed for the sampler, just add an empty file with the correct name to your directory:
touch /media/sf_Seafile_OPAL/example_sampler/example_sampler_drift.data
Sorry for this, we are aware and there is an outstanding issue regarding this.
Hope that helps, best regards, Jochem
From: opal-request AT lists.psi.ch <opal-request AT lists.psi.ch>
On Behalf Of Dr. Simon Friederich
Dear all,
OPAL{0}> opal sampler.in --inputfile=example_sampler_drift.tmpl --outfile=samplerout --outdir=samplerout --num-masters=1 --num-coworkers=1 --restartstep=-2147483648 --jsonDumpFreq=18446744073709551616 --nsamples=1 --simtmpdir=/media/sf_Seafile_OPAL/example_sampler/samplerout --templates=/media/sf_Seafile_OPAL/example_sampler/. ✔ 1 objectives
✔ 1 dvars
0 (PID: 1686) ▶ Pilot
1 (PID: 1687) ▶ Sampler
2 (PID: 1688) ▶ Worker
Warning: argument "one-pilot-converge" not found! Using default value (0). 3 (PID: 1689) ▶ Worker
Exception while running simulation: The data file 'example_sampler_drift.data' doesn't exist in directory '/media/sf_Seafile_OPAL/example_sampler' Stop Pilot.. OPAL{0}> * End of input stream "sampler.in". Stop Worker.. Stop Sampler.. Stop Worker..
----------------------------------- Dr. Simon Friederich Helmholtz-Institut Mainz Collaboration B/ACID Johannes Gutenberg-Universität Mainz Staudingerweg 18 55128 Mainz, Germany phone: +49 (0)6131 39-23160 E-Mail: sifriede AT uni-mainz.de ----------------------------------- |
- [Opal] Exception using sampler, Dr. Simon Friederich, 02/17/2020
- RE: [Opal] Exception using sampler, Snuverink Jochem (PSI), 02/17/2020
- RE: [Opal] Exception using sampler, Kuske, Bettina, 02/17/2020
- Re: [Opal] Exception using sampler, Dr. Simon Friederich, 02/17/2020
Archive powered by MHonArc 2.6.19.