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

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

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

revision 1.5.2.1 by cnh, Tue Jan 30 18:07:07 2001 UTC revision 1.11 by adcroft, Mon Mar 4 17:26:41 2002 UTC
# Line 3  C $Name$ Line 3  C $Name$
3    
4  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
5    
6    CBOP
7    C     !ROUTINE: PACKAGES_CHECK
8    C     !INTERFACE:
9        SUBROUTINE PACKAGES_CHECK( myThid )        SUBROUTINE PACKAGES_CHECK( myThid )
10  C     /==========================================================\  C     !DESCRIPTION: \bv
11  C     | SUBROUTINE PACKAGES_CHECK                                |  C     *==========================================================*
12  C     | o Check runtime activated packages have been built in.   |  C     | SUBROUTINE PACKAGES_CHECK                                
13  C     |==========================================================|  C     | o Check runtime activated packages have been built in.    
14  C     | All packages can be selected/deselected at build time    |  C     *==========================================================*
15  C     | ( when code is compiled ) and activated/deactivated at   |  C     | All packages can be selected/deselected at build time    
16  C     | runtime. This routine does a quick check to trap packages|  C     | ( when code is compiled ) and activated/deactivated at    
17  C     | that were activated at runtime but that were not compiled|  C     | runtime. This routine does a quick check to trap packages
18  C     | in at build time.                                        |  C     | that were activated at runtime but that were not compiled
19  C     \==========================================================/  C     | in at build time.                                        
20        IMPLICIT NONE  C     *==========================================================*
21    C     \ev
22    
23    C     !USES:
24          IMPLICIT NONE
25  C     === Global variables ===  C     === Global variables ===
26  #include "SIZE.h"  #include "SIZE.h"
27  #include "EEPARAMS.h"  #include "EEPARAMS.h"
28  #include "PARAMS.h"  #include "PARAMS.h"
29    
30    C     !INPUT/OUTPUT PARAMETERS:
31  C     === Routine arguments ===  C     === Routine arguments ===
32  C     myThid -  Number of this instances  C     myThid ::  Number of this instances
33        INTEGER myThid        INTEGER myThid
34    
35    C     !LOCAL VARIABLES:
36  C     === Local variables ===  C     === Local variables ===
37  C     msgBuf      - Informational/error meesage buffer  C     msgBuf      :: Informational/error meesage buffer
38        CHARACTER*(MAX_LEN_MBUF) msgBuf        CHARACTER*(MAX_LEN_MBUF) msgBuf
39    CEOP
40    
41  #ifdef ALLOW_KPP  #ifdef ALLOW_KPP
42        IF (useKPP) CALL KPP_CHECK( myThid )        IF (useKPP) CALL KPP_CHECK( myThid )
# Line 41  C     msgBuf      - Informational/error Line 50  C     msgBuf      - Informational/error
50        IF (useGMRedi) CALL PACKAGES_CHECK_ERROR('GMREDI', myThid)        IF (useGMRedi) CALL PACKAGES_CHECK_ERROR('GMREDI', myThid)
51  #endif  #endif
52    
53        return  #ifdef ALLOW_OBCS
54        end        IF (useOBCS) CALL OBCS_CHECK( myThid )
55    #else
56          IF (useOBCS) CALL PACKAGES_CHECK_ERROR('OBCS', myThid)
57    #endif
58    
59    #ifndef ALLOW_AIM
60          IF (useAIM) CALL PACKAGES_CHECK_ERROR('AIM', myThid)
61    #endif
62    
63    #ifndef ALLOW_PTRACERS
64          IF (usePTRACERS) CALL PACKAGES_CHECK_ERROR('PTRACERS', myThid)
65    #endif
66    
67    #ifndef ALLOW_SHAP_FILT
68          IF (useSHAP_FILT) CALL PACKAGES_CHECK_ERROR('SHAP_FILT', myThid)
69    #endif
70    
71    #ifndef ALLOW_ZONAL_FILT
72          IF (useZONAL_FILT) CALL PACKAGES_CHECK_ERROR('ZONAL_FILT',myThid)
73    #endif
74    
75    #ifndef ALLOW_FLT
76          IF (useFLT) CALL PACKAGES_CHECK_ERROR('FLT', myThid)
77    #endif
78    
79          RETURN
80          END

Legend:
Removed from v.1.5.2.1  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.22