1 |
jmc |
1.11 |
C $Header: $ |
2 |
|
|
C $Name: $ |
3 |
cnh |
1.1 |
|
4 |
|
|
#include "CPP_EEOPTIONS.h" |
5 |
|
|
|
6 |
cnh |
1.6 |
CBOP |
7 |
|
|
C !ROUTINE: EEINTRO_MSG |
8 |
|
|
|
9 |
edhill |
1.9 |
C !INTERFACE: |
10 |
cnh |
1.1 |
SUBROUTINE EEINTRO_MSG |
11 |
adcroft |
1.5 |
IMPLICIT NONE |
12 |
cnh |
1.1 |
|
13 |
cnh |
1.6 |
C !DESCRIPTION: |
14 |
edhill |
1.9 |
C Write basic WRAPPER introductory message. This routine could be |
15 |
|
|
C customised for different platforms. Output includes which |
16 |
|
|
C checkpoint of the code is running. The routine doesnt currently |
17 |
|
|
C report the user id or machine name correctly. |
18 |
cnh |
1.6 |
|
19 |
|
|
C !USES: |
20 |
edhill |
1.10 |
#include "BUILD_INFO.h" |
21 |
cnh |
1.1 |
#include "SIZE.h" |
22 |
|
|
#include "EEPARAMS.h" |
23 |
|
|
#include "EESUPPORT.h" |
24 |
|
|
|
25 |
cnh |
1.6 |
C !LOCAL VARIABLES: |
26 |
cnh |
1.1 |
CHARACTER*(MAX_LEN_MBUF) msgBuf |
27 |
cnh |
1.6 |
CEOP |
28 |
cnh |
1.1 |
|
29 |
|
|
WRITE(msgBuf,'(A)') ' ' |
30 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
31 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
32 |
jmc |
1.11 |
WRITE(msgBuf,'(A)') |
33 |
edhill |
1.9 |
& '// ======================================================' |
34 |
cnh |
1.1 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
35 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
36 |
cnh |
1.1 |
WRITE(msgBuf,'(A)') '// MITgcm UV' |
37 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
38 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
39 |
cnh |
1.1 |
WRITE(msgBuf,'(A)') '// =========' |
40 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
41 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
42 |
jmc |
1.11 |
WRITE(msgBuf,'(A)') |
43 |
edhill |
1.9 |
& '// ======================================================' |
44 |
cnh |
1.1 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
45 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
46 |
cnh |
1.1 |
WRITE(msgBuf,'(A)') '// execution environment starting up...' |
47 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
48 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
49 |
|
|
WRITE(msgBuf,'(A)') ' ' |
50 |
cnh |
1.1 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
51 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
52 |
jmc |
1.11 |
|
53 |
edhill |
1.9 |
#ifdef THISVER |
54 |
jmc |
1.11 |
WRITE(msgBuf,'(2A)') '// MITgcmUV version: ', |
55 |
edhill |
1.9 |
& THISVER |
56 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
57 |
|
|
& SQUEEZE_RIGHT , 1) |
58 |
|
|
#endif |
59 |
|
|
#ifdef THISUSER |
60 |
|
|
WRITE(msgBuf,'(2A)') '// Build user: ', |
61 |
|
|
& THISUSER |
62 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
63 |
|
|
& SQUEEZE_RIGHT , 1) |
64 |
|
|
#endif |
65 |
|
|
#ifdef THISHOST |
66 |
|
|
WRITE(msgBuf,'(2A)') '// Build host: ', |
67 |
|
|
& THISHOST |
68 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
69 |
|
|
& SQUEEZE_RIGHT , 1) |
70 |
|
|
#endif |
71 |
|
|
#ifdef THISDATE |
72 |
jmc |
1.11 |
WRITE(msgBuf,'(2A)') '// Build date: ', |
73 |
edhill |
1.9 |
& THISDATE |
74 |
cnh |
1.1 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
75 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
76 |
|
|
#endif |
77 |
|
|
|
78 |
cnh |
1.1 |
WRITE(msgBuf,'(A)') ' ' |
79 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
80 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
81 |
cnh |
1.1 |
C |
82 |
|
|
RETURN |
83 |
|
|
END |