/[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.4 - (show annotations) (download)
Thu Jun 12 18:27:20 2003 UTC (21 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint51k_post, checkpoint57m_post, checkpoint52l_pre, hrcube4, hrcube5, checkpoint57g_pre, checkpoint57s_post, checkpoint58b_post, checkpoint57b_post, checkpoint52d_pre, checkpoint57g_post, checkpoint56b_post, checkpoint57y_post, checkpoint52j_pre, checkpoint51o_pre, checkpoint54d_post, checkpoint54e_post, checkpoint51l_post, checkpoint57r_post, checkpoint57d_post, checkpoint57i_post, checkpoint52k_post, checkpoint59, checkpoint58, checkpoint55, checkpoint54, checkpoint57, checkpoint56, checkpoint51, checkpoint53, checkpoint52, checkpoint58f_post, checkpoint52f_post, checkpoint57n_post, checkpoint58d_post, checkpoint58a_post, checkpoint57z_post, checkpoint54f_post, checkpoint51f_post, checkpoint58y_post, checkpoint51d_post, checkpoint55a_post, checkpoint51t_post, checkpoint58t_post, checkpoint51n_post, checkpoint55i_post, checkpoint52i_pre, hrcube_1, hrcube_2, hrcube_3, checkpoint51s_post, checkpoint57t_post, checkpoint55c_post, checkpoint51j_post, checkpoint52e_pre, checkpoint57v_post, checkpoint57f_post, checkpoint52e_post, checkpoint51n_pre, checkpoint53d_post, checkpoint57a_post, checkpoint57h_pre, checkpoint57x_post, checkpoint52b_pre, checkpoint54b_post, checkpoint58w_post, checkpoint57h_post, checkpoint51l_pre, checkpoint52m_post, checkpoint57y_pre, checkpoint53b_post, checkpoint55g_post, checkpoint51q_post, checkpoint51b_pre, checkpoint52b_post, checkpoint51h_pre, checkpoint57l_post, checkpoint58o_post, checkpoint52h_pre, checkpoint57c_post, checkpoint58p_post, checkpoint58q_post, checkpoint51m_post, checkpoint52c_post, checkpoint58e_post, checkpoint58m_post, checkpoint53c_post, checkpoint55d_pre, checkpoint57c_pre, checkpoint58r_post, checkpoint55j_post, branchpoint-genmake2, checkpoint54a_post, checkpoint55h_post, checkpoint58n_post, checkpoint51r_post, checkpoint51i_post, checkpoint57e_post, checkpoint55b_post, checkpoint51b_post, checkpoint53a_post, checkpoint57h_done, checkpoint55f_post, checkpoint52d_post, checkpoint53g_post, checkpoint57p_post, checkpint57u_post, checkpoint57q_post, mitgcm_mapl_00, eckpoint57e_pre, checkpoint51c_post, checkpoint58k_post, checkpoint52a_pre, checkpoint58v_post, checkpoint50h_post, checkpoint52i_post, checkpoint50i_post, checkpoint51i_pre, checkpoint56a_post, checkpoint58l_post, checkpoint53f_post, checkpoint54a_pre, checkpoint53b_pre, checkpoint52j_post, checkpoint57j_post, checkpoint57f_pre, checkpoint58g_post, branch-netcdf, checkpoint52l_post, checkpoint58x_post, checkpoint52n_post, checkpoint58h_post, checkpoint56c_post, checkpoint58j_post, checkpoint51e_post, checkpoint57a_pre, checkpoint57o_post, checkpoint51o_post, checkpoint57k_post, checkpoint51f_pre, checkpoint52a_post, checkpoint57w_post, checkpoint58i_post, checkpoint51g_post, ecco_c52_e35, checkpoint58c_post, checkpoint58u_post, checkpoint52f_pre, checkpoint53d_pre, checkpoint58s_post, checkpoint55e_post, checkpoint54c_post, checkpoint51a_post, checkpoint51p_post, checkpoint51u_post, checkpoint55d_post
Branch point for: branch-nonh, branch-genmake2, tg2-branch, netcdf-sm0, checkpoint51n_branch
Changes since 1.3: +4 -4 lines
minor modifs:
remove CALL AIM_INITIALISE from packages_readparms.F
set celsius2K (=273.16) and change spelling or comments.

1 C $Header: /u/gcmpack/MITgcm/model/src/packages_check_error.F,v 1.3 2001/09/26 18:09:16 cnh Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: PACKAGES_CHECK_ERROR
8 C !INTERFACE:
9 SUBROUTINE PACKAGES_CHECK_ERROR( msg, myThid )
10
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 IMPLICIT NONE
24 C === Global variables ===
25 #include "SIZE.h"
26 #include "EEPARAMS.h"
27
28 C !INPUT/OUTPUT PARAMETERS:
29 C === Routine arguments ===
30 C myThid - Number of this instances
31 CHARACTER*(*) msg
32 INTEGER myThid
33
34 C !LOCAL VARIABLES:
35 C === Local variables ===
36 C msgBuf - Informational/error meesage buffer
37 CHARACTER*(MAX_LEN_MBUF) msgBuf
38 CEOP
39
40 WRITE(msgBuf,'(A,A,A)')
41 & 'Run-time control flag use',msg,' was used'
42 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 RETURN
48 END

  ViewVC Help
Powered by ViewVC 1.1.22