After #1053, the restarts were not working. Additionally, initilizing from file is not working. There is a regression test for this, although it is ignored by runregression. More comprehensive CI could have prevented this failure.
Here is the gdb report from the regression test which loads initial conditions from files.
gdb ./build/gyrokinetic/creg/rt_gk_wham_1xIC_2x2v_p1
GNU gdb (Ubuntu 17.1-2ubuntu1) 17.1
Copyright (C) 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./build/gyrokinetic/creg/rt_gk_wham_1xIC_2x2v_p1...
(gdb) r
Starting program: /home/maxwell-rosen/gkeyll/build/gyrokinetic/creg/rt_gk_wham_1xIC_2x2v_p1
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
Number of update calls 1
Number of forward-Euler calls 3
Number of RK stage-2 failures 0
Number of RK stage-3 failures 0
Number of write calls 4
Timing:
- Time loop: 3.5487e-01 sec.
* Forward Euler: 3.3776e-01 sec. / 95.18 %.
^ Collision moments (charged): 1.2653e-02 sec. / 3.75 %.
^ Reaction moments (charged): 0.0000e+00 sec. / 0.00 %.
^ Collision moments (neutral): 0.0000e+00 sec. / 0.00 %.
^ Reaction moments (neutral): 0.0000e+00 sec. / 0.00 %.
^ Radiation moments: 0.0000e+00 sec. / 0.00 %.
^ Species gyroaverage: 8.5100e-07 sec. / 0.00 %.
^ Species LTE: 0.0000e+00 sec. / 0.00 %.
^ Collisionless terms (charged): 1.2392e-01 sec. / 36.69 %.
^ Collision terms (charged): 1.8451e-01 sec. / 54.63 %.
^ Damping (charged): 0.0000e+00 sec. / 0.00 %.
^ df/dt multiplier (charged): 0.0000e+00 sec. / 0.00 %.
^ Diffusion (charged): 0.0000e+00 sec. / 0.00 %.
^ Radiation terms: 0.0000e+00 sec. / 0.00 %.
^ Reaction terms (charged): 0.0000e+00 sec. / 0.00 %.
^ Boundary fluxes (charged): 0.0000e+00 sec. / 0.00 %.
^ omega_cfl (charged): 1.2421e-02 sec. / 3.68 %.
^ Sources (charged): 1.5459e-03 sec. / 0.46 %.
^ BGK Sources (charged): 0.0000e+00 sec. / 0.00 %.
^ Collisionless terms (neutral): 0.0000e+00 sec. / 0.00 %.
^ Species LTE (neutral): 0.0000e+00 sec. / 0.00 %.
^ Boundary fluxes (neutral): 0.0000e+00 sec. / 0.00 %.
^ Collision terms (neutral): 0.0000e+00 sec. / 0.00 %.
^ Reaction terms (neutral): 0.0000e+00 sec. / 0.00 %.
^ omega_cfl (neutral): 0.0000e+00 sec. / 0.00 %.
^ Sources (neutral): 0.0000e+00 sec. / 0.00 %.
^ Time step reduction: 3.3870e-06 sec. / 0.00 %.
^ Step f: 1.8092e-03 sec. / 0.54 %.
^ Accounted for: 99.73 %.
* Field solves: 1.3484e-02 sec. / 3.80 %.
^ Phi eqn RHS: 1.3305e-02 sec. / 98.67 %.
^ Phi eqn solve: 1.7166e-04 sec. / 1.27 %.
^ Accounted for: 99.95 %.
* Boundary conditions:: 2.4814e-04 sec. / 0.07 %.
^ Species (charged): 3.4417e-04 sec. / 138.70 %.
^ Species (neutral): 0.0000e+00 sec. / 0.00 %.
^ Accounted for: 138.70 %.
* Time rate diagnostics: 0.0000e+00 sec. / 0.00 %.
^ Charged species: 0.0000e+00 sec. / 0.00 %.
^ Phi: 0.0000e+00 sec. / 0.00 %.
^ Accounted for: 100.00 %.
* Positivity: 0.0000e+00 sec. / 0.00 %.
^ Species (charged): 0.0000e+00 sec. / 0.00 %.
^ Species (neutral): 0.0000e+00 sec. / 0.00 %.
^ Quasineutrality: 0.0000e+00 sec. / 0.00 %.
^ Accounted for: 100.00 %.
* Time stepper arithmetic: 6.7106e-03 sec. / 1.89 %.
* Accounted for: 100.94 %.
- I/O: 1.0851e-01 sec.
* f write (charged): 3.8466e-03 sec. / 3.55 %.
* Species diag calc (charged): 9.6919e-02 sec. / 89.32 %.
* Species diag write (charged): 7.2346e-03 sec. / 6.67 %.
* f write (neutral): 0.0000e+00 sec. / 0.00 %.
* Species diag calc (neutral): 0.0000e+00 sec. / 0.00 %.
* Species diag write (neutral): 0.0000e+00 sec. / 0.00 %.
* Field write: 2.6873e-04 sec. / 0.25 %.
* Field diag calc: 2.3504e-05 sec. / 0.02 %.
* Field diag write: 1.0598e-04 sec. / 0.10 %.
* Common write: 1.0978e-04 sec. / 0.10 %.
* Accounted for: 100.00 %.
Program received signal SIGSEGV, Segmentation fault.
__strcmp_evex () at ../sysdeps/x86_64/multiarch/strcmp-evex.S:320
⚠️ warning: 320 ../sysdeps/x86_64/multiarch/strcmp-evex.S: No such file or directory
(gdb) bt
#0 __strcmp_evex () at ../sysdeps/x86_64/multiarch/strcmp-evex.S:320
#1 0x00007ffff72f6c69 in gk_species_file_import_init (app=<optimized out>, gks=<optimized out>, inp=...)
at apps/gk_species.c:1162
#2 0x00007ffff72f8d17 in gk_species_init (gk_app_inp=gk_app_inp@entry=0x7fffffcbbd58,
app=app@entry=0x555555570c50, gks=0x5555559b8220) at apps/gk_species.c:1599
#3 0x00007ffff731fea5 in gkyl_gyrokinetic_app_new_solver (gk=gk@entry=0x7fffffcbbd58, app=0x555555570c50)
at apps/gyrokinetic.c:875
#4 0x00007ffff73209ba in gkyl_gyrokinetic_app_new (gk=gk@entry=0x7fffffcbbd58) at apps/gyrokinetic.c:976
#5 0x00007ffff733dc67 in gyrokinetic_run_singleb_simulation (inp=<optimized out>) at apps/gyrokinetic_run.c:155
#6 0x0000555555559941 in main (argc=1, argv=0x7fffffffd208) at creg/rt_gk_wham_1xIC_2x2v_p1.c:1001
(gdb)
After #1053, the restarts were not working. Additionally, initilizing from file is not working. There is a regression test for this, although it is ignored by runregression. More comprehensive CI could have prevented this failure.
Here is the gdb report from the regression test which loads initial conditions from files.