/[MITgcm]/MITgcm/doc/devel_HOWTO.sgml
ViewVC logotype

Diff of /MITgcm/doc/devel_HOWTO.sgml

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.8 by jmc, Wed Jan 5 03:45:24 2005 UTC revision 1.9 by jmc, Tue May 9 21:10:19 2006 UTC
# Line 290  checkpoint50d_pre Line 290  checkpoint50d_pre
290    $ export CVS_RSH=ssh    $ export CVS_RSH=ssh
291    $ export CVSROOT=':ext:NAME@mitgcm.org:/u/gcmpack'    $ export CVSROOT=':ext:NAME@mitgcm.org:/u/gcmpack'
292    $ mkdir scratch    $ mkdir scratch
293    $ cvs co MITgcm manual mitgcm.org    $ cvs co -P MITgcm manual mitgcm.org
294  </screen>  </screen>
295    
296        <para>These commands extract the necessary information from the CVS server        <para>These commands extract the necessary information from the CVS server
# Line 983  Package Output Line 983  Package Output
983    
984          #ifdef ALLOW_${PKG}          #ifdef ALLOW_${PKG}
985            if ( use${Pkg} )            if ( use${Pkg} )
986       &       CALL ${PKG}_DIAGS( )     [ or CALL ${PKG}_OUTPUT( ) ]       &       CALL ${PKG}_OUTPUT( )
987          #endif          #endif
988    
989       7. S/R PACKAGES_WRITE_PICKUP()       7. S/R PACKAGES_WRITE_PICKUP()
# Line 1029  Description Line 1029  Description
1029       use for e.g. ${PKG}_INI_VARS, ${PKG}_INIT_VARIABLES, or the old       use for e.g. ${PKG}_INI_VARS, ${PKG}_INIT_VARIABLES, or the old
1030       form ${PKG}_INIT       form ${PKG}_INIT
1031    
1032       - ${PKG}_DIAGS()      [or ${PKG}_OUTPUT( ) ]       - ${PKG}_OUTPUT( )
1033       is responsible for writing time-average fields to output files       is responsible for writing time-average fields to output files
1034       (but the cumulating step is done within the package main S/R).       (but the cumulating step is done within the package main S/R).
1035       Can also contain other diagnostics (.e.g. CALL ${PKG}_MONITOR)       Can also contain other diagnostics (.e.g. CALL ${PKG}_MONITOR)
1036       and write snap-shot fields that are hold in common blocks. Other       and write snap-shot fields that are hold in common blocks. Other
1037       temporary fields are directly dump to file where they are available.       temporary fields are directly dump to file where they are available.
1038       NOTE: 1) ${PKG}_OUTPUT is progressively replacing ${PKG}_DIAGS()       NOTE: 1) the S/R old name ${PKG}_DIAGS is used in some packages
1039                  but is beeing replaced by ${PKG}_OUTPUT
1040                to avoid confusion with pkg/diagnostics functionality.                to avoid confusion with pkg/diagnostics functionality.
1041             2) the output part is not yet in a standard form and might still             2) the output part is not yet in a standard form and might still
1042                evolve a lot.                evolve a lot.
# Line 1075  Summary Line 1076  Summary
1076    * ${pkg}_check.F        checks package dependencies and consistencies    * ${pkg}_check.F        checks package dependencies and consistencies
1077    * ${pkg}_init_varia.F   initialises package-related fields    * ${pkg}_init_varia.F   initialises package-related fields
1078    * ${pkg}_... .F         package source code    * ${pkg}_... .F         package source code
1079    * ${pkg}_diags.F        write output to file.    * ${pkg}_output.F       write output to file.
    or ${pkg}_output.F     write output to file.  
1080    * ${pkg}_write_pickup.F write a package pickup file to restart the model    * ${pkg}_write_pickup.F write a package pickup file to restart the model
1081    
1082    New: Subroutine in one package (pkgA) that only contains code which    New: Subroutine in one package (pkgA) that only contains code which

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.22