opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: Christof Metzger-Kraus <christof.j.kraus AT gmail.com>
- To: philippe.piot AT gmail.com
- Cc: opal <opal AT lists.psi.ch>
- Subject: Re: [Opal] opal-t "GS" w/ OPAL-2021.1
- Date: Fri, 19 Nov 2021 08:09:36 +0100
- Authentication-results: mc3.ethz.ch; iprev=pass (mail-io1-f42.google.com) smtp.remote-ip=209.85.166.42; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com
Hi Philippe,
before version 2021.1 Opal accepted strings argument with quotation marks and without. Therefore it couldn’t distinguish between a string and a variable name. With 2021.1 we changed this such that strings attributes have to be enclosed in quotation marks. Strings without quotation marks are treated as variable names. In order not to break every input file we added strings constants such as GS which also has the value “GS”.
GS stands for Gauss-Seidel and is used in the multi grid field solver.
Christof
Philippe Piot <philippe.piot AT gmail.com> schrieb am Fr. 19. Nov. 2021 um 00:47:
Dear All,Is there anything special to the "GS" string in OPAL-2021.1? I have a beamline call GS something as simple asGS: Line = (GUN,DR1);OPAL would not run and gives the errorError{6}>
Error{6}> *** User error detected by function "OpalData::define()"
Error{6}> You cannot replace the object "GS".
Error{6}> You cannot replace the object "GS".After fiddling around I decided to rename the beamline GS1 and everything worked fine! From the source, I could not figure out why "GS" is giving this error.Thank you, -- Philippe.PS: and this works fine with OPAL-2.4
-
[Opal] opal-t "GS" w/ OPAL-2021.1,
Philippe Piot, 11/19/2021
- Re: [Opal] opal-t "GS" w/ OPAL-2021.1, Calvo Portela, Pedro, 11/19/2021
-
Re: [Opal] opal-t "GS" w/ OPAL-2021.1,
Christof Metzger-Kraus, 11/19/2021
- Re: [Opal] opal-t "GS" w/ OPAL-2021.1, Philippe Piot, 11/19/2021
Archive powered by MHonArc 2.6.19.