ocn initialization. string too short; not enough room to read nc file

Yao

New Member
Hi,

I'm a trainee of cesm2.1.3, and I meet a problem that the model pended when cpl operated the ocn initialization.

The end of ocn.log file shows that

Reading pointer file: rpointer.ocn.restart
(open_read_netcdf) nsize = 1343
(open_read_netcdf) len(data_file%history) = 384
string too short; not enough room to read history attribute from ./b.e20.B1850.
f09_g17.pi_control.all.299_merge_v3.merge.bf_spin.032.1030.pop.r.0134-01-01-00000.nc

my case is --res f09_g17 --compset B1850

Any sugguestions will be quite helpful for me to solve this problem.

Thanks very much.
 

jedwards

CSEG and Liaisons
Staff member
The source of the error is components/pop/source/io_netcdf.F90
I think that the solution is to change line 95 of that file from 80 to some larger value - try 256.
 

Yao

New Member
Thanks jedwards, it works. I just increased the NTASKS of OCN. I don't know why but it works even without modifying the io_netcdf.F90

I meet another error "ERROR: bounding bracket for pH solution not found". Do you have any ideas?


The source of the error is components/pop/source/io_netcdf.F90
I think that the solution is to change line 95 of that file from 80 to some larger value - try 256.
 
Back
Top