Hi
I've ported CLM5.0 to my local machine, I've changed the config_machines.xml file which is located in /gpfs/gpfs_fs/home/lmw/clm5.0/cime/config/cesm/machines/,
then I also changed the config_compilers.xml file in the same path. First I executed . /getregional_datasets.pl program which lodated in ~/clm5.0/tools/ncl_scripts/ to finish cropping the study area, the result is domain.lnd.fv0.47x0.63_gx1v6-TP.nc and surfdata_0.47x0.63_16pfts-TP.nc,
then I run ./create_newcase --case my_userdataset_test7 --res CLM_USRDAT --compset 1850_DATM%GSWP3v1_CLM50%BGC_SICE_SOCN_SROF_SGLC_SWAV --compiler intel --mach myintel --run-unsupported .
I set this section:
set GRIDNAME=0.5x0.5TP
set LMASK=gx1v6
./xmlchange CLM_USRDAT_NAME=$GRIDNAME,CLM_BLDNML_OPTS="-mask $LMASK"
./xmlchange ATM_DOMAIN_FILE=domain.lnd.${GRIDNAME}_$LMASK.nc
./xmlchange LND_DOMAIN_FILE=domain.lnd.${GRIDNAME}_$LMASK.nc
I modified the env_run.xml
DATM_CLMNCEP_YR_END:2010
DATM_CLMNCEP_YR_START:2010
ATM_DOMAIN_FILE: domain.lnd.fv0.47x0.63_gx1v6-TP.nc
LND_DOMAIN_FILE: domain.lnd.fv0.47x0.63_gx1v6-TP.nc
ATM_DOMAIN_PATH: /gpfs/gpfs_fs/home/lmw/cesm/inputdata/wodewenjian
LND_DOMAIN_PATH: /gpfs/gpfs_fs/home/lmw/cesm/inputdata/wodewenjian
Then I run ./case_setup , there is no error. Next step I modified the user_nl_clm by adding surdata='/gpfs/gpfs_fs/home/lmw/cesm/inputdata/wodewenjian/surfdata_0.47x0.63_16pfts-TP.nc'.
When I run ./case.build, I get the following error, how else can I fix this error please
Building case in directory /gpfs/gpfs_fs/home/lmw/clm5.0/cime/scripts/my_userdataset_test7
sharedlib_only is False
model_only is False
Setting resource.RLIMIT_STACK to -1 from (-1, -1)
Generating component namelists as part of build
Creating component namelists
Calling /gpfs/gpfs_fs/home/lmw/clm5.0/cime/src/components/data_comps/datm/cime_config/buildnml
Calling /gpfs/gpfs_fs/home/lmw/clm5.0/cime_config/buildnml
ERROR: Command /gpfs/gpfs_fs/home/lmw/clm5.0/bld/build-namelist failed rc=255
out=ERROR: unrecognized arguments: off
err=SYNOPSIS
build-namelist [options]
Any help on this would be greatly appreciated!
Thank you!
I've ported CLM5.0 to my local machine, I've changed the config_machines.xml file which is located in /gpfs/gpfs_fs/home/lmw/clm5.0/cime/config/cesm/machines/,
then I also changed the config_compilers.xml file in the same path. First I executed . /getregional_datasets.pl program which lodated in ~/clm5.0/tools/ncl_scripts/ to finish cropping the study area, the result is domain.lnd.fv0.47x0.63_gx1v6-TP.nc and surfdata_0.47x0.63_16pfts-TP.nc,
then I run ./create_newcase --case my_userdataset_test7 --res CLM_USRDAT --compset 1850_DATM%GSWP3v1_CLM50%BGC_SICE_SOCN_SROF_SGLC_SWAV --compiler intel --mach myintel --run-unsupported .
I set this section:
set GRIDNAME=0.5x0.5TP
set LMASK=gx1v6
./xmlchange CLM_USRDAT_NAME=$GRIDNAME,CLM_BLDNML_OPTS="-mask $LMASK"
./xmlchange ATM_DOMAIN_FILE=domain.lnd.${GRIDNAME}_$LMASK.nc
./xmlchange LND_DOMAIN_FILE=domain.lnd.${GRIDNAME}_$LMASK.nc
I modified the env_run.xml
DATM_CLMNCEP_YR_END:2010
DATM_CLMNCEP_YR_START:2010
ATM_DOMAIN_FILE: domain.lnd.fv0.47x0.63_gx1v6-TP.nc
LND_DOMAIN_FILE: domain.lnd.fv0.47x0.63_gx1v6-TP.nc
ATM_DOMAIN_PATH: /gpfs/gpfs_fs/home/lmw/cesm/inputdata/wodewenjian
LND_DOMAIN_PATH: /gpfs/gpfs_fs/home/lmw/cesm/inputdata/wodewenjian
Then I run ./case_setup , there is no error. Next step I modified the user_nl_clm by adding surdata='/gpfs/gpfs_fs/home/lmw/cesm/inputdata/wodewenjian/surfdata_0.47x0.63_16pfts-TP.nc'.
When I run ./case.build, I get the following error, how else can I fix this error please
Building case in directory /gpfs/gpfs_fs/home/lmw/clm5.0/cime/scripts/my_userdataset_test7
sharedlib_only is False
model_only is False
Setting resource.RLIMIT_STACK to -1 from (-1, -1)
Generating component namelists as part of build
Creating component namelists
Calling /gpfs/gpfs_fs/home/lmw/clm5.0/cime/src/components/data_comps/datm/cime_config/buildnml
Calling /gpfs/gpfs_fs/home/lmw/clm5.0/cime_config/buildnml
ERROR: Command /gpfs/gpfs_fs/home/lmw/clm5.0/bld/build-namelist failed rc=255
out=ERROR: unrecognized arguments: off
err=SYNOPSIS
build-namelist [options]
Any help on this would be greatly appreciated!
Thank you!