Open LDAmorim opened 3 years ago
I don't know if I am missing a command for RZ or for openPMD
.
Here is the backtrace, script and input files from this issue: script.txt Backtrace.0.0.txt input.txt e-_primary_opmd.h5.zip
The 2D WarpX
executable works and reproduces the correct particle injection from external_file
.
Figure below shows openPMD
file data on left distribution plots (position top / velocity bottom) and WarpX
diags at time step 0 on right plots.
Sorry, I have not seen this earlier. Feel free to @-me so I receive a notification.
Is this problem still up to date? I cannot see the exact lines, but going back a month in the code it looks to me, in combination to the lines that Bracktrace.0.0.txt
points to, that this has something to do with the parsing of the input options inside PlasmaInjector::PlasmaInjector (int ispecies, const std::string& name)
:
https://github.com/ECP-WarpX/WarpX/blob/bc3bf28155c3257e7fd6386bd43a9f9fd52b7287/Source/Initialization/PlasmaInjector.cpp#L170-L174
It's confusing that it would think mass_is_specified
is true. You could add a print statement in that if before and after the transform to check and/or specify the mass truly for all three active species in the inputs file.
Hi @ax3l! Thanks for following up on this. I will test it again asap and share the updates here. Cheers, Diana
Hi all,
I am trying to run
WarpX
in RZ withopenPMD
(to input particles fromopenPMD
files) in CORI@NERSC.And I encountered the error message below. It does not appear when I read my file in 2D (successful plots in next message).
Googling the first message, it seams to come form some re-writing of a variable. But I don't know where to look for this (yet!).
So I was wondering if any of you have found this issue before (or if you had ideas where I could start looking). I can't tell if it could be connected to https://github.com/ECP-WarpX/WarpX/issues/1238 or not.
Thanks, Diana