Hi all.
@bethanwhite attempted to run a very large 1 km domain and hit the following hard-coded limits:
???????????????????????????????????????????????????????????????????????????????
???!!!???!!!???!!!???!!!???!!! ERROR ???!!!???!!!???!!!???!!!???!!!
? Error code: 20
? Error from routine: NLSIZES_NAMELIST_MOD:CHECK_NLSIZES
? Error message: 1 errors have been found in the nlsizes namelist
? Please see output for details and then correct the namelist
? Error from processor: 0
? Error number: 0
????????????????????????????????????????????????????????????????????????????????
and
Defensive checks on global_row_length (4222) against [2:4096] .... FAIL
Defensive checks on global_rows (888) against [1:3200] .... pass
Defensive checks on model_levels (90) against [1:250] .... pass
Bethan identified the following hard-coded limits in the existing source at /src/control/misc/atmos_max_sizes.F90:MODULE atmos_max_sizes
MODULE atmos_max_sizes
IMPLICIT NONE
! Maximum sector size for I/O
#if defined(UTILIO)
! Small execs needs a larger value to cope with some of the wet
! model types
INTEGER, PARAMETER :: row_length_max = 8000 ! maximum row length
INTEGER, PARAMETER :: rows_max = 6000 ! max no of rows
#else
INTEGER, PARAMETER :: row_length_max = 4096 ! maximum row length
INTEGER, PARAMETER :: rows_max = 3200 ! max no of rows
#endif
! maximum permitted size of a halo
INTEGER, PARAMETER :: Max_Halo_Size = 20
INTEGER, PARAMETER :: model_levels_max = 250 ! max no of total levels
INTEGER, PARAMETER :: horiz_dim_max=MAX(row_length_max,rows_max)
@Bethan contacted the UKMO and there are change sets that specifically address these limits.
These are change sets for UMv13.5. Some of these are specific to their ‘tropical channel’ configuration, others will be required to run rAM3 over large km-scale (and lower) domains.
Bethan is attempting to compile a version locally now to run her large 1km domain.
Question - Do we want to create a UMv13.5_kscale branch in the ACCESS-NRI/UM repo that contains all the changes required to run rAM3 for a very large number of grid points?