| 1 |
edhill |
1.5 |
C $Header: /u/gcmpack/MITgcm/eesupp/src/eedata_example.F,v 1.4 2001/02/04 14:38:42 cnh Exp $ |
| 2 |
|
|
C $Name: $ |
| 3 |
cnh |
1.1 |
|
| 4 |
|
|
#include "CPP_EEOPTIONS.h" |
| 5 |
|
|
|
| 6 |
adcroft |
1.3 |
SUBROUTINE EEDATA_EXAMPLE |
| 7 |
cnh |
1.1 |
C /==========================================================\ |
| 8 |
edhill |
1.5 |
C | S/R EEDATA\_EXAMPLE | |
| 9 |
cnh |
1.1 |
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 |
adcroft |
1.3 |
IMPLICIT NONE |
| 17 |
cnh |
1.1 |
#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 |
|
|
|