-
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
Segmentation fault #705
Comments
This is probably not a bug, but a wrong installation. Please provide more info on your setup |
Sorry, I really don‘t know how to present more info ,all I can do is using code 'make env'. |
Can you try to run some benchmarks to see if it's the installation or the input file? |
No fault occurred when running tst1d and tst2d, but same segmentation fault occurred when running tst3d. |
Can you provide exactly how it was run? Threads, mpis, which benchmarks, stdout. |
Treads =2 , mpi =1 ,benchmarks:"tst1d_00_em_propagation.py, tst2d_00_em_propagation.py, tst3d_01_thermal_plasma.py" When running "tst3d_01_thermal_plasma.py" fault: |
I can see that a bunch of Unicode functions have been removed in python 3.12. I only tested 3.11 for now so there might be a new incompatibility that would need fixing. I have to run some tests |
thank you! |
I‘ve changed my python3.12 to python3.11, same fault occurred when I running 3d-simulation. |
I just reproduced the bug with 3.12.0, not with 3.11.6 |
Ok I believe it is an error introduced by Python3.12. I have asked the python guys to find out. In the meantime, I think I have found a workaround, but maybe you can try to use 3.11 as well. Remember to |
So it turns out it is not a bug in python, but something not very well made in Smilei that was kind of permitted in python 3.11, but more strict in 3.12. I will try to fix this soon |
OK, I will run with 3.11 |
Bravo! It seems no more segmentation fault occurred when running simulation with python3.11, thank you very much! |
Should be fixed here: c1d7a32 |
thank you very much! |
Hi,
Recently I installed Smilei(v5.0) on our group server, after installation, I ran my old 3D-simulation but segmentation fault occurred after few seconds of runtime. Simulation can successfully run only after I set "export OMP_THREADS=1". And I have tried my old 2D-simulation, no fault occurred. Is this because I didn't set the dependencies of Smilei properly?
Segmentation fault:'
Stack trace (most recent call last) in thread 343401:
#8 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#7 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7ff1b1126bbb, in
#6 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7ff1b10a645b, in
#5 Object "/lib/x86_64-linux-gnu/libgomp.so.1", at 0x7ff1b1eedbdd, in
#4 Object "smilei", at 0x55ca40510feb, in
#3 Object "/lib/x86_64-linux-gnu/libpython3.12.so.1.0", at 0x7ff1b18c71de, in PyImport_AddModule
#2 Object "/lib/x86_64-linux-gnu/libpython3.12.so.1.0", at 0x7ff1b1839a9c, in
#1 Object "/lib/x86_64-linux-gnu/libpython3.12.so.1.0", at 0x7ff1b1817994, in PyUnicode_New
#0 Object "/lib/x86_64-linux-gnu/libpython3.12.so.1.0", at 0x7ff1b17df860, in
Segmentation fault (Address not mapped to object [0x10])
Segmentation fault
'
The text was updated successfully, but these errors were encountered: