Skip to Content.
Sympa Menu

opal - Re: [Opal] Dump to H5 at start and end

opal AT

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Dump to H5 at start and end

Chronological Thread  
  • From: "Alba Jacas Arnau (PSI)" <arnau.albajacas AT>
  • To: "Taubert, Sebastian" <taubert AT>, "Adelmann Andreas (PSI)" <andreas.adelmann AT>
  • Cc: "opal AT" <opal AT>
  • Subject: Re: [Opal] Dump to H5 at start and end
  • Date: Thu, 27 Jan 2022 14:18:43 +0000
  • Accept-language: en-GB, de-CH, en-US
  • Authentication-results:; iprev=pass ( smtp.remote-ip=; spf=pass; dmarc=skipped

Hi Sebastian,

For the initial phase-space you can use WRITETOFILE in the Distribution command

For the final phase-space it should automatically be written to an h5 as Andreas mentioned.



From: opal-request AT <opal-request AT> on behalf of Adelmann Andreas (PSI) <andreas.adelmann AT>
Sent: 27 January 2022 14:46:29
To: Taubert, Sebastian
Cc: opal AT
Subject: Re: [Opal] Dump to H5 at start and end
Hi Sebastian, the last step should always be in the h5 file if I remember correctly.

However with Monitors you have full control:

Mstart: Monitor, TYPE=TEMPORAL, OUTFN = "Mstart.h5", ELEMEDGE=xxx;
Mend: Monitor, TYPE=TEMPORAL, OUTFN = "Mens.h5", ELEMEDGE=yyy;

Hope that helps,

Cheers A
Dr. sc. math. Andreas (Andy) Adelmann
Head a.i. Labor for Scientific Computing and Modelling 
Paul Scherrer Institut OHSA/ CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Zoom ID: 470-582-4086 Password: AdA
Zoom Link:

Friday: ETH HPK G 28   +41 44 633 3076
The more exotic, the more abstract the knowledge, 
the more profound will be its consequences.
Leon Lederman 

On 27 Jan 2022, at 14:42, Taubert, Sebastian <taubert AT> wrote:

Hi all,

Is there a quick way to tell OPAL to dump all bunch information into an H5 at the start and the end of a simulation? There is PSDUMPFRQ, but as for my tries it does not necessarily dump on the first step or the last. 

I need this for optimizer evaluation where I run a lot of OPAL simulations in parallel (e.g. 64 or even more) and you can imagine that, with a low enough PSDUMPFRQ, the H5 files get enormous. But I only need the first and last step. Actually, I only need longitudinal particle position and particle momentum.

A quick tip would be much apprecciated! 


Doctoral Student
Accelerator Physics

Institut für Kernphysik
Johannes Gutenberg-Universität Mainz
Johann-Joachim-Becher-Weg 45
D - 55128 Mainz

E-Mail: taubert AT
Office: Due to Covid-19, temporarily not in office
Mobile: +49 1515 0535622

Archive powered by MHonArc 2.6.19.

Top of Page