1 |
C $Header$ |
C $Header$ |
2 |
|
C $Name$ |
3 |
|
|
4 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
5 |
|
|
6 |
SUBROUTINE PACKAGES_BOOT( myThid ) |
SUBROUTINE PACKAGES_BOOT( myThid ) |
7 |
C /==========================================================\ |
C /==========================================================\ |
8 |
C | SUBROUTINE PACKAGES_BOOT | |
C | SUBROUTINE PACKAGES_BOOT | |
9 |
C | o Routine to initialize package configuration | |
C | o Routine to parse runtime package selection file | |
10 |
C |==========================================================| |
C |==========================================================| |
11 |
|
C | Routine reads a flat file which contains a single flag | |
12 |
|
C | for each known "package". Flag can enables runtime | |
13 |
|
C | activation or deactivation of a package. The data is read| |
14 |
|
C | from a file called data.pkg. | |
15 |
|
C | Note - If a runtime activation flag is set on but the | |
16 |
|
C | package code was not included in the build then | |
17 |
|
C | the default behavior is to stop with an error. | |
18 |
C \==========================================================/ |
C \==========================================================/ |
19 |
IMPLICIT NONE |
IMPLICIT NONE |
20 |
|
|
31 |
NAMELIST /PACKAGES/ |
NAMELIST /PACKAGES/ |
32 |
& useKPP, |
& useKPP, |
33 |
& useGMRedi, |
& useGMRedi, |
34 |
|
& useOBCS, |
35 |
& useECCO |
& useECCO |
36 |
|
|
37 |
C === Local variables === |
C === Local variables === |
55 |
C-- Default package configuration |
C-- Default package configuration |
56 |
useGMRedi=.FALSE. |
useGMRedi=.FALSE. |
57 |
useKPP=.FALSE. |
useKPP=.FALSE. |
58 |
|
useOBCS=.FALSE. |
59 |
useECCO=.FALSE. |
useECCO=.FALSE. |
60 |
|
|
|
|
|
61 |
C-- Read parameters from open data file |
C-- Read parameters from open data file |
62 |
READ(UNIT=iUnit,NML=PACKAGES) |
READ(UNIT=iUnit,NML=PACKAGES) |
63 |
|
|