-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User-defined function in DiagScreen gives a SegFault #27
Comments
Hi Leo |
In fact, axes should work as well. Let me have a look |
I think I have an idea. Python might get closed before smilei starts the loop. There is a dirty workaround to make it work. Use any custom time profile somewhere in the namelist, and it will keep python alive. For instance, add an empty laser: Laser( space_time_envelope = (lambda t: 0) ) (or whatever works in your simulation). If this is the problem, I will correct it tomorrow. |
With adding an empty laser it is now working, thank you ! |
The latest commit should have fixed your problem, without need of an empty laser. |
Hi,
I'm trying to use user-defined function in DiagScreen, but it gives me a SegFault.
Namelist (for the test) :
Error :
I've also the same error with the user-defined function with
deposited_quantity
on DiagScreenLocal installation with :
Smilei version : 3.3
openmpi version : 1.10.2
hdf5 version : 1.8.16
Léo.
The text was updated successfully, but these errors were encountered: