1 |
C $Header: /u/gcmpack/models/MITgcmUV/eesupp/src/eedata_example.F,v 1.3 1999/05/24 15:15:10 adcroft Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "CPP_EEOPTIONS.h" |
5 |
|
6 |
SUBROUTINE EEDATA_EXAMPLE |
7 |
C /==========================================================\ |
8 |
C | S/R EEDATA_EXAMPLE | |
9 |
C | o Write example eedata file | |
10 |
C |==========================================================| |
11 |
C | Notes | |
12 |
C | ===== | |
13 |
C | Some systems require & as the namelist terminator. | |
14 |
C | Other systems use a / character. | |
15 |
C \==========================================================/ |
16 |
IMPLICIT NONE |
17 |
#include "SIZE.h" |
18 |
#include "EEPARAMS.h" |
19 |
|
20 |
C -- Local variables -- |
21 |
CHARACTER*(MAX_LEN_MBUF) msgBuf |
22 |
|
23 |
WRITE(msgBuf,'(A)') '// Shown below is an example "eedata" file.' |
24 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
25 |
WRITE(msgBuf,'(A)') '// To use this example copy and paste the ' |
26 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
27 |
WRITE(msgBuf,'(A)') '// ">" lines. Then remove the text up to' |
28 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
29 |
WRITE(msgBuf,'(A)') '// and including the ">".' |
30 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
31 |
WRITE(msgBuf,'(A)') '># Example "eedata" file' |
32 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
33 |
WRITE(msgBuf,'(A)') '># Lines beginning "#" are comments' |
34 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
35 |
WRITE(msgBuf,'(A)') '># nTx - No. threads per process in X' |
36 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
37 |
WRITE(msgBuf,'(A)') '># nTy - No. threads per process in Y' |
38 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
39 |
WRITE(msgBuf,'(A)') '>&EEPARMS ' |
40 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
41 |
WRITE(msgBuf,'(A)') '>nTx=1,nTy=1 ' |
42 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
43 |
WRITE(msgBuf,'(A)') '>/ ' |
44 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
45 |
WRITE(msgBuf,'(A)') '># Note: Some systems use & as the ' |
46 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
47 |
WRITE(msgBuf,'(A)') '># namelist terminator. Other systems' |
48 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
49 |
WRITE(msgBuf,'(A)') '># use a / character (as shown here).' |
50 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
51 |
WRITE(msgBuf,'(A)') ' ' |
52 |
CALL PRINT_MESSAGE( msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
53 |
C |
54 |
RETURN |
55 |
END |
56 |
|