1 |
C $Header: $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "MONITOR_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 |
C Dont change before everyone is ready |
25 |
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 |