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

Error in running CESM2.1.3: NetCDF: Not a valid ID ERROR: ionf_mod.F90: 235

Renfxuan

Ren Fangxuan
New Member
Hello!

I've successfully run the F2000climo compset in CESM2.1.3, but when I'm trying to submit the B1850 compset, the model always fails with the errors:

Opened existing file
/public3/home/sc50063/renfx/inputdata/atm/cam/dst/dst_source2x2tunedcam6-2x2-04
062017.nc 3
Opened existing file
/public3/home/sc50063/renfx/inputdata/atm/cam/tracer_cnst/tracer_cnst_WACCM6_ha
lons_3DmonthlyL70_1850climoCMIP6piControl001_y21-50avg_c180802.nc 4
NetCDF: Not a valid ID
pio_support::pio_die:: myrank= -1 : ERROR: ionf_mod.F90: 235 :
NetCDF: Not a valid ID
NetCDF: Not a valid ID
NetCDF: Not a valid ID
NetCDF: Not a valid ID
pio_support::pio_die:: myrank= -1 : ERROR: ionf_mod.F90: 235 :
pio_support::pio_die:: myrank= -1 : ERROR: ionf_mod.F90: 235 :
pio_support::pio_die:: myrank= -1 : ERROR: ionf_mod.F90: 235 :
NetCDF: Not a valid ID
NetCDF: Not a valid ID
NetCDF: Not a valid ID

Log files are attached below.
 

jedwards

CSEG and Liaisons
Staff member
No logs are attached. Your input file may be corrupted - check:

md5sum $CESMDATAROOT/inputdata/atm/cam/tracer_cnst/tracer_cnst_WACCM6_halons_3DmonthlyL70_1850climoCMIP6piControl001_y21-50avg_c180802.nc
8dd54652b87ea20cbb53a38c5334f2ca
 

Renfxuan

Ren Fangxuan
New Member
No logs are attached. Your input file may be corrupted - check:

md5sum $CESMDATAROOT/inputdata/atm/cam/tracer_cnst/tracer_cnst_WACCM6_halons_3DmonthlyL70_1850climoCMIP6piControl001_y21-50avg_c180802.nc
8dd54652b87ea20cbb53a38c5334f2ca
I check the md5sum of that file, and it shows 8dd54652b87ea20cbb53a38c5334f2ca. I can also open that files on my own computer. It doesn't seem to be an inputdata error.
 

Attachments

  • cesm.log.7654269.txt
    27.4 KB · Views: 3
  • Read_case.txt
    2.7 KB · Views: 2

jedwards

CSEG and Liaisons
Staff member
I think that it's failing on the next file opened.
Please add a line in mo_srf_emissions.F90 at line 191 before the cam_pio_openfile

print *,__FILE__,__LINE__,trim(locfn)

and build and run again.
 

Renfxuan

Ren Fangxuan
New Member
I think that it's failing on the next file opened.
Please add a line in mo_srf_emissions.F90 at line 191 before the cam_pio_openfile

print *,__FILE__,__LINE__,trim(locfn)

and build and run again.
I've added this line, but it still have errors.

/public3/home/sc50063/renfx/inputdata/atm/cam/chem/emis/CMIP6_emissions_1750_20
15_2deg/emissions-cmip6_DMS_bb_surface_1750-2015_1.9x2.5_c20170322.nc
mo_srf_emissions.F90 191
/public3/home/sc50063/renfx/inputdata/atm/cam/chem/emis/CMIP6_emissions_1750_20
15_2deg/emissions-cmip6_DMS_bb_surface_1750-2015_1.9x2.5_c20170322.nc
NetCDF: Not a valid ID
pio_support::pio_die:: myrank= -1 : ERROR: ionf_mod.F90: 235 :
NetCDF: Not a valid ID
NetCDF: Not a valid ID
NetCDF: Not a valid ID
pio_support::pio_die:: myrank= -1 : ERROR: ionf_mod.F90: 235 :
pio_support::pio_die:: myrank= -1 : ERROR: ionf_mod.F90: 235 :
NetCDF: Not a valid ID
NetCDF: Not a valid ID
NetCDF: Not a valid ID
pio_support::pio_die:: myrank= -1 : ERROR: ionf_mod.F90: 235 :
NetCDF: Not a valid ID
 

Attachments

  • cesm.log.7654625.txt
    74.1 KB · Views: 3

aleenamj

Aleena Moolakkunnel Jaison
New Member
Hi Ren

I am trying to run B1850 test case now, and I am having a similar error with a different file. It would be great to know if you have any leads on how to solve this error

Thanks!
 

jedwards

CSEG and Liaisons
Staff member
Check this file format with:
ncdump -k /public3/home/sc50063/renfx/inputdata/atm/cam/chem/emis/CMIP6_emissions_1750_20
15_2deg/emissions-cmip6_DMS_bb_surface_1750-2015_1.9x2.5_c20170322.nc
 

aleenamj

Aleena Moolakkunnel Jaison
New Member
Hi

ncdump -k output from the files I am having trouble is '64-bit offset'.

Thanks
 

jedwards

CSEG and Liaisons
Staff member
That is the correct format. Are you using the latest cesm in the 2.1.x series? 2.1.5
You may need to update your netcdf build, but the fact that ncdump gave a correct result leads me to believe that this is not the issue.
 

jedwards

CSEG and Liaisons
Staff member
Please update to cesm2.1.5 - it is scientifically the same as 2.1.3 and only has fixes for issues like the one you are trying to solve. You should be able to follow the same instructions as you are using for 2.1.3.
 

aleenamj

Aleena Moolakkunnel Jaison
New Member
Thank you so much for the help. I redid the model set up and it is working fine now.
 

inos@bas_ac_uk

Ingrid Cnossen
Member
Thank you so much for the help. I redid the model set up and it is working fine now.
Dear Aleena,

I'm also trying to run CESM on ARCHER2. I previously used CESM2.1.3, but am now in the process of upgrading to version 2.1.5, as I was running into an error, which could possibly be related to the older version (I posted on this in a different thread, CESM2.3.beta08 porting issue, so won't bother you with the details here). However, the test SMS.f19_f19_mg17.PC4.archer2_gnu.cam-cam4_port with CESM2.1.5 fails with the same error as Ren quoted above. So I'd be interested in what you did exactly to get it to work. Did you mean you redid the model setup for version 2.1.3? Or did you mean 2.1.5? And you said you "roughly" followed the setup guide for CESM2.1.3 for Archer2 - was there anything in particular that you did differently? I hope you're willing to share a bit more information with me :-)

Thanks!
Ingrid
 
Top