/[MITgcm]/MITgcm/pkg/monitor/mon_set.F
ViewVC logotype

Annotation of /MITgcm/pkg/monitor/mon_set.F

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


Revision 1.3 - (hide annotations) (download)
Thu Sep 27 18:11:59 2001 UTC (22 years, 8 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint46n_post, ecco_c44_e19, ecco_c44_e18, checkpoint47j_post, ecco_c44_e16, checkpoint48d_pre, checkpoint44b_post, branch-exfmods-tag, checkpoint47e_post, checkpoint43a-release1mods, checkpoint47i_post, ecco_c50_e33a, checkpoint44e_post, release1_p12, release1_p13, release1_p10, release1_p11, release1_p16, release1_p17, release1_p14, release1_p15, ecco_c44_e17, checkpoint47f_post, checkpoint47c_post, release1_p13_pre, checkpoint50c_post, checkpoint46i_post, ecco_c44_e23, checkpoint47d_post, ecco_c44_e21, ecco_c44_e26, ecco_c44_e27, ecco_c44_e24, ecco_c44_e25, icebear5, icebear4, checkpoint47a_post, icebear3, icebear2, checkpoint46f_post, checkpoint46l_pre, checkpoint46d_pre, checkpoint48e_post, checkpoint46e_post, checkpoint48d_post, release1-branch_tutorials, checkpoint46c_post, checkpoint50b_pre, ecco-branch-mod1, checkpoint46e_pre, ecco-branch-mod3, ecco-branch-mod4, ecco-branch-mod5, checkpoint48f_post, checkpoint45d_post, release1_beta1, checkpoint46j_pre, checkpoint45b_post, checkpoint44g_post, checkpoint48c_post, release1-branch-end, release1_final_v1, checkpoint44b_pre, release1_p12_pre, ecco_c50_e32, ecco_c50_e33, ecco_c50_e30, ecco_c50_e31, checkpoint47d_pre, checkpoint47, checkpoint44, checkpoint45, checkpoint48, checkpoint49, checkpoint44f_post, checkpoint47b_post, checkpoint46l_post, checkpoint48i_post, checkpoint46h_post, checkpoint50, checkpoint44h_pre, release1_b1, checkpoint48h_post, checkpoint50d_pre, chkpt44d_post, ecco_c50_e29, ecco_c50_e28, checkpoint42, release1_p9, checkpoint46h_pre, checkpoint47h_post, release1_p8, checkpoint50d_post, checkpoint46g_pre, release1_p2, release1_p3, release1_p4, release1_p5, release1_p6, release1_p7, checkpoint46a_post, checkpoint47g_post, chkpt44a_post, chkpt44c_post, release1_p1, checkpoint46m_post, checkpoint46j_post, checkpoint44f_pre, checkpoint46a_pre, checkpoint50c_pre, checkpoint45c_post, checkpoint46k_post, checkpoint44e_pre, checkpoint46b_pre, ecco_ice2, ecco_ice1, checkpoint46b_post, checkpoint44h_post, checkpoint46d_post, ecco-branch-mod2, checkpoint48b_post, checkpoint50b_post, checkpoint46g_post, checkpoint45a_post, checkpoint50a_post, checkpoint46c_pre, checkpoint43, chkpt44a_pre, checkpoint48c_pre, release1-branch_branchpoint, ecco_c44_e22, checkpoint46, ecco_c44_e20, release1_chkpt44d_post, checkpoint48g_post, chkpt44c_pre, checkpoint48a_post
Branch point for: c24_e25_ice, ecco-branch, release1, release1_coupled, icebear, release1_final, release1-branch, release1_50yr, branch-exfmods-curt
Changes since 1.2: +3 -3 lines
Deleted single apostrophy (').

1 adcroft 1.3 C $Header: /u/gcmpack/models/MITgcmUV/pkg/monitor/mon_set.F,v 1.2 2001/06/18 17:55:55 cnh Exp $
2 cnh 1.1 C $Name: $
3    
4     #include "CPP_OPTIONS.h"
5    
6     SUBROUTINE MON_SET_IOUNIT(unit, myThid )
7     C /==========================================================\
8     C | SUBROUTINE MON_SET_IOUNIT |
9     C | o Set default monitor unit for I/O. |
10     C \==========================================================/
11     IMPLICIT NONE
12    
13     C === Global data ===
14     #include "SIZE.h"
15     #include "EEPARAMS.h"
16     #include "MONITOR.h"
17    
18     C === Routine arguments ===
19     C unit - Unit number to use for monitor output
20     C myThid - Instance number of this call to monitor
21     INTEGER unit
22     INTEGER myThid
23    
24 adcroft 1.3 C Dont change before everyone is ready
25 cnh 1.1 CALL BAR2( myThid )
26    
27     C Set monitor I/O unit
28     mon_ioUnit = standardMessageUnit
29    
30     C Make sure everyone sees the change
31     CALL BAR2( myThid )
32    
33     RETURN
34     END
35    
36     SUBROUTINE MON_SET_PREF(prefString, myThid )
37     C /==========================================================\
38     C | SUBROUTINE MON_SET_PREF |
39     C | o Set default monitor prefix string. |
40     C \==========================================================/
41     IMPLICIT NONE
42    
43     C === Global data ===
44     #include "SIZE.h"
45     #include "EEPARAMS.h"
46     #include "MONITOR.h"
47    
48 cnh 1.2 EXTERNAL IFNBLNK, ILNBLNK
49     INTEGER IFNBLNK, ILNBLNK
50 cnh 1.1
51     C === Routine arguments ===
52     C prefString - String to use for prefixing monitor output
53     C myThid - Instance number of this call to monitor
54     CHARACTER*(*) prefString
55     INTEGER myThid
56    
57     C === Local variables ===
58     C I0, I1 - String first and last indices
59     C IL - String length
60     INTEGER I0, I1
61     INTEGER IL
62    
63 adcroft 1.3 C Dont change before everyone is ready
64 cnh 1.1 CALL BAR2( myThid )
65    
66     C Set monitor I/O unit
67     I0 = IFNBLNK( prefString )
68     I1 = ILNBLNK( prefString )
69     IL = I1-I0+1
70     IF ( IL .LE. MAX_LEN_MBUF ) THEN
71     mon_pref = ' '
72     mon_prefL = IL
73     mon_pref(1:IL) = prefString(I0:I1)
74     ENDIF
75    
76     C Make sure everyone sees the change
77     CALL BAR2( myThid )
78    
79     RETURN
80     END

  ViewVC Help
Powered by ViewVC 1.1.22