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