[RegCNET] dom2nc error: This name does not have a type, and must have an explicit type

Azar Zarrin azarzarrin at gmail.com
Wed Oct 28 18:02:24 CET 2009


Hello all,

I am using dom2nc to convert my domain.ctl to domain.nc.
However, I am getting the following error when compiling the code.
I guess that the dom2nc.f doesn't match the domain.param.

Could you please tell me how to fix it or what I am doing wrong?

Thank you,
Azar

ln -sf ../RegCM/PreProc/Terrain/domain.param .
ln -sf ../RegCM/Input/DOMAIN.INFO .
ifort -tpp7 -g -cm -w -w90 -w95 -convert big_endian -L/usr/apps/hdf/ 
hdf5/v181/lib -L/usr/apps/hdf/szip/lib -lnetcdf -lhdf5_hl -lhdf5 -lz - 
lsz -I../../../Commons/env/include -c dom2nc.f
fortcom: Error: dom2nc.f, line 180: Cannot open include file  
'netcdf.inc'
       include 'netcdf.inc'
--------------^
fortcom: Error: dom2nc.f, line 229: This name does not have a type,  
and must have an explicit type.   [NF_CREATE]
       status = NF_CREATE(fname,NF_NOCLOBBER,ncid)
---------------^
fortcom: Error: dom2nc.f, line 230: This name does not have a type,  
and must have an explicit type.   [NF_NOERR]
       if (status.ne.NF_NOERR) call HANDLE_ERR(status)
--------------------^
fortcom: Error: dom2nc.f, line 237: This name does not have a type,  
and must have an explicit type.   [NF_DEF_DIM]
       status = NF_DEF_DIM(ncid,'lat',iy_in,lat_dimid)
---------------^
fortcom: Error: dom2nc.f, line 264: This name does not have a type,  
and must have an explicit type.   [NF_DEF_VAR]
       status = NF_DEF_VAR(ncid,'ds',NF_FLOAT,0,' ',ds_varid)
---------------^
fortcom: Error: dom2nc.f, line 406: This name does not have a type,  
and must have an explicit type.   [NF_ENDDEF]
       status = NF_ENDDEF(ncid)
---------------^
fortcom: Error: dom2nc.f, line 413: This name does not have a type,  
and must have an explicit type.   [NF_PUT_VAR_REAL]
       status = NF_PUT_VAR_REAL(ncid,ds_varid,dsinm)
---------------^
fortcom: Error: dom2nc.f, line 417: This name does not have a type,  
and must have an explicit type.   [NF_PUT_VAR_TEXT]
       status = NF_PUT_VAR_TEXT(ncid,iproj_varid,iproj_in)
---------------^
fortcom: Error: dom2nc.f, line 421: This name does not have a type,  
and must have an explicit type.   [NF_PUT_VAR_INT]
       status = NF_PUT_VAR_INT(ncid,igrads_varid,igrads_in)
---------------^
fortcom: Error: dom2nc.f, line 511: This name does not have a type,  
and must have an explicit type.   [NF_CLOSE]
       status = NF_CLOSE(ncid)
---------------^
fortcom: Error: dom2nc.f, line 173: This name does not have a type,  
and must have an explicit type.   [DSINM]
      &		plon_in,xlat,xlon,xmap,dlat,dlon,dmap,dsinm,
------------------------------------------------------^
fortcom: Error: dom2nc.f, line 174: This name does not have a type,  
and must have an explicit type.   [GRDFAC]
      &		GRDFAC,ibigend_in,igrads_in,iproj_in,ptop_in,htgrid,
----------------^
fortcom: Error: dom2nc.f, line 174: This name does not have a type,  
and must have an explicit type.   [PTOP_IN]
      &		GRDFAC,ibigend_in,igrads_in,iproj_in,ptop_in,htgrid,
-----------------------------------------------------^
fortcom: Error: dom2nc.f, line 529: Cannot open include file  
'netcdf.inc'
       include 'netcdf.inc'
--------------^
compilation aborted for dom2nc.f (code 1)
make: *** [dom2nc.o] Error 1




More information about the RegCNET mailing list