CABLE-LSM / CABLE

Home to the CABLE land surface model and its documentation
https://cable.readthedocs.io/en/latest/
Other
12 stars 6 forks source link

Offline serial driver does not support `cable_user%MetType = 'gswp3'` #388

Open SeanBryan51 opened 2 months ago

SeanBryan51 commented 2 months ago

Running CABLE offline in serial (main branch - commit 95b9b5e915581b0d0ed0ed407573cb448770c7b4) using the crujra_accessN96_1h results in the following error:

 Cannot process command line definition of namelist fie
 using cable.nml as the namelsit
 THE NAME LIST IS cable.nml
 Use spatially-specific soil properties;          192         112
           0
           0
 When choosing spatially-specific soil properties,
 snow-free albedo is also overwritten by this data set.
 Reading CABLE_PFTPARM namelist...
 Reading CABLE_SOILPARM namelist...
 Total number of patches (countPatch):            0
  Could neither find restart file INPUT/restart.nc
  nor INPUT/restart.nc/STANDARD_1901_cable_rst.nc
  Pre-loaded default initialisations are used.
 OVER WRITING CSS_VEC, RHOSOIL_VEC, CNSD_VEC read from gw_type input
 Forcing values consistant with soil_thermal_fix = true
 Reading CABLE_PFTPARM namelist...
 Reading CABLE_SOILPARM namelist...
 Error defining y dimension in output file. (SUBROUTINE open_output_file)
 NetCDF: NC_UNLIMITED size already in use

The above configuration using a debug build crashes with the following error:

 Cannot process command line definition of namelist fie
 using cable.nml as the namelsit
 THE NAME LIST IS cable.nml
forrtl: error (72): floating overflow
Image              PC                Routine            Line        Source
cable              0000000000B482C4  Unknown               Unknown  Unknown
libpthread-2.28.s  00007F806F3ACD20  Unknown               Unknown  Unknown
cable              000000000041502C  MAIN__                    604  cable_driver.F90
cable              000000000040CBA2  Unknown               Unknown  Unknown
libc-2.28.so       00007F806EFFE7E5  __libc_start_main     Unknown  Unknown
cable              000000000040CAAE  Unknown               Unknown  Unknown
Aborted

The debug build crashes on this line in cable_driver.F90. It looks like this is due to an uninitialised dels variable (which is caused by the cable_user%MetType namelist option being set to gswp3 which is not supported in the serial driver).

Steps to reproduce (Gadi)

  1. Clone the crujra_accessN96_1h repository.
  2. Set exe in config.yaml to point to the absolute path of the serial executable.
  3. Setup the configuration with payu setup.
    # via hh5 modules
    module load conda/analysis3-24.07
    payu setup
  4. Change directory into work and run the symlinked CABLE executable.