[cam-users] restart error

Brian Eaton eaton at ucar.edu
Mon Aug 30 10:28:55 MDT 2004


timemgr_read_restart is the first routine to attempt reading the restart
file.  Since the file was successfully opened my guess is that the read
failed because the file is big-endian binary (written perhaps on an ibm)
and you're trying to read it on a little-endian machine (pc).  Porting
restart files between big-endian and little-endian machines is not well
supported.  If you have access to a PGI compiler then you may be able to
read big-endian restart files due to the -byteswapio option which is set by
default in the CAM makefile.  I haven't actually tried this so I'm not sure
that it works.  I'm also not sure whether other pc fortran compilers have
an option like this or not.

The start time for a model run is determined as follows.  By default, the
start date and time of day are read from the initial file.  That start time
may be overridden by setting the namelist variables start_ymd and
start_tod.

Brian

On Mon, Aug 30, 2004 at 09:58:34AM -0400, Cathryn Meyer wrote:
> I have been trying to get a restart run going of CAM3.0 on my linux
> machine, however every time I try I get this same error:
> 
> ---------------------------------------------------------
>  Advected constituent list:
>    1  Q         Specific humidity
>                                                                   wet
>    2  CLDLIQ    Grid box averaged liquid condensate amount
>                                                                   wet
>    3  CLDICE    Grid box averaged ice condensate amount
>                                                                   wet
>  No nonadvected constituents
>  (OPNFIL): Successfully opened file
>  /home/ccm33/cam2.camrun3hravgs32days.rpointer on unit=             1
>  (GETFIL): attempting to find local file
>  camrun3hravgs32days.cam2.r.0000-09-12-10800
>  (GETFIL): failed cmd=
>  msread camrun3hravgs32days.cam2.r.0000-09-12-10800
> /CCM33/csm/camrun3hravgs32days/atm/rest/camrun3hravgs32days.cam2.r.0000-09-12-10800
>  (OPNFIL): Successfully opened file
> camrun3hravgs32days.cam2.r.0000-09-12-10800
>   on unit=             2
>  READ iostat=            -1  on i/o unit =             2
>  ENDRUN:TIMEMGR_READ_RESTART
> ----------------------------------------------------
> 
> Does anybody know what this means or how to fix it?
> 
> Also, another question ... how do you get the model to start running in
> a month other than september?
> 
> Thanks,
> Cathy
> 
> -- 
> Cathryn Meyer
> Department of Geology and Geophysics
> Yale University
> cathryn.meyer at yale.edu
> (203)432-1959
> _______________________________________________
> cam-users mailing list
> cam-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/cam-users


More information about the cam-users mailing list