Fix for branch run problem in CCM2

Linda Bath (bath@isis.cgd.ucar.edu)
Thu, 4 Aug 94 10:23:55 MDT


From: bath@isis.cgd.ucar.edu (Linda Bath)
Message-Id: <199408041623.KAA16137@khnum.cgd.ucar.edu>
Subject: Fix for branch run problem in CCM2
To: ccm-users@ncar.ucar.edu
Date: Thu, 4 Aug 94 10:23:55 MDT

Greetings,
Recently Ben Foster wrote the following:

>..... I am now attempting
>a branch run so I can change nhtfrq. I am continuing with a 6-min
>time step, and want to branch off the end of my existing run (day 2.0).
>This would read regen data from .../oldcase/rest/r0010, and write
>.../newcase/hist/h0001.
>
>I tried a 6-hr branch run (NSREST=3, NELAPSE=60), with NHTFRQ=60
>(dispose 1 history at end of run), NREVSN='.../oldcase/rest/r0010',
>(full path for branch run), and NSVSN='rstrt'. The case name was
>changed in the run script.
>
>The model read the regen data from the old case (r0010), ran the
>correct number of steps, wrote 1 time sample to h0001, and disposed
>it to mss. So far so good. But then it aborted when attempting to
>write the new regen data .../newcase/rest/r0001. It died on mswrite
>because the local file r0001 did not exist:
>
> SAVDIS:calling mswrite as follows:
> mswrite -f TR -nomail -nowait -t 35 -v CTPUBLIC -w btfoster r0001
> /FOSTER/ccm2/flx_eqxb/rest/r0001
>
> SAVDIS:Error from mswrite -- UNIX file does not exist

-- 
We have checked this out and find that indeed there is an error in the
code in CCM2 only, NOT in CCM2.1.  Therefore we have changed file 
/ccm/ccm2/src/restrt.F on shavano to fix this problem.  Thanks to
Ben for finding and calling our attention to this error.

Linda