/[MITgcm]/MITgcm/verification/aim.5l_cs/code/CPP_EEOPTIONS.h
ViewVC logotype

Contents of /MITgcm/verification/aim.5l_cs/code/CPP_EEOPTIONS.h

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


Revision 1.1 - (show annotations) (download)
Mon Jun 18 17:40:06 2001 UTC (22 years, 9 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint46n_post, checkpoint51k_post, checkpoint47j_post, checkpoint40pre1, checkpoint48d_pre, checkpoint44b_post, checkpoint51j_post, branch-exfmods-tag, checkpoint46f_post, checkpoint47e_post, checkpoint43a-release1mods, checkpoint44h_pre, checkpoint47i_post, checkpoint44e_post, checkpoint52e_pre, release1_p12, release1_p13, release1_p10, release1_p11, release1_p16, release1_p17, release1_p14, release1_p15, checkpoint47f_post, checkpoint40pre9, checkpoint47c_post, checkpoint50e_post, release1_p13_pre, checkpoint50c_post, checkpoint46i_post, checkpoint51n_pre, checkpoint47d_post, checkpoint40pre3, checkpoint44f_pre, checkpoint47a_post, checkpoint46l_pre, checkpoint46d_pre, release1_beta1, checkpoint48e_post, checkpoint46e_post, checkpoint48d_post, checkpoint50g_post, release1-branch_tutorials, checkpoint46c_post, checkpoint44g_post, branchpoint-genmake2, checkpoint44h_post, checkpoint46l_post, checkpoint46k_post, checkpoint46e_pre, branch-netcdf, checkpoint48f_post, checkpoint45d_post, checkpoint51r_post, checkpoint52b_pre, checkpoint51o_pre, checkpoint46j_pre, checkpoint45b_post, checkpoint46b_pre, checkpoint51i_post, checkpoint40pre7, checkpoint48c_post, chkpt44a_pre, release1-branch-end, release1_final_v1, checkpoint51e_post, checkpoint51b_post, checkpoint46, checkpoint51l_pre, release1_p12_pre, checkpoint46c_pre, checkpoint43, checkpoint40, checkpoint41, checkpoint47d_pre, checkpoint47, checkpoint44, checkpoint45, checkpoint48, checkpoint49, checkpoint44f_post, checkpoint47b_post, checkpoint40pre2, checkpoint40pre5, checkpoint51l_post, checkpoint40pre6, checkpoint48i_post, checkpoint51o_post, checkpoint40pre8, checkpoint51f_pre, release1_b1, checkpoint48h_post, checkpoint51q_post, checkpoint50d_pre, chkpt44d_post, checkpoint46h_pre, checkpoint51, checkpoint50, checkpoint47h_post, checkpoint52, release1_p8, release1_p9, checkpoint50d_post, checkpoint52d_post, checkpoint46g_pre, release1_p2, release1_p3, release1_p4, checkpoint51b_pre, release1_p6, checkpoint52a_post, checkpoint46a_post, checkpoint47g_post, checkpoint52b_post, chkpt44a_post, checkpoint52f_post, checkpoint44b_pre, checkpoint52c_post, release1_p1, checkpoint46m_post, checkpoint46j_post, checkpoint40pre4, checkpoint51h_pre, checkpoint46a_pre, checkpoint50c_pre, checkpoint45c_post, checkpoint50b_pre, release1_p5, checkpoint44e_pre, checkpoint51g_post, ecco_c52_e35, release1_p7, checkpoint46b_post, checkpoint51f_post, checkpoint46d_post, checkpoint48b_post, checkpoint50b_post, checkpoint46g_post, checkpoint52e_post, checkpoint51c_post, checkpoint45a_post, checkpoint50f_post, checkpoint50a_post, checkpoint42, checkpoint50f_pre, checkpoint52a_pre, checkpoint51d_post, checkpoint48c_pre, release1-branch_branchpoint, checkpoint51m_post, checkpoint51t_post, checkpoint51a_post, checkpoint46h_post, checkpoint50e_pre, checkpoint50i_post, checkpoint51p_post, checkpoint51n_post, release1_chkpt44d_post, checkpoint48g_post, checkpoint51i_pre, chkpt44c_pre, checkpoint51u_post, checkpoint48a_post, checkpoint52f_pre, checkpoint51s_post, chkpt44c_post
Branch point for: netcdf-sm0, release1_final, branch-genmake2, release1, branch-exfmods-curt, release1_coupled, branch-nonh, tg2-branch, checkpoint51n_branch, release1-branch, release1_50yr
File MIME type: text/plain
Add to main branch of
  o CS atmos with AIM physics
  o Multi-threaded AIM physics for LatLon and CS tests
  o Tidied up monitor() output

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

  ViewVC Help
Powered by ViewVC 1.1.22