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

cesm1_2_2_CAMChem Running Issue - NetCDF: Invalid dimension ID or name

Hi Jedwards,I have managed to get the cesm1_2_2_CAMChem up and running.The case that is created is using the command below:
create_newcase -case /scratch/cc/vfaculty/rsoniya.vfaculty/CASES/CASE1 -res T31_g37 -compset F1850CNCHM -mach The model runs fine and stops in two cases: 1) When using PIO_TYPENAME = netcdf : Here some pio error occurs.  (Refer log : CASE1.o762972 and CASE1.o762972_log)Netcdf seems to be build correctly. Below is the log:[rsoniya.vfaculty@login02 CASE1]$ nc-config --all This netCDF 4.3.3.1 has been built with the following features:   --cc        -> mpicc  --cflags    ->  -I/scratch/cc/vfaculty/rsoniya.vfaculty/install/deps/include -I/scratch/cc/vfaculty/rsoniya.vfaculty/install/deps/include  --libs      -> -L/scratch/cc/vfaculty/rsoniya.vfaculty/install/deps/lib -lnetcdf   --has-c++   -> no  --cxx       ->  --has-c++4  -> no  --cxx4      ->   --fc        -> mpifort  --fflags    -> -I/scratch/cc/vfaculty/rsoniya.vfaculty/install/deps/include  --flibs     -> -L/scratch/cc/vfaculty/rsoniya.vfaculty/install/deps/lib -lnetcdff -L/scratch/cc/vfaculty/rsoniya.vfaculty/install/deps/lib -lnetcdf -lnetcdf  --has-f90   -> no   --has-dap   -> yes  --has-nc2   -> yes  --has-nc4   -> yes  --has-hdf5  -> yes  --has-hdf4  -> no  --has-pnetcdf-> yes   --prefix    -> /scratch/cc/vfaculty/rsoniya.vfaculty/install/deps  --includedir-> /scratch/cc/vfaculty/rsoniya.vfaculty/install/deps/include  --version   -> netCDF 4.3.3.1 2) When using PIO_TYPENAME = pnetcdf. (Refer log : CASE1.o763026 and CASE1.o763026_log - these are with debug) Sorry, for stretching this thread too much. But it would be helpful.Thanks,Vineet More
 

jedwards

CSEG and Liaisons
Staff member
You are trying to build a T31_g37 case but are using 1.9x2.5 degree boundary files.   This is not a supported combination.   With a few exceptions the dimentions of the boundary files must coorespond to the dimensions of the model. 
 

jedwards

CSEG and Liaisons
Staff member
You are trying to build a T31_g37 case but are using 1.9x2.5 degree boundary files.   This is not a supported combination.   With a few exceptions the dimentions of the boundary files must coorespond to the dimensions of the model. 
 

jedwards

CSEG and Liaisons
Staff member
You are trying to build a T31_g37 case but are using 1.9x2.5 degree boundary files.   This is not a supported combination.   With a few exceptions the dimentions of the boundary files must coorespond to the dimensions of the model. 
 

jedwards

CSEG and Liaisons
Staff member
You are trying to build a T31_g37 case but are using 1.9x2.5 degree boundary files.   This is not a supported combination.   With a few exceptions the dimentions of the boundary files must coorespond to the dimensions of the model. 
 

jedwards

CSEG and Liaisons
Staff member
You are trying to build a T31_g37 case but are using 1.9x2.5 degree boundary files.   This is not a supported combination.   With a few exceptions the dimentions of the boundary files must coorespond to the dimensions of the model. 
 
Hi Jedwards,I changed my case to the default for testing:create_newcase -case /scratch/vineetm/CESM/CASES/CASE1 -res f19_g16 -compset B1850CN -mach  But still i am getting the same error:Opened existing file b40.1850.track1.2deg.003.cam.i.0501-01-01-00000.nc        65536 Opened existing file /scratch/vineetm/CESM/INPUT_DATA/atm/cam/topo/USGS-gtopo30_1.9x2.5_remap_c050602.nc        131072 NetCDF: Invalid dimension ID or name NetCDF: Invalid argument pio_support::pio_die:: myrank=           -1 : ERROR: nf_mod.F90:         1051 : NetCDF: Invalid argument application called MPI_Abort(MPI_COMM_WORLD, 1) - process 1
I referred to this thread: https://bb.cgd.ucar.edu/error-nfmodf90-mpiabort, to check if I had any problems in pio. But the netcdf library seems to be detected correctly. Ihave attached the pio build log for the same.I am not sure whether hdf5 is causing the issue or not since when pio tries to find libhdf5, it detects /usr/lib64/libhdf5.so instead of my /scratch/vineetm/CESM/install/deps/lib/libhdf5.a (since the .so is preferred)For this I made a wild try to have  /scratch/vineetm/CESM/install/deps/lib/libhdf5.a in the SLIBS, but the same thing was observed.Please suggest me a change.Thanks,Vineet More 
 
Hi Jedwards,I changed my case to the default for testing:create_newcase -case /scratch/vineetm/CESM/CASES/CASE1 -res f19_g16 -compset B1850CN -mach  But still i am getting the same error:Opened existing file b40.1850.track1.2deg.003.cam.i.0501-01-01-00000.nc        65536 Opened existing file /scratch/vineetm/CESM/INPUT_DATA/atm/cam/topo/USGS-gtopo30_1.9x2.5_remap_c050602.nc        131072 NetCDF: Invalid dimension ID or name NetCDF: Invalid argument pio_support::pio_die:: myrank=           -1 : ERROR: nf_mod.F90:         1051 : NetCDF: Invalid argument application called MPI_Abort(MPI_COMM_WORLD, 1) - process 1
I referred to this thread: https://bb.cgd.ucar.edu/error-nfmodf90-mpiabort, to check if I had any problems in pio. But the netcdf library seems to be detected correctly. Ihave attached the pio build log for the same.I am not sure whether hdf5 is causing the issue or not since when pio tries to find libhdf5, it detects /usr/lib64/libhdf5.so instead of my /scratch/vineetm/CESM/install/deps/lib/libhdf5.a (since the .so is preferred)For this I made a wild try to have  /scratch/vineetm/CESM/install/deps/lib/libhdf5.a in the SLIBS, but the same thing was observed.Please suggest me a change.Thanks,Vineet More 
 
Hi Jedwards,I changed my case to the default for testing:create_newcase -case /scratch/vineetm/CESM/CASES/CASE1 -res f19_g16 -compset B1850CN -mach  But still i am getting the same error:Opened existing file b40.1850.track1.2deg.003.cam.i.0501-01-01-00000.nc        65536 Opened existing file /scratch/vineetm/CESM/INPUT_DATA/atm/cam/topo/USGS-gtopo30_1.9x2.5_remap_c050602.nc        131072 NetCDF: Invalid dimension ID or name NetCDF: Invalid argument pio_support::pio_die:: myrank=           -1 : ERROR: nf_mod.F90:         1051 : NetCDF: Invalid argument application called MPI_Abort(MPI_COMM_WORLD, 1) - process 1
I referred to this thread: https://bb.cgd.ucar.edu/error-nfmodf90-mpiabort, to check if I had any problems in pio. But the netcdf library seems to be detected correctly. Ihave attached the pio build log for the same.I am not sure whether hdf5 is causing the issue or not since when pio tries to find libhdf5, it detects /usr/lib64/libhdf5.so instead of my /scratch/vineetm/CESM/install/deps/lib/libhdf5.a (since the .so is preferred)For this I made a wild try to have  /scratch/vineetm/CESM/install/deps/lib/libhdf5.a in the SLIBS, but the same thing was observed.Please suggest me a change.Thanks,Vineet More 
 
Hi Jedwards,I changed my case to the default for testing:create_newcase -case /scratch/vineetm/CESM/CASES/CASE1 -res f19_g16 -compset B1850CN -mach  But still i am getting the same error:Opened existing file b40.1850.track1.2deg.003.cam.i.0501-01-01-00000.nc        65536 Opened existing file /scratch/vineetm/CESM/INPUT_DATA/atm/cam/topo/USGS-gtopo30_1.9x2.5_remap_c050602.nc        131072 NetCDF: Invalid dimension ID or name NetCDF: Invalid argument pio_support::pio_die:: myrank=           -1 : ERROR: nf_mod.F90:         1051 : NetCDF: Invalid argument application called MPI_Abort(MPI_COMM_WORLD, 1) - process 1
I referred to this thread: https://bb.cgd.ucar.edu/error-nfmodf90-mpiabort, to check if I had any problems in pio. But the netcdf library seems to be detected correctly. Ihave attached the pio build log for the same.I am not sure whether hdf5 is causing the issue or not since when pio tries to find libhdf5, it detects /usr/lib64/libhdf5.so instead of my /scratch/vineetm/CESM/install/deps/lib/libhdf5.a (since the .so is preferred)For this I made a wild try to have  /scratch/vineetm/CESM/install/deps/lib/libhdf5.a in the SLIBS, but the same thing was observed.Please suggest me a change.Thanks,Vineet More 
 
Hi Jedwards,I changed my case to the default for testing:create_newcase -case /scratch/vineetm/CESM/CASES/CASE1 -res f19_g16 -compset B1850CN -mach  But still i am getting the same error:Opened existing file b40.1850.track1.2deg.003.cam.i.0501-01-01-00000.nc        65536 Opened existing file /scratch/vineetm/CESM/INPUT_DATA/atm/cam/topo/USGS-gtopo30_1.9x2.5_remap_c050602.nc        131072 NetCDF: Invalid dimension ID or name NetCDF: Invalid argument pio_support::pio_die:: myrank=           -1 : ERROR: nf_mod.F90:         1051 : NetCDF: Invalid argument application called MPI_Abort(MPI_COMM_WORLD, 1) - process 1
I referred to this thread: https://bb.cgd.ucar.edu/error-nfmodf90-mpiabort, to check if I had any problems in pio. But the netcdf library seems to be detected correctly. Ihave attached the pio build log for the same.I am not sure whether hdf5 is causing the issue or not since when pio tries to find libhdf5, it detects /usr/lib64/libhdf5.so instead of my /scratch/vineetm/CESM/install/deps/lib/libhdf5.a (since the .so is preferred)For this I made a wild try to have  /scratch/vineetm/CESM/install/deps/lib/libhdf5.a in the SLIBS, but the same thing was observed.Please suggest me a change.Thanks,Vineet More 
 

jedwards

CSEG and Liaisons
Staff member
You got cesm2 working - why go back?   I don't see any problems in what you've posted.   md5sum atm/cam/topo/USGS-gtopo30_0.9x1.25_remap_c051027.nce395d2b64ca378646591312014a365fe    
 

jedwards

CSEG and Liaisons
Staff member
You got cesm2 working - why go back?   I don't see any problems in what you've posted.   md5sum atm/cam/topo/USGS-gtopo30_0.9x1.25_remap_c051027.nce395d2b64ca378646591312014a365fe    
 

jedwards

CSEG and Liaisons
Staff member
You got cesm2 working - why go back?   I don't see any problems in what you've posted.   md5sum atm/cam/topo/USGS-gtopo30_0.9x1.25_remap_c051027.nce395d2b64ca378646591312014a365fe    
 

jedwards

CSEG and Liaisons
Staff member
You got cesm2 working - why go back?   I don't see any problems in what you've posted.   md5sum atm/cam/topo/USGS-gtopo30_0.9x1.25_remap_c051027.nce395d2b64ca378646591312014a365fe    
 
Top