running problem with lnd.stdin

I have passed compiling CLM3.5 , but when I run it , it shows following error.
BTW, I used run-pc.csh to create lnd.stdin,as :
&clm_inparm
caseid = '$case'
ctitle = '$case'
finidat = '$CSMDATA/inidata_3.1/offline/clmi_0000-01-01_064x128_c070403.nc'
fsurdat = '$CSMDATA/surfdata/$fsurdat'
fatmgrid = '$CSMDATA/griddata/griddata_64x128_060829.nc'
fatmlndfrc = '$CSMDATA/griddata/fracdata_64x128_USGS_070110.nc'
fpftcon = '$CSMDATA/pftdata/pft-physiology.c070207'
offline_atmdir = '$CSMDATA/NCEPDATA.Qian.T62.c051024'
frivinp_rtm = '$CSMDATA/rtmdata/rdirc.05.061026'
nsrest = 0
nelapse = 48
dtime = 1800
start_ymd = 20030101
start_tod = 0
irad = -1
wrtdia = .true.
mss_irt = 0
hist_dov2xy = .true.
hist_nhtfrq = -24
hist_mfilt = 1
hist_crtinic = 'MONTHLY'
&prof_inparm


Read in clm_inparm namelist from: lnd.stdin
ENDRUN:
control_init encountered end-of-file on namelist read
MPI_Abort: error code = 1

Could anybody tell me why?
Thank you
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
The only thing I see wrong is that you don't have a "/" to end the clm_inparm
and &prof_inparm namelists.

So you should change

hist_mfilt = 1
hist_crtinic = 'MONTHLY'
&prof_inparm

for

hist_mfilt = 1
hist_crtinic = 'MONTHLY'
/
&prof_inparm
/

If that doesn't solve the problem, you can debug it by taking out parts of the namelist until you get it go past the namelist read (although it will probably die shortly thereafter). But, once you can find the single line that is causing the problem you can look at it intently and make sure it's correct.
 
Back
Top