sirajkhan78@gmail_com
Member
Hi,
I have run CAM5 for climatology and with prescribed SST with 64x128 resolution for euler spectral resolution. But when I try to run the same model for 128x256 euler resolution I getting error in build name list (Model configure and building works fine.) here is the error I am getting
Died at /home/siraj/cesm1_0/models/atm/cam/bld/build-namelist line 2572.
CAM build-namelist - ERROR: No default value found for ncdata
user defined attributes:
key=ic_md val=101
Can you help me to find out this problem
My script is copied as below.
#! /bin/tcsh -f
setenv P4_GLOBMEMSIZE 500000000
set netcdf = /home/siraj/netcdf
set mpich = /usr/local/mpi2
set cfg_string = "-fc ifort "
setenv INC_NETCDF ${netcdf}/include
setenv LIB_NETCDF /home/siraj/netcdf/lib
setenv INC_MPI ${mpich}/include/intel
setenv LIB_MPI ${mpich}/lib64
limit stacksize unlimited
setenv OMP_NUM_THREADS 1
set camroot = /home/siraj/cesm1_0
setenv CSMDATA /home/siraj/ccsm4_working_copy/inputdata
set cfg_string = "-fc ifort "
set version = "cam5"
set dycore = "eul"
set caseid = clim-cam5
set hgrid = "128x256"
set ntask = 32
set case = ${dycore}${hgrid}_${caseid}
set wrkdir = /home/siraj/cam
set blddir = $wrkdir/$case/bld
set rundir = $wrkdir/$case
set cfgdir = $camroot/models/atm/cam/bld
set archdir = $camroot/scripts/ccsm_utils/Tools/archiving
setenv LID "`date +%y%m%d-%H%M%S`"
mkdir -p $rundir || echo "cannot create $rundir" && exit 1
mkdir -p $blddir || echo "cannot create $blddir" && exit 1
if ( ! -x $blddir/cam ) then
cd $blddir || echo "cd $blddir failed" && exit 1
$cfgdir/configure $cfg_string -test
-phys $version
-dyn $dycore
-hgrid $hgrid
-chem none
-nlev 26
-ocn dom
-spmd
-nosmp
-linker mpif90
-ntasks $ntask
#|| echo "configure failed" && exit 1
echo "building CAM in $blddir ..."
rm -f Depends
gmake -j 4 >&! MAKE.out || echo "CAM build failed: see blddir/MAKE.out" && exit 1
endif
## Create the namelist
cd $blddir || echo " cd $blddir failed " && exit
touch namelistout.txt
echo " building the namelist..."
$cfgdir/build-namelist -case $case -test -config $blddir/config_cache.xml
-ignore_ic_year
-namelist "&exp start_type='startup'
stop_option='nyears' stop_n=22 restart_option='monthly' /"
>&! namelistout.txt
|| echo " build namelist failed - see $blddir/namelistout.txt for details " && exit
echo "build-namelist done."
echo " see $blddir/namelistout.txt to check the inputdata "
Regards
Siraj
I have run CAM5 for climatology and with prescribed SST with 64x128 resolution for euler spectral resolution. But when I try to run the same model for 128x256 euler resolution I getting error in build name list (Model configure and building works fine.) here is the error I am getting
Died at /home/siraj/cesm1_0/models/atm/cam/bld/build-namelist line 2572.
CAM build-namelist - ERROR: No default value found for ncdata
user defined attributes:
key=ic_md val=101
Can you help me to find out this problem
My script is copied as below.
#! /bin/tcsh -f
setenv P4_GLOBMEMSIZE 500000000
set netcdf = /home/siraj/netcdf
set mpich = /usr/local/mpi2
set cfg_string = "-fc ifort "
setenv INC_NETCDF ${netcdf}/include
setenv LIB_NETCDF /home/siraj/netcdf/lib
setenv INC_MPI ${mpich}/include/intel
setenv LIB_MPI ${mpich}/lib64
limit stacksize unlimited
setenv OMP_NUM_THREADS 1
set camroot = /home/siraj/cesm1_0
setenv CSMDATA /home/siraj/ccsm4_working_copy/inputdata
set cfg_string = "-fc ifort "
set version = "cam5"
set dycore = "eul"
set caseid = clim-cam5
set hgrid = "128x256"
set ntask = 32
set case = ${dycore}${hgrid}_${caseid}
set wrkdir = /home/siraj/cam
set blddir = $wrkdir/$case/bld
set rundir = $wrkdir/$case
set cfgdir = $camroot/models/atm/cam/bld
set archdir = $camroot/scripts/ccsm_utils/Tools/archiving
setenv LID "`date +%y%m%d-%H%M%S`"
mkdir -p $rundir || echo "cannot create $rundir" && exit 1
mkdir -p $blddir || echo "cannot create $blddir" && exit 1
if ( ! -x $blddir/cam ) then
cd $blddir || echo "cd $blddir failed" && exit 1
$cfgdir/configure $cfg_string -test
-phys $version
-dyn $dycore
-hgrid $hgrid
-chem none
-nlev 26
-ocn dom
-spmd
-nosmp
-linker mpif90
-ntasks $ntask
#|| echo "configure failed" && exit 1
echo "building CAM in $blddir ..."
rm -f Depends
gmake -j 4 >&! MAKE.out || echo "CAM build failed: see blddir/MAKE.out" && exit 1
endif
## Create the namelist
cd $blddir || echo " cd $blddir failed " && exit
touch namelistout.txt
echo " building the namelist..."
$cfgdir/build-namelist -case $case -test -config $blddir/config_cache.xml
-ignore_ic_year
-namelist "&exp start_type='startup'
stop_option='nyears' stop_n=22 restart_option='monthly' /"
>&! namelistout.txt
|| echo " build namelist failed - see $blddir/namelistout.txt for details " && exit
echo "build-namelist done."
echo " see $blddir/namelistout.txt to check the inputdata "
Regards
Siraj