/[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.21 - (hide annotations) (download)
Sun Nov 23 01:28:05 2003 UTC (20 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint52l_pre, hrcube4, hrcube5, checkpoint52d_pre, checkpoint52j_pre, checkpoint54d_post, checkpoint52l_post, checkpoint52k_post, checkpoint54, checkpoint53, checkpoint52f_post, checkpoint52i_pre, hrcube_1, hrcube_2, hrcube_3, checkpoint52e_pre, checkpoint52e_post, checkpoint53d_post, checkpoint54b_post, checkpoint52m_post, checkpoint52b_post, checkpoint52c_post, checkpoint52f_pre, checkpoint54a_pre, checkpoint53c_post, checkpoint54a_post, checkpoint53a_post, checkpoint52d_post, checkpoint53g_post, checkpoint52i_post, checkpoint52h_pre, checkpoint53f_post, checkpoint52j_post, branch-netcdf, checkpoint52n_post, checkpoint53b_pre, checkpoint53b_post, checkpoint53d_pre, checkpoint54c_post
Branch point for: netcdf-sm0
Changes since 1.20: +4 -5 lines
use the new thermodynamic Sea-Ice pkg: thSIce

1 jmc 1.21 C $Header: /u/gcmpack/MITgcm/model/src/packages_check.F,v 1.20 2003/10/30 12:00:41 edhill 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 jmc 1.21 IF (useBulkForce) CALL PACKAGES_CHECK_ERROR('BULK?FORCE',myThid)
62 jmc 1.17 #endif
63    
64 jmc 1.21 #ifndef ALLOW_THSICE
65     IF (useThSIce) CALL PACKAGES_CHECK_ERROR('THSICE', myThid)
66 jmc 1.7 #endif
67    
68     #ifndef ALLOW_AIM
69     IF (useAIM) CALL PACKAGES_CHECK_ERROR('AIM', myThid)
70 jmc 1.14 #endif
71    
72     #ifndef ALLOW_LAND
73     IF (useLand) CALL PACKAGES_CHECK_ERROR('LAND', myThid)
74 adcroft 1.11 #endif
75    
76     #ifndef ALLOW_PTRACERS
77     IF (usePTRACERS) CALL PACKAGES_CHECK_ERROR('PTRACERS', myThid)
78 jmc 1.10 #endif
79    
80     #ifndef ALLOW_SHAP_FILT
81     IF (useSHAP_FILT) CALL PACKAGES_CHECK_ERROR('SHAP_FILT', myThid)
82     #endif
83    
84     #ifndef ALLOW_ZONAL_FILT
85     IF (useZONAL_FILT) CALL PACKAGES_CHECK_ERROR('ZONAL_FILT',myThid)
86 adcroft 1.8 #endif
87    
88     #ifndef ALLOW_FLT
89     IF (useFLT) CALL PACKAGES_CHECK_ERROR('FLT', myThid)
90 dimitri 1.13 #endif
91    
92     #ifdef ALLOW_SBO
93     IF (useSBO) CALL SBO_CHECK( myThid )
94     #else
95     IF (useSBO) CALL PACKAGES_CHECK_ERROR('SBO', myThid)
96 heimbach 1.12 #endif
97    
98     #ifdef ALLOW_SEAICE
99     IF (useSEAICE) CALL SEAICE_CHECK( myThid )
100     #else
101     IF (useSEAICE) CALL PACKAGES_CHECK_ERROR('SEAICE', myThid)
102 edhill 1.20 #endif
103    
104     #ifndef ALLOW_CD_CODE
105     IF (useCDscheme) CALL PACKAGES_CHECK_ERROR('CD_CODE', myThid)
106 heimbach 1.15 #endif
107    
108 heimbach 1.19 #ifdef ALLOW_AUTODIFF
109 heimbach 1.15 CALL CTRL_CHECK( myThid )
110     CALL COST_CHECK( myThid )
111 adcroft 1.6 #endif
112    
113     RETURN
114     END

  ViewVC Help
Powered by ViewVC 1.1.22