File indexing completed on 2022-11-23 06:09:31 UTC
view on githubraw file Latest commit 20dee616 on 2022-11-22 15:45:38 UTC
20dee61641 Mart*0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
c6b6eaaf84 Jean*0018 #ifdef ALLOW_AUTODIFF_TAMC
0019
0020 These lines are here to deliberately cause a compile-time error.
0021 If you see these lines in your .f files or the compiler shows them
0022 as an error then it means you have not placed your customized "tamc.h"
0023 file in the appropriate place.
0024 You need to place you own copy of tamc.h in the include path for the
0025 model (e.g., where your SIZE.h is), and comment out these lines.
0026 In particular the parameters nchklev_1/2/3 (and possibly also maxpass
20dee61641 Mart*0027 and maxcube in case you are using seaice passive tracers or cubed sphere
0028 grid) need to be set correctly.
c6b6eaaf84 Jean*0029
0030
0031
0032
0033
0034
0035
0036
2dcaa8b9a5 Patr*0037
0038 #ifdef ALLOW_TAMC_CHECKPOINTING
0039
20dee61641 Mart*0040
0041
0042
0043 INTEGER nchklev_1
0044 PARAMETER( nchklev_1 = 5 )
0045 INTEGER nchklev_2
0046 PARAMETER( nchklev_2 = 2 )
0047 INTEGER nchklev_3
0048 PARAMETER( nchklev_3 = 3 )
0049 #ifdef AUTODIFF_4_LEVEL_CHECKPOINT
0050
0051 INTEGER nchklev_4
0052 PARAMETER( nchklev_4 = 1 )
0053 #endif
2dcaa8b9a5 Patr*0054
c6b6eaaf84 Jean*0055
20dee61641 Mart*0056
0057
2dcaa8b9a5 Patr*0058
0059 #else /* ALLOW_TAMC_CHECKPOINTING undefined */
0060
20dee61641 Mart*0061
0062
0063
0064 INTEGER nchklev_1
0065 PARAMETER( nchklev_1 = 1500 )
2dcaa8b9a5 Patr*0066
0067 #endif /* ALLOW_TAMC_CHECKPOINTING */
0068
c6b6eaaf84 Jean*0069
0070
0071
0072
20dee61641 Mart*0073
0074
2dcaa8b9a5 Patr*0075
20dee61641 Mart*0076 COMMON /TAMC_KEYS_I/ ikey_dynamics
0077 INTEGER ikey_dynamics
2dcaa8b9a5 Patr*0078
20dee61641 Mart*0079
0080
2dcaa8b9a5 Patr*0081 INTEGER isbyte
20dee61641 Mart*0082 PARAMETER( isbyte = 8 )
0083
1574069d50 Mart*0084
20dee61641 Mart*0085
529eea311c Gael*0086 #ifndef ALLOW_PTRACERS
67a1e439d8 Patr*0087 INTEGER maxpass
20dee61641 Mart*0088 PARAMETER( maxpass = 2 )
d1d6b963cf Patr*0089 #endif
1574069d50 Mart*0090
10d4db6918 Patr*0091 INTEGER maxcube
20dee61641 Mart*0092 PARAMETER( maxcube = 2 )
2dcaa8b9a5 Patr*0093
4e4cc59a1b Jean*0094 #ifdef ALLOW_CG2D_NSA
0095
0096
0097
0098 INTEGER numItersMax
0099 PARAMETER ( numItersMax = 100 )
0100 #endif
0101
c6b6eaaf84 Jean*0102 #endif /* ALLOW_AUTODIFF_TAMC */
0103
0104
0105