Hi again, I tried to switch my integrator method to dopri or radau to speed it up. I got the radau and dopri tests to work with the following steps:

1)Remove -m32 flag in

Generator/Dopri_ODEsystem.py

Generator/Radau_ODEsystem.py

PyCont/ContClass.py

2) remove radau and dopri temp folders in the working directory

3) install gfortran and swig

Now except for a non-terminal events found warning, both the dopri_event_test.py and radau_event_test.py run smoothly.

When I try to employ these integrators in my actual code, I stumble into the following error messages:

{

/home/mathis/python/myenv/Kibble-Zurek/radau5_temp/Kibble_vf.c: In function ‘F’:

/home/mathis/python/myenv/Kibble-Zurek/radau5_temp/Kibble_vf.c:243: error: expected expression before ‘[’ token

}{

/home/mathis/python/myenv/Kibble-Zurek/dopri853_temp/Kibble_vf.c: In function ‘F’:

/home/mathis/python/myenv/Kibble-Zurek/dopri853_temp/Kibble_vf.c:243: error: expected expression before ‘[’ token

}

The cited code is:

{ return [-5*__y1__+2*sqrt(2)*J(__t__, p_, wk_, xv_)*sin(2*3.141592653589793/L*k)* __y2__,5*__y0__+2*sqrt(2)*J(__t__, p_, wk_, xv_)*sin(2*3.141592653589793/L*k)*__ y3__,-(2*sqrt(2)*J(__t__, p_, wk_, xv_)*sin(2*3.141592653589793/L*k))*__y0__+((m u-2*J(__t__, p_, wk_, xv_)*cos(2*3.141592653589793/L*k)+U-mu-4*J(__t__, p_, wk_, xv_)*cos(2*3.141592653589793/L*k))-5)*__y3__,(-(2*sqrt(2)*J(__t__, p_, wk_, xv_ )*sin(2*3.141592653589793/L*k))*__y1__)-((mu-2*J(__t__, p_, wk_, xv_)*cos(2*3.14 1592653589793/L*k)+U-mu-4*J(__t__, p_, wk_, xv_)*cos(2*3.141592653589793/L*k))-5 )*__y2__] ; }

The problem occurs when creating the ODE: ode = Generator.Dopri_ODEsystem. Vode runs through smoothly.

The error is persistent over 2 machines with very different configurations, one is running nixos, one ubuntu.

Do I have to handle dopri and radau somehow differently from vode? Let me know if I can supply any more information.

Thanks in advance. All the best, Mathis