-
Notifications
You must be signed in to change notification settings - Fork 33
/
Makefile.in
332 lines (319 loc) · 20.9 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
#!/usr/bintenv bash
VPATH = @srcdir@
srcdir = @srcdir@
FC=@FC@
CC=@CC@
LDSHARED="@CC@ ${LDSHARED_FLAGS}"
CFLAGS=@CFLAGS@
CPPFLAGS=@CPPFLAGS@
CPPFLAGS_USER=""
USERFFLAGS=@USERFFLAGS@
#MODULE_SUFFIX="mod"
PREFIX=@prefix@
PYTHONPATH:=@prefix@/lib/python/site-packages:${PYTHONPATH}
DIR=$(shell echo ${PYTHONPATH} | cut -d: -f1)
FCFLAGS=@FCFLAGS@
PYTHONEXEC=@PYTHONEXEC@
NO_COLOR2=\x1b[0m
OK_COLOR2=\x1b[2;34m
NO_COLOR=${@NO_COLOR@}
OK_COLOR=${@OK_COLOR@}
USERCFLAGS=@USERCFLAGS@
NCCFLAGS=@NCCFLAGS@
ZFLAGS=@ZFLAGS@
JSONCFLAGS=@JSONCFLAGS@
UUIDFLAGS=@UUIDFLAGS@
UDUNITS2FLAGS=@UDUNITS2FLAGS@
NCLDFLAGS=@NCLDFLAGS@
ZLDFLAGS=@ZLDFLAGS@
JSONCLDFLAGS=@JSONCLDFLAGS@
UUIDLDFLAGS=@UUIDLDFLAGS@
UDUNITS2LDFLAGS=@UDUNITS2LDFLAGS@
RTAG=@RTAG@
FTAG=@FTAG@
FNCLDFLAGS=@NCLDFLAGS@
FZLDFLAGS=@ZLDFLAGS@
FJSONCLDFLAGS=@JSONCLDFLAGS@
FUUIDLDFLAGS=@UUIDLDFLAGS@
FUDUNITS2LDFLAGS=@UDUNITS2LDFLAGS@
DEBUG=@DEBUG@
VERB=@VERB@
MACROS=@MACROS@
# Library name
LIBNAME=libcmor.a
# Library sources
LIBSOURCES=@LIBSOURCES@
LIBSOURCESCV=@LIBSOURCESCV@
LIBFSOURCES=@LIBFSOURCES@
LIBFILES=@LIBFILES@
#Include Files
INCFILES=@INCFILES@
# Temporary Files
TMPFILES=*~ $(LIBFILES) *.mod a.out *.stb Test/*.nc Test/IPCC_Fourth_Assessment *.LOG* *.dSYM Test/IPCC Test/CMIP5 CMIP5
DISTFILES=libcmor.a
DEPEND= makedepend -c ${DEBUG} ${CFLAGS} ${USERCFLAGS} ${NCCFLAGS} ${UDUNITS2FLAGS} ${JSONCFLAGS} ${UUIDFLAGS} ${ZFLAGS}
UNAME := $(shell uname)
CCOMPILE=${CC} -c ${DEBUG} ${MACROS} ${CPPFLAGS} ${CFLAGS} ${USERCFLAGS} \
${NCCFLAGS} ${UDUNITS2FLAGS} ${JSONCFLAGS} ${UUIDFLAGS} ${ZFLAGS}
all: cmor
@echo
depend: $(LIBSOURCES)
${DEPEND} $(LIBSOURCES)
cmor.o: Src/cmor.c include/cmor.h include/cmor_func_def.h
${CCOMPILE} $<
cmor_variables.o: Src/cmor_variables.c include/cmor.h include/cmor_func_def.h
${CCOMPILE} $<
cmor_axes.o: Src/cmor_axes.c include/cmor.h include/cmor_func_def.h
${CCOMPILE} $<
cmor_tables.o: Src/cmor_tables.c include/cmor.h include/cmor_func_def.h
${CCOMPILE} $<
cmor_grids.o: Src/cmor_grids.c include/cmor.h include/cmor_func_def.h
${CCOMPILE} $<
cmor_CV.o: Src/cmor_CV.c include/cmor.h include/cmor_func_def.h
${CCOMPILE} $<
cmor_md5.o: Src/cmor_md5.c include/cmor.h include/cmor_func_def.h \
include/cmor_md5.h
${CCOMPILE} $<
cmor_cfortran_interface.o: Src/cmor_cfortran_interface.c include/cmor.h \
include/cmor_func_def.h
${CCOMPILE} $<
cdTimeConv.o: Src/cdTime/cdTimeConv.c include/cmor.h include/cmor_func_def.h
${CCOMPILE} $<
cdUtil.o: Src/cdTime/cdUtil.c include/cmor.h include/cmor_func_def.h
${CCOMPILE} $<
timeConv.o: Src/cdTime/timeConv.c include/cmor.h include/cmor_func_def.h
${CCOMPILE} $<
timeArith.o: Src/cdTime/timeArith.c include/cmor.h include/cmor_func_def.h
${CCOMPILE} $<
cmor_fortran_interface.o: Src/cmor_fortran_interface.f90
${FC} -c ${FCFLAGS} ${USERFFLAGS} ${DEBUG} ${MACROS} $<
cmor: $(LIBFILES) @MAKEDEPPYTHON@
@ar crv $(LIBNAME) $(LIBFILES)
@ranlib $(LIBNAME)
clean:
@echo "Cleaning [$(WHEREAMI)] ..."
@rm -rf $(TMPFILES)
distclean: clean
@echo "Completely cleaning [$(WHEREAMI)]..."
@rm -f $(DISTFILES)
install: cmor
mkdir -p ${PREFIX}/lib
mkdir -p ${PREFIX}/include
mkdir -p ${PREFIX}/include/cdTime
mkdir -p ${PREFIX}/include/cdTime/cdunifpp
cp -p $(LIBNAME) ${PREFIX}/lib
cp -pr $(srcdir)/include/*.h @MODFILES@ ${PREFIX}/include
cp -pr $(srcdir)/include/cdTime/*.h ${PREFIX}/include/cdTime
cp -pr $(srcdir)/include/cdTime/cdunifpp/*.h ${PREFIX}/include/cdTime/cdunifpp
uninstall: distclean
rm ${PREFIX}/lib/$(LIBNAME)
cd ${PREFIX} ; rm $(INCFILES)
backup: clean
@echo "Creating full backup tar file..."
@(cd ..; \
@TGZNAME=$(TGZDIR)/cmor_`$(TIMESTAMP)`_full.tgz; \
@tar cfz $$TGZNAME Cmor; \
@touch $(TIMESTAMPDIR)/cmor_`$(TIMESTAMP)`_full.time; \
@echo "Full backup tar file created : $$TGZNAME")
test: cmor test_C @TEST_FORTRAN@ test_python test_cmip6_cv
@echo "All C, Fortran, and Python tests passed successfully"
test_C: cmor
mkdir -p test_bin
rm -f test_bin/ipcc_test_code ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/ipcc_test_code.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ @LDFLAGS@ -o test_bin/ipcc_test_code @VERB@; ./test_bin/ipcc_test_code @VERB@
rm -f test_bin/test_singletons ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/test_singletons.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ @LDFLAGS@ -o test_bin/test_singletons @VERB@; ./test_bin/test_singletons @VERB@
rm -f test_bin/test_grid ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/test_grid.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ -o test_bin/test_grid @LDFLAGS@ @VERB@; ./test_bin/test_grid @VERB@;
rm -f test_bin/test_grid_unstructured ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/test_cmor_grid_unstructured_fabi.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ -o test_bin/test_grid_unstructured @LDFLAGS@ @VERB@; ./test_bin/test_grid_unstructured @VERB@;
rm -f test_bin/test_grid_unstructured_3d ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/test_cmor_grid_unstructured_3d_fabi.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ -o test_bin/test_grid_unstructured_3d @LDFLAGS@ @VERB@; ./test_bin/test_grid_unstructured_3d @VERB@;
rm -f test_bin/test_cat_unique ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/test_unit_cat_unique.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ @LDFLAGS@ -o test_bin/test_unit_cat_unique @VERB@; ./test_bin/test_unit_cat_unique @VERB@;
rm -f test_bin/test_cmor_append_associated ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/test_cmor_append_associated.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ @LDFLAGS@ -o test_bin/test_cmor_append_associated @VERB@; ./test_bin/test_cmor_append_associated @VERB@;
rm -f test_bin/test_cmor_append_associated_point ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/test_cmor_append_associated_point.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ @LDFLAGS@ -o test_bin/test_cmor_append_associated_point @VERB@; ./test_bin/test_cmor_append_associated_point @VERB@;
rm -f test_bin/test_cmor_singleton_and_generic ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/test_cmor_singleton_and_generic.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ @LDFLAGS@ -o test_bin/test_cmor_singleton_and_generic @VERB@; ./test_bin/test_cmor_singleton_and_generic @VERB@;
rm -f test_bin/test_cmor_nwdFracLut ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/test_cmor_nwdFracLut.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ @LDFLAGS@ -o test_bin/test_cmor_nwdFracLut @VERB@; ./test_bin/test_cmor_nwdFracLut @VERB@;
rm -f test_bin/test_cmor_depth_coord_half ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/test_cmor_depth_coord_half.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ @LDFLAGS@ -o test_bin/test_cmor_depth_coord_half @VERB@; ./test_bin/test_cmor_depth_coord_half @VERB@;
rm -f test_bin/test_sdepth1_float ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/test_sdepth1_float.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ @LDFLAGS@ -o test_bin/test_sdepth1_float @VERB@; ./test_bin/test_sdepth1_float @VERB@;
ifeq ($(UNAME), Linux)
rm -f test_bin/test_lots_of_variables ; @CC@ @CFLAGS@ @USERCFLAGS@ @CPPFLAGS@ Test/test_lots_of_variables.c -L@prefix@/lib -I@prefix@/include -L. -lcmor @NCCFLAGS@ @NCLDFLAGS@ @UDUNITS2LDFLAGS@ @UDUNITS2FLAGS@ @JSONCLDFLAGS@ @JSONCFLAGS@ @UUIDLDFLAGS@ @UUIDFLAGS@ @LDFLAGS@ -o test_bin/test_lots_of_variables @VERB@; ./test_bin/test_lots_of_variables @VERB@;
# do something Linux-y
endif
python:
@echo "Building Python interface"
LDSHARED=${LDSHARED} ${PYTHONEXEC} -m pip install --no-deps $(srcdir)
test_a_python:
@echo "${OK_COLOR}Testing ${TEST_NAME} ${NO_COLOR}"
${PYTHONEXEC} ${TEST_NAME} ${VERB}
test_python: python
env TEST_NAME=Test/test_non_monotonic_climo_bounds.py make test_a_python
# [missing] env TEST_NAME=Test/test_python_climatology.py make test_a_python
env TEST_NAME=Test/test_python_history.py make test_a_python
# [missing] env TEST_NAME=Test/test_python_historydefault.py make test_a_python
# [missing] env TEST_NAME=Test/test_python_test_write.py make test_a_python
env TEST_NAME=Test/test_python_missing_values.py make test_a_python
env TEST_NAME=Test/test_python_history.py make test_a_python
env TEST_NAME=Test/test_python_sos_psu_units.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_projections.py make test_a_python
env TEST_NAME=Test/test_python_toomany_tables.py make test_a_python
env TEST_NAME=Test/test_chunking.py make test_a_python
env TEST_NAME=Test/test_python_direct_calls.py make test_a_python
env TEST_NAME=Test/test_python_user_interface_00.py make test_a_python
env TEST_NAME=Test/test_python_user_interface_01.py make test_a_python
env TEST_NAME=Test/test_python_user_interface_03.py make test_a_python
env TEST_NAME=Test/test_python_common.py make test_a_python
env TEST_NAME=Test/cmor_speed_and_compression.py make test_a_python
env TEST_NAME=Test/cmor_speed_and_compression_01.py make test_a_python
# @env TEST_NAME=Test/cmor_speed_and_compression_02.py make test_a_python
env TEST_NAME=Test/test_compression.py make test_a_python
env TEST_NAME=Test/test_python_appending.py make test_a_python
env TEST_NAME=Test/test_python_bounds_request.py make test_a_python
env TEST_NAME=Test/test_python_new_tables.py make test_a_python
# @env TEST_NAME=Test/test_python_index_coord.py make test_a_python
env TEST_NAME=Test/test_python_jamie.py make test_a_python
env TEST_NAME=Test/test_python_jamie_2.py make test_a_python
env TEST_NAME=Test/test_python_jamie_3.py make test_a_python
env TEST_NAME=Test/test_python_jamie_4.py make test_a_python
env TEST_NAME=Test/test_python_jamie_6.py make test_a_python
env TEST_NAME=Test/test_python_jamie_7.py make test_a_python
env TEST_NAME=Test/test_python_jamie_8.py make test_a_python
env TEST_NAME=Test/test_python_memory_check.py make test_a_python
env TEST_NAME=Test/test_python_open_close_cmor_multiple.py make test_a_python
env TEST_NAME=Test/test_python_jamie_7.py make test_a_python
# env TEST_NAME=Test/test_python_joerg_1.py make test_a_python
env TEST_NAME=Test/test_python_joerg_2.py make test_a_python
env TEST_NAME=Test/test_python_joerg_3.py make test_a_python
# env TEST_NAME=Test/test_python_joerg_4.py make test_a_python
env TEST_NAME=Test/test_python_joerg_5.py make test_a_python
env TEST_NAME=Test/test_python_joerg_6.py make test_a_python
env TEST_NAME=Test/test_python_joerg_7.py make test_a_python
env TEST_NAME=Test/test_python_joerg_8.py make test_a_python
# @env TEST_NAME=Test/test_python_joerg_9.py make test_a_python
# env TEST_NAME=Test/test_python_joerg_10.py make test_a_python
env TEST_NAME=Test/test_python_joerg_11.py make test_a_python
env TEST_NAME=Test/test_python_joerg_12.py make test_a_python
env TEST_NAME=Test/test_python_YYYMMDDHH_exp_fmt.py make test_a_python
env TEST_NAME=Test/test_python_region.py make test_a_python
env TEST_NAME=Test/jamie_hybrid_height.py make test_a_python
env TEST_NAME=Test/jamie_positive.py make test_a_python
env TEST_NAME=Test/test_python_1D_var.py make test_a_python
# env TEST_NAME=Test/test_python_3hr.py make test_a_python
env TEST_NAME=Test/test_python_YYYMMDDHH_exp_fmt.py make test_a_python
# @env TEST_NAME=Test/test_python_alastair_1.py make test_a_python
env TEST_NAME=Test/test_python_cfmip_site_axis_test.py make test_a_python
# env TEST_NAME=Test/test_python_fx.py make test_a_python
env TEST_NAME=Test/test_python_grid_and_ocn_sigma.py make test_a_python
env TEST_NAME=Test/test_python_jamie_site_surface.py make test_a_python
# env TEST_NAME=Test/test_python_max_variables.py make test_a_python
# env TEST_NAME=Test/test_python_max_variables_2.py make test_a_python
env TEST_NAME=Test/test_python_reverted_lats.py make test_a_python
env TEST_NAME=Test/test_lon_gt_360.py make test_a_python
env TEST_NAME=Test/test_lon_thro_360.py make test_a_python
env TEST_NAME=Test/test_python_jamie_11.py make test_a_python
env TEST_NAME=Test/test_python_joerg_tim2_clim_02.py make test_a_python
env TEST_NAME=Test/test_site_ts.py make test_a_python
env TEST_NAME=Test/test_python_free_wrapping_issue.py make test_a_python
env TEST_NAME=Test/test_python_filename_time_range.py make test_a_python
env TEST_NAME=Test/test_cmor_half_levels.py make test_a_python
env TEST_NAME=Test/test_cmor_half_levels_wrong_generic_level.py make test_a_python
env TEST_NAME=Test/test_cmor_python_not_enough_data.py make test_a_python
env TEST_NAME=Test/test_cmor_python_not_enough_times_written.py make test_a_python
env TEST_NAME=Test/test_python_forecast_coordinates.py make test_a_python
env TEST_NAME=Test/test_cmor_CMIP6Plus.py make test_a_python
env TEST_NAME=Test/test_cmor_zstandard_and_quantize.py make test_a_python
test_cmip6_cv: python
env TEST_NAME=Test/test_python_CMIP6_CV_sub_experimentnotset.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_sub_experimentbad.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_furtherinfourl.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_badfurtherinfourl.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_fxtable.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_unicode.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_forcemultipleparent.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_badsource.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_parentvariantlabel.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_nomipera.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_badgridgr.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_badinstitution.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_badsourcetype.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_badsourceid.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_badgridresolution.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_terminate_signal.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_trackingprefix.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_parentmipera.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_bad_data_specs.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_longrealizationindex.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_sub_experimentIDbad.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_badsourcetypeCHEMAER.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_parentsourceid.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_hierarchicalattr.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_badsourcetypeRequired.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_forcenoparent.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_load_tables.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_sub_experiment_id.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_badvariant.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_baddirectory.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_trackingNoprefix.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_HISTORY.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_parenttimeunits.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_invalidsourceid.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_forceparent.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_externalvariables.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_badinstitutionID.py make test_a_python
env TEST_NAME=Test/test_python_CMIP6_CV_badgridlabel.py make test_a_python
test_python_2gb: python
env TEST_NAME=Test/test_python_2Gb_file.py make test_a_python
env TEST_NAME=Test/test_python_2Gb_slice.py make test_a_python
test_case:
@echo "${OK_COLOR}Testing: "${TEST_NAME}" with input file: ${INPUT_FILE}${NO_COLOR}"
@rm -f ./${TEST_NAME} 2>/dev/null ; ${FC} ${USERFFLAGS} ${FCFLAGS} ${DEBUG} Test/${TEST_NAME}.f90 -L${PREFIX}/lib -L. -lcmor ${NCCFLAGS} ${FNCLDFLAGS} ${FUDUNITS2LDFLAGS} ${UDUNITS2FLAGS} ${FJSONCLDFLAGS} ${JSONCFLAGS} ${FUUIDLDFLAGS} ${UUIDFLAGS} ${ZFLAGS} ${FZLDFLAGS} -o ${TEST_NAME} ;
@./${TEST_NAME} ${VERB} < ${INPUT_FILE} ;
@ rm ./${TEST_NAME}
ifeq (@MAKEDEPPYTHON@,python)
@env TEST_NAME="Test/check_results.py ${TEST_NAME}" make test_a_python
endif
test_fortran: cmor
env TEST_NAME="CMIP6_sample_CMOR_driver" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_cmor_fx_basin" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_any_from_asc" INPUT_FILE="Test/tas_3D_noreorder.input" make test_case
env TEST_NAME="test_any_from_asc" INPUT_FILE="Test/3D_txy.input" make test_case
env TEST_NAME="test_any_from_asc" INPUT_FILE="Test/3D_txy_split_lon.input" make test_case
env TEST_NAME="test_any_from_asc" INPUT_FILE="Test/3D_xty_split_lon.input" make test_case
env TEST_NAME="test_any_from_asc_d" INPUT_FILE="Test/tas_3D_noreorder.input" make test_case
env TEST_NAME="test_any_from_asc_d" INPUT_FILE="Test/3D_txy.input" make test_case
env TEST_NAME="test_any_from_asc_d" INPUT_FILE="Test/3D_txy_split_lon.input" make test_case
env TEST_NAME="test_any_from_asc_d" INPUT_FILE="Test/3D_xty_split_lon.input" make test_case
env TEST_NAME="karls_test" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test1" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test2" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test3" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test4" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="main_prog" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_any_from_asc_i" INPUT_FILE="Test/tas_mytest_3d_i.input" make test_case
env TEST_NAME="mytest_4d_r" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="rewrite_harvardf_data" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_3h" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_dimensionless" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_fortran_example_00" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_fortran_example_01" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_station_data" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_cmor_grid_alejandro" INPUT_FILE="Test/alejandro.txt" make test_case
env TEST_NAME="test_cmor_grid_alejandro" INPUT_FILE="Test/alejandro_1.txt" make test_case
env TEST_NAME="test_cmor_grid_alejandro" INPUT_FILE="Test/alejandro_2.txt" make test_case
env TEST_NAME="test_cmor_grid_time_varying" INPUT_FILE="Test/alejandro.txt" make test_case
env TEST_NAME="test_cmor_grid_time_varying" INPUT_FILE="Test/alejandro_1.txt" make test_case
env TEST_NAME="test_region" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_sigma" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_singleton" INPUT_FILE="Test/noinput" make test_case
#@env TEST_NAME="test_singleton_5D_tas" INPUT_FILE="Test/noinput" make test_case_old_cmor_tables
env TEST_NAME="mytest_4d_r_big_array" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="mytest_4d_d_big_array_2" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="mytest_4d_d_big_array_3" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="mytest_4d_d_big_array_4" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="mytest_4d_d_big_array_5" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="climatology_test_code" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_shrt_exp_nm_set_att_initi" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="test_sophie" INPUT_FILE="Test/noinput" make test_case
env TEST_NAME="ipcc_test_code" INPUT_FILE="Test/noinput" make test_case
ifeq ($(UNAME), Linux)
env TEST_NAME="test_lots_of_variables" INPUT_FILE="Test/noinput" make test_case
endif
atest: cmor
# @env TEST_NAME="mytest_4d_d_big_array_2" INPUT_FILE="Test/noinput" make test_case
@env TEST_NAME="test_lots_of_variables" INPUT_FILE="Test/noinput" make test_case
# @env TEST_NAME="wegner_test" INPUT_FILE="Test/noinput" make test_case