/[MITgcm]/MITgcm/pkg/gchem/gchem_check.F
ViewVC logotype

Annotation of /MITgcm/pkg/gchem/gchem_check.F

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


Revision 1.1 - (hide annotations) (download)
Fri Nov 19 01:34:27 2004 UTC (19 years, 6 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint57o_post, checkpoint58e_post, checkpoint57v_post, checkpoint57m_post, checkpoint57s_post, checkpoint57k_post, checkpoint57d_post, checkpoint57g_post, checkpoint57b_post, checkpoint57c_pre, checkpoint56b_post, checkpoint57i_post, checkpoint57y_post, checkpoint57e_post, checkpoint57g_pre, checkpoint58h_post, checkpoint56c_post, checkpoint57y_pre, checkpoint57f_pre, checkpoint57a_post, checkpoint58j_post, checkpoint57r_post, checkpoint58, checkpoint57a_pre, checkpoint57, eckpoint57e_pre, checkpoint57h_done, checkpoint58f_post, checkpoint57x_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint57f_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58g_post, checkpoint57z_post, checkpoint57c_post, checkpoint58k_post, checkpoint57j_post, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint57h_post, checkpoint56a_post
o GCHEM: introduced a useGCHEM runtime flag, add a check for gchem package

1 mlosch 1.1 C $Header: $
2     C $Name: $
3     #include "GCHEM_OPTIONS.h"
4    
5     SUBROUTINE GCHEM_CHECK( myThid )
6     C /==========================================================\
7     C | SUBROUTINE GCHEM_CHECK |
8     C | o Validate basic package setup and inter-package |
9     C | dependencies. |
10     C \==========================================================/
11     IMPLICIT NONE
12    
13     C === Global variables ===
14     #include "SIZE.h"
15     #include "EEPARAMS.h"
16     #include "PARAMS.h"
17    
18     C === Routine arguments ===
19     C myThid - Number of this instance
20     INTEGER myThid
21    
22     #ifdef ALLOW_GCHEM
23    
24     C === Local variables ===
25     C msgBuf - Informational/error meesage buffer
26     CHARACTER*(MAX_LEN_MBUF) msgBuf
27    
28     WRITE(msgBuf,'(A)') 'GCHEM_CHECK: #define ALLOW_GCHEM'
29     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
30     & SQUEEZE_RIGHT , 1)
31    
32     C GCHEM needs passive tracer package
33     IF ( .NOT.usePTRACERS) THEN
34     WRITE(msgBuf,'(A)') 'usePTRACERS has to be .TRUE. for GCHEM'
35     CALL PRINT_ERROR( msgBuf , 1)
36     STOP 'ABNORMAL END: S/R GCHEM_CHECK'
37     ENDIF
38    
39     #endif /* ALLOW_GCHEM */
40    
41     return
42     end

  ViewVC Help
Powered by ViewVC 1.1.22