/[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.2 - (show annotations) (download)
Sun Feb 4 14:38:48 2001 UTC (23 years, 3 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint40pre3, checkpoint40pre2, checkpoint40pre1, checkpoint40pre7, checkpoint40pre6, checkpoint40pre9, checkpoint40pre8, checkpoint38, pre38tag1, c37_adj, pre38-close, checkpoint39, checkpoint37, checkpoint36, checkpoint35, checkpoint40pre5, checkpoint40pre4, checkpoint40
Branch point for: pre38
Changes since 1.1: +2 -1 lines
Made sure each .F and .h file had
the CVS keywords Header and Name at its start.
Most had header but very few currently have Name, so
lots of changes!

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

  ViewVC Help
Powered by ViewVC 1.1.22