1 |
edhill |
1.10 |
C $Header: /u/gcmpack/MITgcm/eesupp/src/eeintro_msg.F,v 1.9 2004/09/04 18:19:21 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 |
edhill |
1.10 |
#include "BUILD_INFO.h" |
20 |
cnh |
1.1 |
#include "SIZE.h" |
21 |
|
|
#include "EEPARAMS.h" |
22 |
|
|
#include "EESUPPORT.h" |
23 |
|
|
|
24 |
cnh |
1.6 |
C !LOCAL VARIABLES: |
25 |
cnh |
1.1 |
CHARACTER*(MAX_LEN_MBUF) msgBuf |
26 |
cnh |
1.6 |
CEOP |
27 |
cnh |
1.1 |
|
28 |
|
|
WRITE(msgBuf,'(A)') ' ' |
29 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
30 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
31 |
cnh |
1.3 |
WRITE(msgBuf,'(A)') |
32 |
edhill |
1.9 |
& '// ======================================================' |
33 |
cnh |
1.1 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
34 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
35 |
cnh |
1.1 |
WRITE(msgBuf,'(A)') '// MITgcm UV' |
36 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
37 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
38 |
cnh |
1.1 |
WRITE(msgBuf,'(A)') '// =========' |
39 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
40 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
41 |
cnh |
1.3 |
WRITE(msgBuf,'(A)') |
42 |
edhill |
1.9 |
& '// ======================================================' |
43 |
cnh |
1.1 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
44 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
45 |
cnh |
1.1 |
WRITE(msgBuf,'(A)') '// execution environment starting up...' |
46 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
47 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
48 |
|
|
WRITE(msgBuf,'(A)') ' ' |
49 |
cnh |
1.1 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
50 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
51 |
|
|
|
52 |
|
|
#ifdef THISVER |
53 |
|
|
WRITE(msgBuf,'(2A)') '// MITgcmUV version: ', |
54 |
|
|
& THISVER |
55 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
56 |
|
|
& SQUEEZE_RIGHT , 1) |
57 |
|
|
#endif |
58 |
|
|
#ifdef THISUSER |
59 |
|
|
WRITE(msgBuf,'(2A)') '// Build user: ', |
60 |
|
|
& THISUSER |
61 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
62 |
|
|
& SQUEEZE_RIGHT , 1) |
63 |
|
|
#endif |
64 |
|
|
#ifdef THISHOST |
65 |
|
|
WRITE(msgBuf,'(2A)') '// Build host: ', |
66 |
|
|
& THISHOST |
67 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
68 |
|
|
& SQUEEZE_RIGHT , 1) |
69 |
|
|
#endif |
70 |
|
|
#ifdef THISDATE |
71 |
|
|
WRITE(msgBuf,'(2A)') '// Build date: ', |
72 |
|
|
& THISDATE |
73 |
cnh |
1.1 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
74 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
75 |
|
|
#endif |
76 |
|
|
|
77 |
cnh |
1.1 |
WRITE(msgBuf,'(A)') ' ' |
78 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
79 |
edhill |
1.9 |
& SQUEEZE_RIGHT , 1) |
80 |
cnh |
1.1 |
C |
81 |
|
|
RETURN |
82 |
|
|
END |