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

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

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


Revision 1.1 - (show annotations) (download)
Mon Sep 11 20:42:57 2000 UTC (23 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: branch-atmos-merge-shapiro, branch-atmos-merge-start, checkpoint33, checkpoint32, checkpoint31, checkpoint34, branch-atmos-merge-zonalfilt, branch-atmos-merge-phase5, branch-atmos-merge-phase4, branch-atmos-merge-phase7, branch-atmos-merge-phase6, branch-atmos-merge-phase1, branch-atmos-merge-phase3, branch-atmos-merge-phase2, branch-atmos-merge-freeze
Branch point for: branch-atmos-merge
Package structure rearranged to comply with standard.
Includes useKPP, useGMRedi.
Tested for exp(0,2,4).

1 C $Header: /u/gcmpack/development/heimbach/ecco_env/model/src/packages_check_error.F,v 1.1 2000/08/31 20:47:06 heimbach Exp $
2
3 #include "CPP_OPTIONS.h"
4
5 SUBROUTINE PACKAGES_CHECK_ERROR( msg, myThid )
6 C /==========================================================\
7 C | SUBROUTINE PACKAGES_CHECK_ERROR |
8 C | o Generate error message due to failed package |
9 C | dependancies check |
10 C |==========================================================|
11 C | This routine is called if use_PKG was true but the CPP |
12 C | flows enabling the code were unset |
13 C \==========================================================/
14 IMPLICIT NONE
15
16 C === Global variables ===
17 #include "SIZE.h"
18 #include "EEPARAMS.h"
19
20 C === Routine arguments ===
21 C myThid - Number of this instances
22 CHARACTER*(*) msg
23 INTEGER myThid
24
25 C === Local variables ===
26 C msgBuf - Informational/error meesage buffer
27 CHARACTER*(MAX_LEN_MBUF) msgBuf
28
29 WRITE(msgBuf,'(A,A,A)')
30 & 'Run-time control flag use_',msg,' was used'
31 CALL PRINT_ERROR( msgBuf , 1)
32 WRITE(msgBuf,'(A,A,A)') 'when CPP flag ALLOW_',msg,' was unset'
33 CALL PRINT_ERROR( msgBuf , 1)
34 STOP 'ABNORMAL END: S/R PACKAGE_CHECK_ERROR'
35
36 return
37 end

  ViewVC Help
Powered by ViewVC 1.1.22