Skip to Content.
Sympa Menu

opal - Re: [Opal] simulation with amr fieldsolver

opal AT

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] simulation with amr fieldsolver

Chronological Thread  
  • From: "Calvo Portela, Pedro" <Pedro.Calvo AT>
  • To: 'sherlp' <1341516422 AT>, "opal AT" <opal AT>, "Snuverink Jochem (PSI)" <jochem.snuverink AT>
  • Subject: Re: [Opal] simulation with amr fieldsolver
  • Date: Tue, 22 Mar 2022 07:49:10 +0000
  • Accept-language: es-ES, en-US

Dear Sherlp

I think that the error that OPAL throws may be due to a mismatch in the names of some Fieldsolver attributes. The regression test AmrRingCyclotron is not updated with the latest version of OPAL, nor with the master version, and moreover, it is not currently run with the other tests, so there is no maintenance tracking. Therefore, you should check that the fieldsolver attributes are correctly assigned with the accepted names according to the Manual.

I have detected some errors in your FIELDSOLVER command:

AMR_MG_NORM options: "L1_NORM", "L2_NORM", "LINF_NORM"

Since OPAL 2021.1, all string variables are predefined internally in the code, so only some values are properly accepted. You must verify within the Manual the suitable names of those attributes

I'll try to update the regression tests related to AMR solver in order to avoid future mistakes



Dr. Pedro Calvo Portela
Unidad de Aceleradores - CIEMAT
Avenida Complutense 40, Edificio 7
28040 Madrid
Tel: +34 – 91 496 2554

De: opal-request AT <opal-request AT> en nombre de Snuverink Jochem (PSI) <jochem.snuverink AT>
Enviado: martes, 22 de marzo de 2022 8:32
Para: 'sherlp'; opal AT
Asunto: AW: [Opal] simulation with amr fieldsolver
Dear Sherlp

Did you compile with ENABLE_AMR and ENABLE_AMR_MG_SOLVER equals TRUE? (
If that is not the case then the AMR example won't work, though I admit the error message is not very helpful. Did you already try another non-AMR example?

Best regards,

-----Ursprüngliche Nachricht-----
Von: opal-request AT <opal-request AT> Im Auftrag von sherlp
Gesendet: Dienstag, 22. März 2022 03:01
An: opal AT
Betreff: [Opal] simulation with amr fieldsolver

Dear all,

I tried to run the example named AmrRingCyclotron in RegressionTests, but fails. It shows that

Error> *** Parse error detected by function "Expressions::parseStringValue()"
Error> *** in line 82 of file "" before token ",":
Error>     String value expected

I looked up the manual but didn't find anything wrong with this .

Best regards,


Archive powered by MHonArc 2.6.19.

Top of Page