I have compiled regcm4 successfully with ifort11 and netcdf4.1.1.
While I executed terrain, the errors poped out as follows.
yanlb@TC5000:~/regcm4/test0826> ../regcm4/Bin/terrain regcm.in
This is RegCM version 4
SVN Revision: compiled at: data : Aug 06 2010 time: 22:24:02
: this run start at : Thu Aug 26 11:24:56 2010
: it is submitted by :
: it is running on : TC5000
: in directory : /home3/yanlb/regcm4/test0826
Doing Domain Setup with following parameters
ntypec = 10
iy = 34
jx = 64
ds = 60.00000
clat = 45.00000
clon = 105.0000
rin = 1.500000
iproj = LAMCON
**************************************************
FILE ALREADY EXISTS: /home3/yanlb/regcm4/test0826/input/TRS.INFO
Do you want to overwrite the existing file? [y/n/q]
y
**************************************************
FILE ALREADY EXISTS: /home3/yanlb/regcm4/test0826/input/TRS.CTL
Do you want to overwrite the existing file? [y/n/q]
y
***** Terrain resolution (min): 10.00000
after calling SETUP
PSX,PSI1 = 0.7853981633974483 0.5235987755982988
PSX,PSI1 = 0.7853981633974483 0.5235987755982988
XN,TRUELATL,TRUELATH = 0.7155669 30.00000 60.00000
after calling MAP PROJECTION
xminlat,xmaxlat,xminlon,xmaxlon,ntypec= 33.75 54.46 76.79 134.04 10
after calling MXMNLL
Allocating 1343
PGFIO-F-219/unformatted read/unit=46/attempt to read/write past end of record.
File name = /home3/yanlb/regcm4/regcmdata/SURFACE/GTOPO30_10MIN.dat unformatted, direct access record = 868
In source file mod_rdldtr.f90, at line number 198