New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
in_out_manager.F90 in trunk/NEMO/OPA_SRC – NEMO

source: trunk/NEMO/OPA_SRC/in_out_manager.F90 @ 231

Last change on this file since 231 was 231, checked in by opalod, 19 years ago

CT : UPDATE156 : allow the possibility for each processor to write its own mpp.output_XXX ASCII file

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.6 KB
Line 
1MODULE in_out_manager   
2
3   USE lib_print         ! formated print library
4   USE par_kind
5   USE par_oce
6
7   PUBLIC
8
9   !!----------------------------------------------------------------------
10   !! namelist parameters
11   !! -------------------------------------
12   ! namrun:  parameters of the run
13   CHARACTER (len=16) ::    &   !:
14      cexper = "exp0"           !: experiment name used for output filename
15   
16   LOGICAL ::   &              !!: * namelist namrun *
17      ln_rstart = .FALSE. ,  &  !: start from (F) rest or (T) a restart file
18      ln_ctl    = .FALSE.       !: run control for debugging
19   
20   INTEGER ::                & !!: * namelist namrun *
21      no     = 0        ,    &  !: job number
22      nrstdt = 0        ,    &  !: control of the time step (0, 1 or 2)
23      nit000 = 1        ,    &  !: index of the first time step
24      nitend = 10       ,    &  !: index of the last time step
25      ndate0 = 961115   ,    &  !: initial calendar date aammjj
26      nleapy = 0        ,    &  !: Leap year calendar flag (0/1 or 30)
27      ninist = 0        ,    &  !: initial state output flag (0/1)
28      nbench = 0                !: benchmark parameter (0/1)
29   !!----------------------------------------------------------------------
30   !!                          Run control 
31   !!----------------------------------------------------------------------
32   
33   INTEGER ::                &  !:
34      nstop = 0 ,            &  !: e r r o r  flag (=number of reason for a
35      !                         !                   prematurely stop the run)
36      nwarn = 0                 !: w a r n i n g  flag (=number of warning
37      !                         !                       found during the run)
38
39   
40   CHARACTER (len=64) ::        &                                                    !:
41      cform_err="(/,' ===>>> : E R R O R',     /,'         ===========',/)"    ,   & !:
42      cform_war="(/,' ===>>> : W A R N I N G', /,'         ===============',/)"      !:
43   !!----------------------------------------------------------------------
44   !! output monitoring
45   !! -----------------------------------
46
47   LOGICAL ::   &               !:
48      lwp                ,   &  !: boolean : true on the 1st processor only
49      l_ctl                     !: = ln_ctl.AND.lwp (print control on the 1st proc)
50
51   INTEGER ::                &  !:
52      nstock =   10 ,        &  !: restart file frequency
53      nprint =    0 ,        &  !: level of print (0 no print)
54      nwrite =   10 ,        &  !: restart file frequency
55      nictl  = jpim1,        &  !: max i indice for the SUM control
56      njctl  = jpjm1            !: max j indice for the SUM control
57   !!----------------------------------------------------------------------
58   !! logical units
59   !! ------------------------------
60   INTEGER ::                &  !:
61      numstp     =  1 ,      &  !: logical unit for time step
62      numout     =  2 ,      &  !: logical unit for output print
63      numnam     =  3 ,      &  !: logical unit for namelist
64      numnam_ice =  4 ,      &  !: logical unit for ice namelist
65      numevo_ice = 17 ,      &  !: logical unit for ice variables (temp. evolution)
66      numsol     = 25 ,      &  !: logical unit for solver statistics
67      numwri     = 40 ,      &  !: logical unit for output write
68      numisp     = 41 ,      &  !: logical unit for island statistics
69      numgap     = 45 ,      &  !: logical unit for differences diagnostic
70      numwrs     = 46 ,      &  !: logical unit for output restart
71      numtdt     = 62 ,      &  !: logical unit for data temperature
72      numsdt     = 63 ,      &  !: logical unit for data salinity
73      numrnf     = 64 ,      &  !: logical unit for runoff data
74      numwso     = 71 ,      &  !: logical unit for 2d output write
75      numwvo     = 72 ,      &  !: logical unit for 3d output write
76      numsst     = 65 ,      &  !: logical unit for surface temperature data
77      numbol     = 67 ,      &  !: logical unit for "bol" diagnostics
78      numptr     = 68 ,      &  !: logical unit for Poleward TRansports
79      numflo     = 69 ,      &  !: logical unit for drifting floats
80      !                         !: * coupled units
81      numlhf     = 71 ,      &  !: unit to transfer fluxes
82      numlws     = 72 ,      &  !: unit to transfer stress
83      numlts     = 73 ,      &  !: unit to transfer sst
84      numlic     = 74           !: unit to transfer ice cover
85
86
87   !! Contral/debugging
88   !! -----------------
89   REAL(wp) ::               &  !:
90      u_ctl, v_ctl,          &  !: sum of ua and va trend
91      t_ctl, s_ctl              !: sum of ta and sa trend
92
93END MODULE in_out_manager
Note: See TracBrowser for help on using the repository browser.