[MITgcm-support] ABNORMAL END: S/R LOAD_GRID_SPACING (when changing number of grid points)

Martin Losch martin.losch at awi.de
Mon Jan 9 07:44:20 EST 2017


Hi Jon,

could you provide more details of the error messages? The S/R LOAD_GRID_SPACING has several different checks.

As a general rule, Nx = sNx*nSx*nPx should be the same as the number delX that you provide. In natl_box Nx = 20, so delX = 20*2, (twenty time 2 degrees in this case).

Whenever dx is constant, I use dxSpacing = 2 (and dySpacing) instead of delX = “Nx”*2, this avoids having to specify the grid dimension in “data"

Martin

> On 9 Jan 2017, at 13:24, Baker, Jon <jb812 at exeter.ac.uk> wrote:
> 
> Hi all,
> 
> I am attempting to edit the geometry in several of the tutorials (e.g. natl_box and biogeochem) to an idealised setup but I keep getting the following runtime error: S/R LOAD_GRID_SPACING. 
> 
> I have altered the input files and the SIZE.h file to the appropriate domain size, although this does not appear to be the cause of the error. The error is caused by altering delX and delY in the data file to the appropriate number of grid points e.g. in the natl_box tutorial, delX= 20*2, but if I change the number of grid points (e.g. to delX= 10*2), the aforementioned error occurs! 
> 
> Perhaps some other files need to be altered (in addition to SIZE.h and the input files). Any help would be greatly appreciated. 
> 
> Cheers,
> Jon 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list