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

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

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


Revision 1.2 - (show annotations) (download)
Wed Aug 9 00:50:10 2006 UTC (17 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58u_post, checkpoint58w_post, checkpoint58r_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58q_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint58o_post, checkpoint58y_post, checkpoint58v_post, checkpoint58s_post, checkpoint58p_post
Changes since 1.1: +10 -6 lines
fix for multi-threading

1 C $Header: /u/gcmpack/MITgcm/pkg/gchem/gchem_check.F,v 1.1 2004/11/19 01:34:27 mlosch Exp $
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 _BEGIN_MASTER(myThid)
29
30 WRITE(msgBuf,'(A)') 'GCHEM_CHECK: #define ALLOW_GCHEM'
31 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
32 & SQUEEZE_RIGHT , myThid )
33
34 C GCHEM needs passive tracer package
35 IF ( .NOT.usePTRACERS) THEN
36 WRITE(msgBuf,'(A)') 'usePTRACERS has to be .TRUE. for GCHEM'
37 CALL PRINT_ERROR( msgBuf , myThid )
38 STOP 'ABNORMAL END: S/R GCHEM_CHECK'
39 ENDIF
40
41 _END_MASTER(myThid)
42
43 #endif /* ALLOW_GCHEM */
44
45 RETURN
46 END

  ViewVC Help
Powered by ViewVC 1.1.22