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

Contents of /MITgcm/pkg/monitor/mon_set_iounit.F

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


Revision 1.3 - (show annotations) (download)
Tue Oct 17 19:01:48 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: mitgcm_mapl_00, checkpoint58u_post, checkpoint58w_post, checkpoint60, checkpoint61, checkpoint58r_post, checkpoint58x_post, checkpoint58t_post, checkpoint58q_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint58y_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61t, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q
Changes since 1.2: +4 -2 lines
clean-up multi-threaded problems (reported by debugger tcheck on ACES)

1 C $Header: /u/gcmpack/MITgcm/pkg/monitor/mon_set_iounit.F,v 1.2 2004/04/03 21:17:10 edhill Exp $
2 C $Name: $
3
4 #include "MONITOR_OPTIONS.h"
5
6 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
7 CBOP
8 C !ROUTINE: MON_SET_IOUNIT
9
10 C !INTERFACE:
11 SUBROUTINE MON_SET_IOUNIT(unit, myThid )
12
13 C !DESCRIPTION:
14 C Set default monitor unit for I/O.
15
16 C !USES:
17 IMPLICIT NONE
18 #include "SIZE.h"
19 #include "EEPARAMS.h"
20 #include "MONITOR.h"
21
22 C !INPUT PARAMETERS:
23 C unit - Unit number to use for monitor output
24 C myThid - Instance number of this call to monitor
25 INTEGER unit
26 INTEGER myThid
27 CEOP
28
29 C Dont change before everyone is ready
30 CALL BAR2( myThid )
31
32 C Set monitor I/O unit
33 _BEGIN_MASTER(myThid)
34 mon_ioUnit = unit
35 _END_MASTER(myThid)
36
37 C Make sure everyone sees the change
38 CALL BAR2( myThid )
39
40 RETURN
41 END

  ViewVC Help
Powered by ViewVC 1.1.22