Skip to Content.
Sympa Menu

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

opal AT lists.psi.ch

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 psi.ch>
  • To: "Taubert, Sebastian" <taubert AT uni-mainz.de>, "Adelmann Andreas (PSI)" <andreas.adelmann AT psi.ch>
  • Cc: "opal AT lists.psi.ch" <opal AT lists.psi.ch>
  • 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: mc3.ethz.ch; iprev=pass (psi-seppmail1.ethz.ch) smtp.remote-ip=129.132.93.141; spf=pass smtp.mailfrom=psi.ch; dmarc=skipped

Hi Sebastian,


For the initial phase-space you can use WRITETOFILE in the Distribution command http://amas.web.psi.ch/opal/Documentation/master/#sec.distribution.gendistattributes

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


Best,

Arnau


From: opal-request AT lists.psi.ch <opal-request AT lists.psi.ch> on behalf of Adelmann Andreas (PSI) <andreas.adelmann AT psi.ch>
Sent: 27 January 2022 14:46:29
To: Taubert, Sebastian
Cc: opal AT lists.psi.ch
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: https://ethz.zoom.us/j/4705824086?pwd=dFcvT1pMMGY0bHg0dTNncUNZZTJkZz09

-------------------------------------------------------
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 uni-mainz.de> 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! 

Cheers
Sebastian


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 uni-mainz.de
Office: Due to Covid-19, temporarily not in office
Mobile: +49 1515 0535622




Archive powered by MHonArc 2.6.19.

Top of Page