/[MITgcm]/MITgcm/eesupp/inc/CPP_EEOPTIONS.h
ViewVC logotype

Contents of /MITgcm/eesupp/inc/CPP_EEOPTIONS.h

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


Revision 1.18 - (show annotations) (download)
Fri Sep 21 03:54:35 2001 UTC (19 years, 2 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint46n_post, checkpoint51k_post, checkpoint47e_post, checkpoint44e_post, checkpoint46l_post, checkpoint46g_pre, checkpoint47c_post, release1_p13_pre, checkpoint50c_post, checkpoint46f_post, checkpoint52d_pre, checkpoint48e_post, checkpoint50c_pre, checkpoint44f_post, checkpoint46b_post, checkpoint43a-release1mods, checkpoint51o_pre, ecco_c50_e32, ecco_c50_e33, ecco_c50_e30, ecco_c50_e31, release1_p13, checkpoint51l_post, checkpoint48i_post, checkpoint46l_pre, chkpt44d_post, checkpoint51, checkpoint50, checkpoint52, release1_p8, release1_p9, checkpoint50d_post, release1_p1, release1_p2, release1_p3, release1_p4, release1_p5, release1_p6, release1_p7, checkpoint52f_post, checkpoint50b_pre, checkpoint44e_pre, checkpoint51f_post, release1_b1, ecco_c51_e34d, ecco_c51_e34e, ecco_c51_e34f, ecco_c51_e34g, ecco_c51_e34a, ecco_c51_e34b, ecco_c51_e34c, checkpoint48b_post, checkpoint43, checkpoint51d_post, checkpoint48c_pre, checkpoint47d_pre, checkpoint51t_post, checkpoint51n_post, release1_chkpt44d_post, checkpoint52i_pre, hrcube_1, checkpoint51s_post, checkpoint47a_post, checkpoint48d_pre, checkpoint51j_post, checkpoint47i_post, checkpoint52e_pre, release1_p11, checkpoint52e_post, checkpoint51n_pre, checkpoint47d_post, icebear5, icebear4, icebear3, icebear2, checkpoint46d_pre, checkpoint48d_post, release1-branch_tutorials, checkpoint48f_post, checkpoint45d_post, checkpoint52b_pre, checkpoint46j_pre, checkpoint51l_pre, chkpt44a_post, checkpoint44h_pre, checkpoint48h_post, checkpoint51q_post, ecco_c50_e29, checkpoint51b_pre, checkpoint46a_post, checkpoint47g_post, checkpoint52b_post, checkpoint52c_post, checkpoint46j_post, checkpoint51h_pre, checkpoint46k_post, ecco_c50_e28, chkpt44c_pre, checkpoint48a_post, checkpoint45a_post, checkpoint50f_post, checkpoint50a_post, checkpoint50f_pre, checkpoint52f_pre, ecco_c44_e19, ecco_c44_e18, ecco_c44_e17, ecco_c44_e16, release1_p12, release1_p10, release1_p16, release1_p17, release1_p14, release1_p15, checkpoint47j_post, ecco_c50_e33a, branch-exfmods-tag, checkpoint44g_post, branchpoint-genmake2, checkpoint46e_pre, checkpoint51r_post, checkpoint48c_post, checkpoint45b_post, checkpoint46b_pre, checkpoint51i_post, release1-branch-end, release1_final_v1, checkpoint51b_post, checkpoint51c_post, checkpoint46c_pre, checkpoint46, checkpoint47b_post, checkpoint44b_post, ecco_c51_e34, checkpoint46h_pre, checkpoint52d_post, checkpoint46m_post, checkpoint46a_pre, checkpoint50g_post, checkpoint45c_post, ecco_ice2, ecco_ice1, checkpoint44h_post, checkpoint46g_post, release1_p12_pre, checkpoint52a_pre, ecco_c44_e22, checkpoint50h_post, checkpoint50e_pre, checkpoint50i_post, ecco_c44_e25, checkpoint51i_pre, checkpoint52h_pre, checkpoint47f_post, checkpoint50e_post, chkpt44a_pre, checkpoint46i_post, ecco_c44_e23, ecco_c44_e20, ecco_c44_e21, ecco_c44_e26, ecco_c44_e27, ecco_c44_e24, checkpoint46c_post, ecco-branch-mod1, ecco-branch-mod2, ecco-branch-mod3, ecco-branch-mod4, ecco-branch-mod5, branch-netcdf, checkpoint50d_pre, checkpoint46e_post, release1_beta1, checkpoint51e_post, checkpoint44b_pre, checkpoint42, checkpoint41, checkpoint47, checkpoint44, checkpoint45, checkpoint48, checkpoint49, checkpoint46h_post, checkpoint51o_post, checkpoint51f_pre, chkpt44c_post, checkpoint48g_post, checkpoint47h_post, checkpoint52a_post, checkpoint44f_pre, checkpoint51g_post, ecco_c52_e35, checkpoint46d_post, checkpoint50b_post, release1-branch_branchpoint, checkpoint51m_post, checkpoint51a_post, checkpoint51p_post, checkpoint51u_post
Branch point for: c24_e25_ice, branch-exfmods-curt, release1_final, release1-branch, branch-genmake2, release1, branch-nonh, tg2-branch, ecco-branch, release1_50yr, netcdf-sm0, icebear, checkpoint51n_branch, release1_coupled
Changes since 1.17: +10 -4 lines
File MIME type: text/plain
Starting to bring comments up to date and format comments
for document extraction of "prototypes".

1 C $Header: /u/gcmpack/models/MITgcmUV/eesupp/inc/CPP_EEOPTIONS.h,v 1.17 2001/03/09 19:36:39 adcroft Exp $
2 C $Name: $
3
4 These lines are here to deliberately cause a compile-time error.
5 If you see these lines in your .F files or the compiler shows them
6 as an error then it means you have not placed your configuration
7 files in the appropriate place.
8 You need to place you own copy of CPP_EEOPTIONS.h in the include
9 path for the model.
10
11 CBOP
12 C !ROUTINE: CPP_EEOPTIONS.h
13 C !INTERFACE:
14 C include "CPP_EEOPTIONS.h"
15 C
16 C !DESCRIPTION:
17 C *==========================================================*
18 C | CPP_EEOPTIONS.h |
19 C *==========================================================*
20 C | C preprocessor "execution environment" supporting |
21 C | flags. Use this file to set flags controlling the |
22 C | execution environment in which a model runs - as opposed |
23 C | to the dynamical problem the model solves. |
24 C | Note: Many options are implemented with both compile time|
25 C | and run-time switches. This allows options to be |
26 C | removed altogether, made optional at run-time or |
27 C | to be permanently enabled. This convention helps |
28 C | with the data-dependence analysis performed by the |
29 C | adjoint model compiler. This data dependency |
30 C | analysis can be upset by runtime switches that it |
31 C | is unable to recoginise as being fixed for the |
32 C | duration of an integration. |
33 C | A reasonable way to use these flags is to |
34 C | set all options as selectable at runtime but then |
35 C | once an experimental configuration has been |
36 C | identified, rebuild the code with the appropriate |
37 C | options set at compile time. |
38 C *==========================================================*
39 CEOP
40
41 #ifndef _CPP_EEOPTIONS_H_
42 #define _CPP_EEOPTIONS_H_
43
44 C In general the following convention applies:
45 C ALLOW - indicates an feature will be included but it may
46 C CAN have a run-time flag to allow it to be switched
47 C on and off.
48 C If ALLOW or CAN directives are "undef'd" this generally
49 C means that the feature will not be available i.e. it
50 C will not be included in the compiled code and so no
51 C run-time option to use the feature will be available.
52 C
53 C ALWAYS - indicates the choice will be fixed at compile time
54 C so no run-time option will be present
55
56 C Flag used to indicate whether Fortran formatted write
57 C and read are threadsafe. On SGI the routines can be thread
58 C safe, on Sun it is not possible - if you are unsure then
59 C undef this option.
60 #undef FMTFTN_IO_THREADSAFE
61
62 C-- Control MPI based parallel processing
63 #undef ALLOW_USE_MPI
64 #undef ALWAYS_USE_MPI
65
66 C-- Control use of communication that might overlap computation.
67 C Under MPI selects/deselects "non-blocking" sends and receives.
68 #define ALLOW_ASYNC_COMMUNICATION
69 #undef ALLOW_ASYNC_COMMUNICATION
70 #undef ALWAYS_USE_ASYNC_COMMUNICATION
71 C-- Control use of communication that is atomic to computation.
72 C Under MPI selects/deselects "blocking" sends and receives.
73 #define ALLOW_SYNC_COMMUNICATION
74 #undef ALWAYS_USE_SYNC_COMMUNICATION
75
76 C-- Control use of JAM routines for Artic network
77 C These invoke optimized versions of "exchange" and "sum" that
78 C utilize the programmable aspect of Artic cards.
79 #undef LETS_MAKE_JAM
80 #undef JAM_WITH_TWO_PROCS_PER_NODE
81
82 C-- Control storage of floating point operands
83 C On many systems it improves performance only to use
84 C 8-byte precision for time stepped variables.
85 C Constant in time terms ( geometric factors etc.. )
86 C can use 4-byte precision, reducing memory utilisation and
87 C boosting performance because of a smaller working
88 C set size. However, on vector CRAY systems this degrades
89 C performance.
90 #define REAL4_IS_SLOW
91
92 C-- Control use of "double" precision constants.
93 C Use D0 where it means REAL*8 but not where it means REAL*16
94 #define D0 d0
95
96 C-- Control XY periodicity in processor to grid mappings
97 C Note: Model code does not need to know whether a domain is
98 C periodic because it has overlap regions for every box.
99 C Model assume that these values have been
100 C filled in some way.
101 #undef ALWAYS_PREVENT_X_PERIODICITY
102 #undef ALWAYS_PREVENT_Y_PERIODICITY
103 #define CAN_PREVENT_X_PERIODICITY
104 #define CAN_PREVENT_Y_PERIODICITY
105
106 #endif /* _CPP_EEOPTIONS_H_ */
107
108 #include "CPP_EEMACROS.h"

  ViewVC Help
Powered by ViewVC 1.1.22