Build without netcdf can't change time step unless `in_memory = .true.`

Issue #57 resolved
David Dickinson created an issue

This is perhaps a slightly unusual situation but a build without netcdf can't correctly change the time step (e.g. during a non-linear simulation) unless in_memory = .true.. This is because it will try to dump the dist-fn to file, change the step and then read in the dist-fn from file. As we can't do this without netcdf the read in fails. Unfortunately we don't actually abort in this scenario (even though we detect it) and try to carry on even though the dist-fn and field arrays may now be uninitialised.

I think we should probably check in_memory for this type of build and warn/abort if we're doing a non-linear job without this set. We should probably also abort if we try to load in the dist-fn from file but can't as we don't have netcdf available -- this will prevent us possible using uninitialised values.

Comments (1)

  1. Log in to comment