/[MITgcm]/MITgcm/model/src/packages_check.F
ViewVC logotype

Annotation of /MITgcm/model/src/packages_check.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.20 - (hide annotations) (download)
Thu Oct 30 12:00:41 2003 UTC (20 years, 6 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint52, checkpoint51t_post, checkpoint51s_post, checkpoint52b_pre, checkpoint51q_post, checkpoint51r_post, checkpoint52a_pre, checkpoint52a_post, ecco_c52_e35, checkpoint51p_post, checkpoint51u_post
Branch point for: branch-nonh
Changes since 1.19: +5 -1 lines
 o updated and tested version of the cd_code package
 o almost all of the cd_code functionality has been moved into
   the package but some cleanups (read/write checkpoints) remain

1 edhill 1.20 C $Header: /u/u3/gcmpack/MITgcm/model/src/packages_check.F,v 1.19 2003/10/27 22:32:55 heimbach Exp $
2 adcroft 1.6 C $Name: $
3 adcroft 1.1
4 edhill 1.16 #include "PACKAGES_CONFIG.h"
5 adcroft 1.1 #include "CPP_OPTIONS.h"
6    
7 cnh 1.9 CBOP
8     C !ROUTINE: PACKAGES_CHECK
9     C !INTERFACE:
10 heimbach 1.2 SUBROUTINE PACKAGES_CHECK( myThid )
11 cnh 1.9 C !DESCRIPTION: \bv
12     C *==========================================================*
13     C | SUBROUTINE PACKAGES_CHECK
14     C | o Check runtime activated packages have been built in.
15     C *==========================================================*
16     C | All packages can be selected/deselected at build time
17     C | ( when code is compiled ) and activated/deactivated at
18     C | runtime. This routine does a quick check to trap packages
19     C | that were activated at runtime but that were not compiled
20     C | in at build time.
21     C *==========================================================*
22     C \ev
23    
24     C !USES:
25 adcroft 1.1 IMPLICIT NONE
26     C === Global variables ===
27     #include "SIZE.h"
28     #include "EEPARAMS.h"
29     #include "PARAMS.h"
30    
31 cnh 1.9 C !INPUT/OUTPUT PARAMETERS:
32 adcroft 1.1 C === Routine arguments ===
33 cnh 1.9 C myThid :: Number of this instances
34 adcroft 1.1 INTEGER myThid
35    
36 cnh 1.9 C !LOCAL VARIABLES:
37 adcroft 1.1 C === Local variables ===
38 cnh 1.9 C msgBuf :: Informational/error meesage buffer
39 adcroft 1.1 CHARACTER*(MAX_LEN_MBUF) msgBuf
40 cnh 1.9 CEOP
41 adcroft 1.1
42 heimbach 1.3 #ifdef ALLOW_KPP
43     IF (useKPP) CALL KPP_CHECK( myThid )
44 adcroft 1.1 #else
45 heimbach 1.5 IF (useKPP) CALL PACKAGES_CHECK_ERROR('KPP', myThid)
46 adcroft 1.1 #endif
47    
48 heimbach 1.3 #ifdef ALLOW_GMREDI
49     IF (useGMRedi) CALL GMREDI_CHECK( myThid )
50     #else
51 heimbach 1.5 IF (useGMRedi) CALL PACKAGES_CHECK_ERROR('GMREDI', myThid)
52 adcroft 1.1 #endif
53    
54 adcroft 1.6 #ifdef ALLOW_OBCS
55     IF (useOBCS) CALL OBCS_CHECK( myThid )
56     #else
57     IF (useOBCS) CALL PACKAGES_CHECK_ERROR('OBCS', myThid)
58 jmc 1.17 #endif
59    
60     #ifndef ALLOW_BULK_FORCE
61     IF (useBulkforce) CALL PACKAGES_CHECK_ERROR('BULK?FORCE',myThid)
62     #endif
63    
64     #ifndef ALLOW_THERM_SEAICE
65     IF (useThermSeaIce)
66     & CALL PACKAGES_CHECK_ERROR('THERM?SEAICE', myThid)
67 jmc 1.7 #endif
68    
69     #ifndef ALLOW_AIM
70     IF (useAIM) CALL PACKAGES_CHECK_ERROR('AIM', myThid)
71 jmc 1.14 #endif
72    
73     #ifndef ALLOW_LAND
74     IF (useLand) CALL PACKAGES_CHECK_ERROR('LAND', myThid)
75 adcroft 1.11 #endif
76    
77     #ifndef ALLOW_PTRACERS
78     IF (usePTRACERS) CALL PACKAGES_CHECK_ERROR('PTRACERS', myThid)
79 jmc 1.10 #endif
80    
81     #ifndef ALLOW_SHAP_FILT
82     IF (useSHAP_FILT) CALL PACKAGES_CHECK_ERROR('SHAP_FILT', myThid)
83     #endif
84    
85     #ifndef ALLOW_ZONAL_FILT
86     IF (useZONAL_FILT) CALL PACKAGES_CHECK_ERROR('ZONAL_FILT',myThid)
87 adcroft 1.8 #endif
88    
89     #ifndef ALLOW_FLT
90     IF (useFLT) CALL PACKAGES_CHECK_ERROR('FLT', myThid)
91 dimitri 1.13 #endif
92    
93     #ifdef ALLOW_SBO
94     IF (useSBO) CALL SBO_CHECK( myThid )
95     #else
96     IF (useSBO) CALL PACKAGES_CHECK_ERROR('SBO', myThid)
97 heimbach 1.12 #endif
98    
99     #ifdef ALLOW_SEAICE
100     IF (useSEAICE) CALL SEAICE_CHECK( myThid )
101     #else
102     IF (useSEAICE) CALL PACKAGES_CHECK_ERROR('SEAICE', myThid)
103 edhill 1.20 #endif
104    
105     #ifndef ALLOW_CD_CODE
106     IF (useCDscheme) CALL PACKAGES_CHECK_ERROR('CD_CODE', myThid)
107 heimbach 1.15 #endif
108    
109 heimbach 1.19 #ifdef ALLOW_AUTODIFF
110 heimbach 1.15 CALL CTRL_CHECK( myThid )
111     CALL COST_CHECK( myThid )
112 adcroft 1.6 #endif
113    
114     RETURN
115     END

  ViewVC Help
Powered by ViewVC 1.1.22