Mailing List picongpu-users@hzdr.de Message #152
From: Huebl, Axel <a.huebl@hzdr.de>
Subject: Re: [PIConGPU-Users] [PIConGPU-Users] Species is not correctly loaded after restart ?
Date: Thu, 1 Dec 2016 22:24:03 +0100
To: <picongpu-users@hzdr.de>
Your very welcome, I prepared a PR already since I find that very
useful, too.
  https://github.com/ComputationalRadiationPhysics/picongpu/pull/1668

Cheers,
Axel

On 01.12.2016 22:02, Lei, Bifeng wrote:
> Dear Axel,
>
> Yes. It works now.
> So many thanks,
>
> Best regards,
> Bifeng Lei
>
>> On 1 Dec 2016, at 21:44, Huebl, Axel <a.huebl@hzdr.de> wrote:
>>
>> Dear Bifeng,
>>
>>
>> thank you for reaching out!
>>
>> Yes, you are doing everything all right and I actually just enabled that
>> "feature" to allow such a restart with disabled moving window a couple
>> of months ago, ... but have forgotten to publish it (the master student
>> that needed it was happy ;)  )
>>
>> Depending on HDF5 or ADIOS for restarting, just remove the "if-line" here:
>>
>> https://github.com/ComputationalRadiationPhysics/picongpu/blob/0.2.1/src/picongpu/include/plugins/hdf5/HDF5Writer.hpp#L208
>> or here:
>>
>> https://github.com/ComputationalRadiationPhysics/picongpu/blob/0.2.1/src/picongpu/include/plugins/adios/ADIOSWriter.hpp#L695
>>
>> then recompile & restart.
>>
>> From the quick testing I did back then this:
>> - does not break restart that keep "-m"
>> - allows restarts that remove the "-m" to stop the window.
>>
>> But be aware, that restarting new checkpoints from that simulation's
>> restart steps will then not be able to "enable" moving window again,
>> since that would require more logic in our window (we would have to
>> remember how long you "paused" the moving window).
>>
>>
>> Does that help? If yes, I will add that feature to the `dev` branch.
>>
>>
>> All the best,
>> Axel
>>
>> On 01.12.2016 17:24, Bifeng Lei wrote:
>>> Dear Axel,
>>>
>>> I am currently running a laser wakefield simulation by PIConGPU on
>>> Hypnos cluster. A problem occurs when I try to restart a simulation in
>>> such steps:
>>>
>>> 1.  run a simulation *with moving window* and checkout after some
>>>    steps. The attached picture (*e_png_yx_0.5_004000.png*) is the
>>>    output at the checkout point.
>>> 2.  restart the simulation from the checkout point *without the moving
>>>    window* by setting /TBG_movingWindow="". /It means to just stop the
>>>    window at this position. Right?  The laser could be correctly loaded
>>>    again. But, it seems that the plasma could not be will correctly
>>>    load. Please see the attached picture (*e_png_yx_0.5_004200.png*).
>>>
>>> Now, if I restart the simulation from the same checkout point with
>>> moving window (/TBG_movingWindow="-m"/), everything seems fine. Please
>>> see the picture *e_png_yx_0.5_004200_mw.png.*
>>>
>>> The 2D demo simulation shown here is from the LaserWakefield-example
>>> shipped with the code
>>> (https://github.com/ComputationalRadiationPhysics/picongpu/tree/master/examples/LaserWakefield).
>>>
>>> I am just wondering if anything I am doing incorrect here.
>>>
>>> So many thanks in advance.
>>>
>>> With best regards,
>>> Bifeng Lei
>>>
>>> --
>>> GSI Helmholtzzentrum für Schwerionenforschung GmbH
>>> Planckstraße 1
>>> 64291 Darmstadt
>>> www.gsi.de
>>>
>>> Gesellschaft mit beschränkter Haftung
>>> Sitz der Gesellschaft: Darmstadt
>>> Handelsregister: Amtsgericht Darmstadt, HRB 1528
>>>
>>> Geschäftsführung:
>>> Ursula Weyrich, Professor Dr. Karlheinz Langanke, Jörg Blaurock
>>>
>>> Vorsitzender des Aufsichtsrates: Staatssekretär Dr. Georg Schütte
>>> Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt
>>>
>>
>> --
>>
>> Axel Huebl
>> Phone +49 351 260 3582
>> https://www.hzdr.de/crp
>> Computational Radiation Physics
>> Laser Particle Acceleration Division
>> Helmholtz-Zentrum Dresden - Rossendorf e.V.
>>
>> Bautzner Landstrasse 400, 01328 Dresden
>> POB 510119, D-01314 Dresden
>> Vorstand: Prof. Dr.Dr.h.c. R. Sauerbrey
>>          Prof. Dr.Dr.h.c. P. Joehnk
>> VR 1693 beim Amtsgericht Dresden
>>
>> #############################################################
>> This message is sent to you because you are subscribed to
>>  the mailing list <picongpu-users@hzdr.de>.
>> To unsubscribe, E-mail to: <picongpu-users-off@hzdr.de>
>> To switch to the DIGEST mode, E-mail to <picongpu-users-digest@hzdr.de>
>> To switch to the INDEX mode, E-mail to <picongpu-users-index@hzdr.de>
>> Send administrative queries to  <picongpu-users-request@hzdr.de>
>>
>
>
> #############################################################
> This message is sent to you because you are subscribed to
>   the mailing list <picongpu-users@hzdr.de>.
> To unsubscribe, E-mail to: <picongpu-users-off@hzdr.de>
> To switch to the DIGEST mode, E-mail to <picongpu-users-digest@hzdr.de>
> To switch to the INDEX mode, E-mail to <picongpu-users-index@hzdr.de>
> Send administrative queries to  <picongpu-users-request@hzdr.de>
>

--

Axel Huebl
Phone +49 351 260 3582
https://www.hzdr.de/crp
Computational Radiation Physics
Laser Particle Acceleration Division
Helmholtz-Zentrum Dresden - Rossendorf e.V.

Bautzner Landstrasse 400, 01328 Dresden
POB 510119, D-01314 Dresden
Vorstand: Prof. Dr.Dr.h.c. R. Sauerbrey
          Prof. Dr.Dr.h.c. P. Joehnk
VR 1693 beim Amtsgericht Dresden
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster