Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

SCAM netcdf pio crash

rneale

Rich Neale
CAM Project Scientist
Staff member
Hi, It's a little soon I know but I am trying to build and run SCAM from a very recent CAM tag (cesm1_5_alpha02e)And I am invoking the following modules on thorodin (CGD)    module load compiler/pgiGivingCurrently Loaded Modulefiles:
  1) mpi/pgi/mvapich2-1.8.1-qlc   2) tool/netcdf/4.3.2/pgi        3) compiler/pgi/default

SCAM compiles fine but crashes with the followingNetCDF: Index exceeds dimension bound  pio_support::pio_die:: myrank=           -1 : ERROR: pionfget_mod.F90: Any ideas?ThanksRich
 

jet

Member
Hi Rich:Its hard to tell without seeing some more of the log file.  Its obviously having trouble reading one fo the netcdf files.  Usually if the model dates are beyond the IOP dates the model will die with this error.. Most of the time when this happens I try compiling with debug opitons and using pgdbg to stop at the error.  If its aborting you can usually break on mpi_abort or abort and go up the call stack once the model stops on abort.
jt
 

jet

Member
Hi Rich:
Looked into this more and its a bug in the development branch.  The bug only shows up for initial files what have 3d dimensions that are ordered (time,lat,lev,lon).  For scam I think one of these datasets is a cami_0000-09-01_64x128_L30_c031210.nc initial condition file.  The are other initial condition files (Jan I believe) that have their dimensions ordered (time,lev,lat,lon) and these do not trip the code that is halting your model.  Steve is aware of this and will commit a fix for the trunk.  As a work around in the mean time you can either find another initial condition file that has dimensions ordered (time,lev,lat,lon) or just use ncpdq (part of the nco utilites) and permute the dimensions of your current initial condition file.  This utility will only change the way the data is ordered on the netcdf file and should produce a bit for bit run with the original (that is if you could actually run the original). ncpdq -a time,lev,lat,lon cami_0000-09-01_64x128_L30_c031210.nc cami_0000-09-01_64x128_L30_c031210.perm.nc jt
 
Top