mpi_version: Too many integers to track the current trajectory id
There is one in model_constants_t
called traj_id
, in output_handle_t
called traj
, and in task_scheduler_t
called current_traj
. The one that is transported via checkpoints is from model_constants_t
and while loading, it is set in output_handle_t
. However, the one from the scheduler is used only during static scheduling, whereas the others are needed for the other modes. I should either reduce the number of used ids (which works only if the others can be accessed where needed) or I should make sure, the values are set correctly during loading of a checkpoint.