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

PIO error while trying to generate 3 hour CAM output for CLM spinup

Hello all,

We are attempting to output 3 hour CAM data to use with the CPLHIST3HrWx mode in a DATM mode, and I have followed the instructions provided here, but I get a strange error regarding the netCDF write option in cam_history.F90. Here is the error I am getting:

1: Opened file b.e12.B1850CN.f19_g16.cam.h1.0001-01-01-00000.nc to write
1:           6
37: pio_support::pio_die:: myrank=          -1 : ERROR: pionfatt_mod.F90:
37:         170 : NetCDF: Not a valid data type or _FillValue type mismatch
55: pio_support::pio_die:: myrank=          -1 : ERROR: pionfatt_mod.F90:
55:         170 : NetCDF: Not a valid data type or _FillValue type mismatch
1: pio_support::pio_die:: myrank=          -1 : ERROR: pionfatt_mod.F90:
1:         170 : NetCDF: Not a valid data type or _FillValue type mismatch
37:MPT ERROR: Rank 37(g:37) is aborting with error code 1.
37:     Process ID: 5687, Host: r2i4n27, Program: /glade2/scratch2/hughlett/b.e12.B1850CN.f19_g16/bld/cesm.exe
37:     MPT Version: SGI MPT 2.15  09/03/16 04:15:54
37:
37:MPT: --------stack traceback-------
19: pio_support::pio_die:: myrank=          -1 : ERROR: pionfatt_mod.F90:
19:         170 : NetCDF: Not a valid data type or _FillValue type mismatch
1:MPT ERROR: Rank 1(g:1) is aborting with error code 1.
1:      Process ID: 9725, Host: r2i4n22, Program: /glade2/scratch2/hughlett/b.e12.B1850CN.f19_g16/bld/cesm.exe
1:      MPT Version: SGI MPT 2.15  09/03/16 04:15:54
1:
1:MPT: --------stack traceback-------
-1:MPT ERROR: MPI_COMM_WORLD rank 19 has terminated without calling MPI_Finalize()
-1:     aborting jobI saw on another post that the solution was to change this line in cam_history.F90

if (tape(t)%hlist(f)%hwrt_prec == 8) then

to

if ((tape(t)%hlist(f)%hwrt_prec == 8) .or. restart) then

so I jumped into cam_history.F90 to change it. However, it has already been changed and I am still getting the above error. I've not worked with PIO much, so I'm out of my element here. Any help would be greatly appreciated. My case is located at the following path:

/glade/p/work/hughlett/cheyenne/b.e12.B1850CN.f19_g16

Thanks in advance!! 
 
Hello Dr. Taylor Hughlett, I am running into the same error: pio_support::pio_die:: myrank=          -1 : ERROR: pionfatt_mod.F90:          170 : NetCDF: Not a valid data type or _FillValue type mismatch Have you come to a solution?   -Jonathan R. BuzanPhD University of Bern
 

jedwards

CSEG and Liaisons
Staff member
Can you provide the model version along with the full tracback from the cesm log? 
 
Hello J. Edwards,I am working with cesm1.2.2.As for traceback. I am unfamiliar with the term. Is this a flag I need to turn on?  I think it might be a PIO version error, so I am executing a new model with the same setup, but making sure I have the correct PIO. -Jonathan
 
Top