sfeng2@unl_edu
New Member
Dear CAM users:
I did a test run (see pages 23-24 of the User’s guide) at BLUEVISTA by using the script file ‘run-ibm.csh’ at “cam1/models/atm/cam/bld”. The CAM (cam3.1) with SOM were run for 61 days (nelapse= -61). The model run was successfully completed. However, I can not find the history files at ‘wrkdir’,’blddir’,’rundir’ and ‘cfgdir’ and all other directories under my account. I also can not find the history files at MSS (/$username/csm/$CASE/atm/hist, that is /sfeng/csm/camrun2/atm/hist). Where was the history files saved? Was there something I missed? Could the problem caused by the “runtype” (was set as initial run)?
I only find some new files (see the following) for restart run created at the ‘rundir’:
-rw-r--r-- 1 sfeng univ 16775020 May 14 15:17 camrun2.clm2.r.0000-03-03-00000
-rw-r--r-- 1 sfeng univ 38960 May 14 15:17 timing.3
-rw-r--r-- 1 sfeng univ 38960 May 14 15:17 timing.2
-rw-r--r-- 1 sfeng univ 38960 May 14 15:17 timing.1
-rw-r--r-- 1 sfeng univ 38960 May 14 15:17 timing.0
-rw-r--r-- 1 sfeng univ 120 May 14 15:17 spmdstats.003
-rw-r--r-- 1 sfeng univ 120 May 14 15:17 spmdstats.002
-rw-r--r-- 1 sfeng univ 120 May 14 15:17 spmdstats.001
-rw-r--r-- 1 sfeng univ 120 May 14 15:17 spmdstats.000
-rw-r--r-- 1 sfeng univ 65439536 May 14 15:17 camrun2.cam2.rh0.0000-03-03-00000
-rw-r--r-- 1 sfeng univ 64645052 May 14 15:17 camrun2.cam2.r.0000-03-03-00000
The script file I used is the ‘run-ibm.csh’ at “cam1/models/atm/cam/bld”. After customized the ‘camroot’ and ‘CSMDATA’, other setting of the ‘run-ibm.csh’ were as the following:
set case = camrun2
set runtype = initial
set nelapse = -61
set wrkdir = /ptmp/$LOGNAME
set blddir = $wrkdir/$case/bld
set rundir = $wrkdir/$case
set cfgdir = $camroot/models/atm/cam/bld
## Ensure that run and build directories exist
mkdir -p $rundir || echo "cannot create $rundir" && exit 1
mkdir -p $blddir || echo "cannot create $blddir" && exit 1
## If an executable doesn't exist, build one.
if ( ! -x $blddir/cam ) then
cd $blddir || echo "cd $blddir failed" && exit 1
$cfgdir/configure -ocn "som" || echo "configure failed" && exit 1
echo "building CAM in $blddir ..."
rm -f Depends
gmake -j4 >&! MAKE.out || echo "CAM build failed: see $blddir/MAKE.out" && exit 1
endif
## Create the namelist
cd $blddir || echo "cd $blddir failed" && exit 1
$cfgdir/build-namelist -s -case $case -runtype $runtype -o $rundir/namelist
-namelist "&camexp nelapse=$nelapse /" || echo "build-namelist failed" && exit 1
## Run CAM - use 'poe' to run on bluesky, 'mpirun.lsf' on bluevista
cd $rundir || echo "cd $rundir failed" && exit 1
echo "running CAM in $rundir"
#poe $blddir/cam < namelist || echo "CAM run failed" && exit 1
mpirun.lsf $blddir/cam < namelist || echo "CAM run failed" && exit 1
exit 0
I did a test run (see pages 23-24 of the User’s guide) at BLUEVISTA by using the script file ‘run-ibm.csh’ at “cam1/models/atm/cam/bld”. The CAM (cam3.1) with SOM were run for 61 days (nelapse= -61). The model run was successfully completed. However, I can not find the history files at ‘wrkdir’,’blddir’,’rundir’ and ‘cfgdir’ and all other directories under my account. I also can not find the history files at MSS (/$username/csm/$CASE/atm/hist, that is /sfeng/csm/camrun2/atm/hist). Where was the history files saved? Was there something I missed? Could the problem caused by the “runtype” (was set as initial run)?
I only find some new files (see the following) for restart run created at the ‘rundir’:
-rw-r--r-- 1 sfeng univ 16775020 May 14 15:17 camrun2.clm2.r.0000-03-03-00000
-rw-r--r-- 1 sfeng univ 38960 May 14 15:17 timing.3
-rw-r--r-- 1 sfeng univ 38960 May 14 15:17 timing.2
-rw-r--r-- 1 sfeng univ 38960 May 14 15:17 timing.1
-rw-r--r-- 1 sfeng univ 38960 May 14 15:17 timing.0
-rw-r--r-- 1 sfeng univ 120 May 14 15:17 spmdstats.003
-rw-r--r-- 1 sfeng univ 120 May 14 15:17 spmdstats.002
-rw-r--r-- 1 sfeng univ 120 May 14 15:17 spmdstats.001
-rw-r--r-- 1 sfeng univ 120 May 14 15:17 spmdstats.000
-rw-r--r-- 1 sfeng univ 65439536 May 14 15:17 camrun2.cam2.rh0.0000-03-03-00000
-rw-r--r-- 1 sfeng univ 64645052 May 14 15:17 camrun2.cam2.r.0000-03-03-00000
The script file I used is the ‘run-ibm.csh’ at “cam1/models/atm/cam/bld”. After customized the ‘camroot’ and ‘CSMDATA’, other setting of the ‘run-ibm.csh’ were as the following:
set case = camrun2
set runtype = initial
set nelapse = -61
set wrkdir = /ptmp/$LOGNAME
set blddir = $wrkdir/$case/bld
set rundir = $wrkdir/$case
set cfgdir = $camroot/models/atm/cam/bld
## Ensure that run and build directories exist
mkdir -p $rundir || echo "cannot create $rundir" && exit 1
mkdir -p $blddir || echo "cannot create $blddir" && exit 1
## If an executable doesn't exist, build one.
if ( ! -x $blddir/cam ) then
cd $blddir || echo "cd $blddir failed" && exit 1
$cfgdir/configure -ocn "som" || echo "configure failed" && exit 1
echo "building CAM in $blddir ..."
rm -f Depends
gmake -j4 >&! MAKE.out || echo "CAM build failed: see $blddir/MAKE.out" && exit 1
endif
## Create the namelist
cd $blddir || echo "cd $blddir failed" && exit 1
$cfgdir/build-namelist -s -case $case -runtype $runtype -o $rundir/namelist
-namelist "&camexp nelapse=$nelapse /" || echo "build-namelist failed" && exit 1
## Run CAM - use 'poe' to run on bluesky, 'mpirun.lsf' on bluevista
cd $rundir || echo "cd $rundir failed" && exit 1
echo "running CAM in $rundir"
#poe $blddir/cam < namelist || echo "CAM run failed" && exit 1
mpirun.lsf $blddir/cam < namelist || echo "CAM run failed" && exit 1
exit 0