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

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

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


Revision 1.3.6.1 - (hide annotations) (download)
Tue Jun 24 23:05:29 2003 UTC (20 years, 11 months ago) by heimbach
Branch: ecco-branch
CVS Tags: ecco_c51_e34d, ecco_c51_e34e, ecco_c51_e34f, ecco_c51_e34g, ecco_c51_e34a, ecco_c51_e34b, ecco_c51_e34c, ecco_c51_e34
Changes since 1.3: +4 -4 lines
Merging from c51

1 heimbach 1.3.6.1 C $Header: /u/gcmpack/MITgcm/model/src/packages_check_error.F,v 1.4 2003/06/12 18:27:20 jmc Exp $
2 cnh 1.3 C $Name: $
3 heimbach 1.1
4     #include "CPP_OPTIONS.h"
5    
6 cnh 1.3 CBOP
7     C !ROUTINE: PACKAGES_CHECK_ERROR
8     C !INTERFACE:
9 heimbach 1.1 SUBROUTINE PACKAGES_CHECK_ERROR( msg, myThid )
10 cnh 1.3
11     C !DESCRIPTION: \bv
12     C *==========================================================*
13     C | SUBROUTINE PACKAGES_CHECK_ERROR
14     C | o Generate error message due to failed package
15     C | dependancies check
16     C *==========================================================*
17     C | This routine is called if use_PKG was true but the CPP
18     C | flows enabling the code were unset
19     C *==========================================================*
20     C \ev
21    
22     C !USES:
23 heimbach 1.1 IMPLICIT NONE
24     C === Global variables ===
25     #include "SIZE.h"
26     #include "EEPARAMS.h"
27    
28 cnh 1.3 C !INPUT/OUTPUT PARAMETERS:
29 heimbach 1.1 C === Routine arguments ===
30     C myThid - Number of this instances
31     CHARACTER*(*) msg
32     INTEGER myThid
33    
34 cnh 1.3 C !LOCAL VARIABLES:
35 heimbach 1.1 C === Local variables ===
36     C msgBuf - Informational/error meesage buffer
37     CHARACTER*(MAX_LEN_MBUF) msgBuf
38 cnh 1.3 CEOP
39 heimbach 1.1
40     WRITE(msgBuf,'(A,A,A)')
41 heimbach 1.3.6.1 & 'Run-time control flag use',msg,' was used'
42 heimbach 1.1 CALL PRINT_ERROR( msgBuf , 1)
43     WRITE(msgBuf,'(A,A,A)') 'when CPP flag ALLOW_',msg,' was unset'
44     CALL PRINT_ERROR( msgBuf , 1)
45     STOP 'ABNORMAL END: S/R PACKAGE_CHECK_ERROR'
46    
47 heimbach 1.3.6.1 RETURN
48     END

  ViewVC Help
Powered by ViewVC 1.1.22