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
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
| all: check 3D-tests mpi-tests load-balancing curvature-tests \
axi-tests cadna-tests embed-tests multilayer-tests \
multilayer-stratified gotm-tests dimensions-tests
failed:
$(MAKE) -k `find . -name fail | sed -e 's|\./||g' -e 's|/fail|.tst|g'`
# the default CFLAGS are set in ../config
CFLAGS += -O2 -DMTRACE=3
# list only non-default tests
check: halo.vtst interpolate.vtst events.vtst faces.vtst coarsen.vtst \
lid-restore.tst poiseuille.vtst tag.ctst
# these tests have special dependencies/compilation requirements
basilisk.tst: basilisk.gnu
basilisk.tst: CFLAGS += -DDEBUG=1
boundaries3.tst: boundaries3.ctst
bubble-spherical.c: bubble.c
ln -s bubble.c bubble-spherical.c
bubble-spherical.s: CFLAGS += -grid=multigrid1D -DSPHERICAL=1
bubble-spherical.tst: CFLAGS += -grid=multigrid1D -DSPHERICAL=1
collapse-inviscid.c: collapse.c
ln -s collapse.c collapse-inviscid.c
collapse-inviscid.s: CFLAGS += -DINVISCID=1
collapse-inviscid.tst: CFLAGS += -DINVISCID=1
collapse-spherical.c: collapse.c
ln -s collapse.c collapse-spherical.c
collapse-spherical.s: CFLAGS += -grid=multigrid1D -DSPHERICAL=1
collapse-spherical.tst: CFLAGS += -grid=multigrid1D -DSPHERICAL=1
collapse.tst: collapse-spherical.tst collapse-inviscid.tst
dry-explicit.c: dry.c
ln -s dry.c dry-explicit.c
dry-explicit.s: CFLAGS += -DEXPLICIT=1
dry-explicit.tst: CFLAGS += -DEXPLICIT=1
dry.tst: dry-explicit.tst
drybump-explicit.c: drybump.c
ln -s drybump.c drybump-explicit.c
drybump-explicit.s: CFLAGS += -DEXPLICIT=1
drybump-explicit.tst: CFLAGS += -DEXPLICIT=1
drybump.tst: drybump-explicit.tst
drybump2D-implicit.c: drybump2D.c
ln -s drybump2D.c drybump2D-implicit.c
drybump2D-implicit.s: CFLAGS += -DIMPLICIT=1
drybump2D-implicit.tst: CFLAGS += -DIMPLICIT=1
drybump2D.tst: drybump2D-implicit.tst
lake-tr.tst: lake-tr-explicit.tst lake-tr-ml.tst
lake-tr-explicit.c: lake-tr.c
ln -s lake-tr.c lake-tr-explicit.c
lake-tr-explicit.s: CFLAGS += -DEXPLICIT=1
lake-tr-explicit.tst: CFLAGS += -DEXPLICIT=1
lake-tr-ml.c: lake-tr.c
ln -s lake-tr.c lake-tr-ml.c
lake-tr-ml.s: CFLAGS += -DML=1
lake-tr-ml.tst: CFLAGS += -DML=1
multiriverinflow.tst: multiriverinflow.ctst
multiriverinflow.tst: CFLAGS += -fopenmp
multiriverinflow.ctst: CFLAGS += -fopenmp
parabola-explicit.c: parabola.c
ln -s parabola.c parabola-explicit.c
parabola-explicit.s: CFLAGS += -DEXPLICIT=1
parabola-explicit.tst: CFLAGS += -DEXPLICIT=1
parabola.tst: parabola-explicit.tst parabola-ml.tst
seawallsv.c: seawall.c
ln -s seawall.c seawallsv.c
seawallsv.s: CFLAGS += -DSAINT_VENANT=1
seawallsv.tst: CFLAGS += -DSAINT_VENANT=1
seawall.tst: seawallsv.tst seawall-ml.tst
conicalsv.c: conical.c
ln -s conical.c conicalsv.c
conicalsv.s: CFLAGS += -DSAINT_VENANT=1
conicalsv.tst: CFLAGS += -DSAINT_VENANT=1
conical-implicit.c: conical.c
ln -s conical.c conical-implicit.c
conical-implicit.s: CFLAGS += -DSAINT_VENANT=1 -DIMPLICIT=1
conical-implicit.tst: CFLAGS += -DSAINT_VENANT=1 -DIMPLICIT=1
conical.tst: conicalsv.tst conical-implicit.tst conical-ml.tst
curvature.tst: curvature.3D.tst
explicit.c: implicit.c
ln -s implicit.c explicit.c
explicit.s: CFLAGS += -DEXPLICIT=1
explicit.tst: CFLAGS += -DEXPLICIT=1
explicit-ml.c: implicit.c
ln -s implicit.c explicit-ml.c
explicit-ml.s: CFLAGS += -DML=1 -DEXPLICIT=1
explicit-ml.tst: CFLAGS += -DML=1 -DEXPLICIT=1
implicit-ml.c: implicit.c
ln -s implicit.c implicit-ml.c
implicit-ml.s: CFLAGS += -DML=1
implicit-ml.tst: CFLAGS += -DML=1
implicit.tst: explicit.tst explicit-ml.tst implicit-ml.tst
bore.tst: bore1.tst
explosion3D.tst: CFLAGS=-grid=multigrid3D
explosion3D.c: explosion.c
ln -s explosion.c explosion3D.c
explosion.tst: explosion.ctst explosion.3D.tst explosion3D.tst
laplacian.tst: laplacian.ctst
lidmac.c: lid.c
ln -s lid.c lidmac.c
lidmac.s: CFLAGS += -DMAC=1
lidmac.tst: CFLAGS += -DMAC=1
lid.tst: lidmac.tst
lid-restore.c: lid.c
ln -s lid.c lid-restore.c
lid-restore.dump: lid.tst
rm -f lid-restore.dump; ln -s lid/dump lid-restore.dump
lid-restore.tst: lid-restore.dump
oscillation-compressible.c: oscillation.c
ln -s oscillation.c oscillation-compressible.c
oscillation-compressible.s: CFLAGS += -DCOMPRESSIBLE=1
oscillation-compressible.tst: CFLAGS += -DCOMPRESSIBLE=1
oscillation-momentum.c: oscillation.c
ln -s oscillation.c oscillation-momentum.c
oscillation-momentum.s: CFLAGS += -DMOMENTUM=1
oscillation-momentum.tst: CFLAGS += -DMOMENTUM=1
oscillation.tst: oscillation-momentum.tst oscillation-compressible.tst
ponds-implicit.c: ponds.c
ln -s ponds.c ponds-implicit.c
ponds-implicit.s: CFLAGS += -DIMPLICIT=1
ponds-implicit.tst: CFLAGS += -DIMPLICIT=1
ponds.tst: ponds-implicit.tst
poiseuille-fenep.c: poiseuille-oldroydb.c
ln -s poiseuille-oldroydb.c poiseuille-fenep.c
poiseuille-fenep.s: CFLAGS += -DFENE_P=1
poiseuille-fenep.tst: CFLAGS += -DFENE_P=1
poiseuille-oldroydb.tst: poiseuille-fenep.tst
poisson.tst: poisson.ctst
rising-axi.c: rising.c
ln -s rising.c rising-axi.c
rising-axi.s: CFLAGS += -DAXIS=1
rising-axi.tst: CFLAGS += -DAXIS=1
rising-axi-momentum.c: rising.c
ln -s rising.c rising-axi-momentum.c
rising-axi-momentum.s: CFLAGS += -DAXIS=1 -DMOMENTUM=1
rising-axi-momentum.tst: CFLAGS += -DAXIS=1 -DMOMENTUM=1
rising-axi-clsvof.c: rising.c
ln -s rising.c rising-axi-clsvof.c
rising-axi-clsvof.s: CFLAGS += -DAXIS=1 -DLEVELSET=1 -DCLSVOF=1
rising-axi-clsvof.tst: CFLAGS += -DAXIS=1 -DLEVELSET=1 -DCLSVOF=1
rising2.c: rising.c
ln -s rising.c rising2.c
rising2.s: CFLAGS += -DCASE2=1
rising2.tst: CFLAGS += -DCASE2=1
rising2-levelset.c: rising.c
ln -s rising.c rising2-levelset.c
rising2-levelset.s: CFLAGS += -DCASE2=1 -DLEVELSET=1
rising2-levelset.tst: CFLAGS += -DCASE2=1 -DLEVELSET=1
rising2-clsvof.c: rising.c
ln -s rising.c rising2-clsvof.c
rising2-clsvof.s: CFLAGS += -DCASE2=1 -DLEVELSET=1 -DCLSVOF=1
rising2-clsvof.tst: CFLAGS += -DCASE2=1 -DLEVELSET=1 -DCLSVOF=1
rising-reduced.c: rising.c
ln -s rising.c rising-reduced.c
rising-reduced.s: CFLAGS += -DREDUCED=1
rising-reduced.tst: CFLAGS += -DREDUCED=1
rising-levelset.c: rising.c
ln -s rising.c rising-levelset.c
rising-levelset.s: CFLAGS += -DLEVELSET=1
rising-levelset.tst: CFLAGS += -DLEVELSET=1
rising-clsvof.c: rising.c
ln -s rising.c rising-clsvof.c
rising-clsvof.s: CFLAGS += -DLEVELSET=1 -DCLSVOF=1
rising-clsvof.tst: CFLAGS += -DLEVELSET=1 -DCLSVOF=1
reversed.tst: reversed.ctst
rotate.tst: rotate.ctst
rt-reduced.c: rt.c
ln -s rt.c rt-reduced.c
rt-reduced.s: CFLAGS += -DREDUCED=1
rt-reduced.tst: CFLAGS += -DREDUCED=1
taylor-green-all-mach.c: taylor-green.c
ln -s taylor-green.c taylor-green-all-mach.c
taylor-green-all-mach.s: CFLAGS += -DALL_MACH=1
taylor-green-all-mach.tst: CFLAGS += -DALL_MACH=1
taylor-green.tst: taylor-green-all-mach.tst
view.tst: CC = mpicc -D_MPI=4
view.tst: view.3D.tst
view.3D.tst: CC = mpicc -D_MPI=4
coarsen.vtst: CFLAGS = -DMTRACE=3 -progress
# Axisymmetric tests
axi-tests: axiadvection.tst axi.tst poiseuille-axi.tst \
rising-axi.tst rising-axi-momentum.tst
# 3D tests
3D-tests: circle.3D.tst curvature.3D.tst hf.3D.tst periodic.3D.tst \
poisson.3D.tst refineu.3D.tst solenoidal.3D.tst
# Curvature tests
curvature-tests: hf.tst hf3D.tst hf.ctst hf.3D.tst hf1.tst hf-mask.tst \
curvature.tst curvature.3D.tst
hf-mask.tst: CFLAGS += -DTRASH=1
# Multilayer tests
multilayer-tests: dispersion-gn.tst dispersion.tst \
beach-ml.tst seawall-ml.tst conical-ml.tst \
bar-ml.tst parabola-ml.tst lonlat-ml.tst \
wind-driven-nh.tst wind-driven.tst large.tst \
gaussian-stvt.tst gaussian-hydro.tst gaussian.tst \
stokes-ns.tst stokes.tst ponds-ml.tst \
galilean_invariance.tst \
stommel-ml.tst explicit-ml.tst implicit-ml.tst lake-tr-ml.tst \
geo.tst nonlinear-ml.tst tsunami.tst
multilayer-stratified: horn.tst lock.tst overflow.tst kh.tst
overflow.tst: overflow-isopycnal.tst
overflow-isopycnal.c: overflow.c
ln -s overflow.c overflow-isopycnal.c
overflow-isopycnal.s: CFLAGS += -DISOPYCNAL=1
overflow-isopycnal.tst: CFLAGS += -DISOPYCNAL=1
kh.tst: kh-ns.tst kh-hydro.tst
kh-ns.tst: CC = mpicc -D_MPI=8
kh-hydro.c: kh.c
ln -s kh.c kh-hydro.c
kh-hydro.s: CFLAGS += -DHYDRO=1
kh-hydro.tst: CFLAGS += -DHYDRO=1
dispersion-gn.c: dispersion.c
ln -s dispersion.c dispersion-gn.c
dispersion-gn.tst: dispersion-gn.s
dispersion.tst: CFLAGS += -DML=1
bar-ml.c: bar.c
ln -s bar.c bar-ml.c
bar-ml.s: CFLAGS += -DML=1
bar-ml.tst: CFLAGS += -DML=1
wind-driven-nh.c: wind-driven.c
ln -s wind-driven.c wind-driven-nh.c
wind-driven-nh.s: CFLAGS += -DML=1 -DNH=1
wind-driven-nh.tst: CFLAGS += -DML=1 -DNH=1
wind-driven-stvt.c: wind-driven.c
ln -s wind-driven.c wind-driven-stvt.c
wind-driven.s: CFLAGS += -DML=1
wind-driven.tst: CFLAGS += -DML=1
large.tst: large-ns.tst
gaussian-hydro.c: gaussian.c
ln -s gaussian.c gaussian-hydro.c
gaussian-hydro.s: CFLAGS += -DML=1 -DHYDRO=1
gaussian-hydro.tst: CFLAGS += -DML=1 -DHYDRO=1
gaussian-nometric.c: gaussian.c
ln -s gaussian.c gaussian-nometric.c
gaussian-nometric.s: CFLAGS += -DML=1 -DNOMETRIC=1
gaussian-nometric.tst: CFLAGS += -DML=1 -DNOMETRIC=1
gaussian-stvt.c: gaussian.c
ln -s gaussian.c gaussian-stvt.c
gaussian-stvt.tst: gaussian-stvt.s
gaussian.s: CFLAGS += -DML=1
gaussian.tst: CFLAGS += -DML=1
parabola-ml.c: parabola.c
ln -s parabola.c parabola-ml.c
parabola-ml.s: CFLAGS += -DML=1
parabola-ml.tst: CFLAGS += -DML=1
seawall-ml.c: seawall.c
ln -s seawall.c seawall-ml.c
seawall-ml.s: CFLAGS += -DML=1
seawall-ml.tst: CFLAGS += -DML=1
beach-ml.c: beach.c
ln -s beach.c beach-ml.c
beach-ml.s: CFLAGS += -DML=1
beach-ml.tst: CFLAGS += -DML=1
conical-ml.c: conical.c
ln -s conical.c conical-ml.c
conical-ml.s: CFLAGS += -DML=1
conical-ml.tst: CFLAGS += -DML=1
lonlat-ml.c: lonlat.c
ln -s lonlat.c lonlat-ml.c
lonlat-ml.s: CFLAGS += -DML=1
lonlat-ml.tst: CFLAGS += -DML=1
ponds-ml.c: ponds.c
ln -s ponds.c ponds-ml.c
ponds-ml.tst: ponds.s
ponds-ml.tst: CFLAGS += -DML=1
stommel-ml.tst: CFLAGS += -DML=1
nonlinear.tst: nonlinear-ml.tst
nonlinear-ml.c: nonlinear.c
ln -s nonlinear.c nonlinear-ml.c
nonlinear-ml.s: CFLAGS += -DML=1
nonlinear-ml.tst: CFLAGS += -DML=1
shockwave.tst: CFLAGS += -grid=bitree
shockwave.ctst: CFLAGS += -grid=multigrid1D
shockwave.tst: shockwave.ctst
shrinking-axi.c: shrinking.c
ln -s shrinking.c shrinking-axi.c
shrinking-axi.s: CFLAGS += -DAXIS=1 -grid=quadtree
shrinking-axi.tst: CFLAGS += -DAXIS=1 -grid=quadtree
shrinking.s: CFLAGS += -grid=multigrid1D
shrinking.tst: CFLAGS += -grid=multigrid1D
shrinking.tst: shrinking-axi.tst
## MPI tests
# bump2Dp.tst crashes with -DDEBUGCOND=1 but works with -DDEBUGCOND=0
mpi-tests: indexing.tst indexing.3D.tst \
mpi-restriction.tst mpi-restriction.3D.tst \
mpi-reduce.tst openmp-reduce.tst \
mpi-refine.tst mpi-refine1.tst mpi-refine.3D.tst \
mpi-laplacian.tst mpi-laplacian.3D.tst \
mpi-circle.tst mpi-circle1.tst mpi-flux.tst \
mpi-interpu.tst mpi-coarsen.tst mpi-coarsen1.tst \
hf1.tst pdump.tst restore.tst \
pdump-multigrid.tst restore-multigrid.tst \
restore-tree.tst \
poiseuille-periodic.tst \
gfsi.tst gfs.tst \
load-balancing \
mpi-grid.tst mpi-periodic-3D.tst \
source.tst tag.tst tag1.tst view.tst view.3D.tst \
boundary_vertex.tst boundary_vertex3D.tst \
foreach_bnd1.tst vertices-bc.tst
indexing.tst: CC = mpicc -D_MPI=3
indexing.3D.tst: CC = mpicc -D_MPI=3
mpi-restriction.tst: CC = mpicc -D_MPI=3
mpi-restriction.3D.tst: CC = mpicc -D_MPI=3
mpi-reduce.tst: CC = mpicc -D_MPI=3
openmp-reduce.c: mpi-reduce.c
ln -s mpi-reduce.c openmp-reduce.c
openmp-reduce.s: CFLAGS += -fopenmp
openmp-reduce.tst: CFLAGS += -fopenmp
mpi-refine.tst: CC = mpicc -D_MPI=4
mpi-refine1.tst: CC = mpicc -D_MPI=11
mpi-refine.3D.tst: CC = mpicc -D_MPI=4
mpi-laplacian.tst: CC = mpicc -D_MPI=3
mpi-laplacian.3D.tst: CC = mpicc -D_MPI=3
mpi-circle.tst: CC = mpicc -D_MPI=5
foreach_bnd1.tst: CC = mpicc -D_MPI=4
vertices-bc.tst: CC = mpicc -D_MPI=4
mpi-circle1.c: mpi-circle.c
ln -s mpi-circle.c mpi-circle1.c
mpi-circle1.tst: CC = mpicc -D_MPI=6
mpi-flux.tst: CC = mpicc -D_MPI=6
mpi-interpu.tst: CC = mpicc -D_MPI=5
mpi-coarsen.tst: CC = mpicc -D_MPI=2
mpi-coarsen1.tst: CC = mpicc -D_MPI=5
bump2Dp.tst: CC = mpicc -D_MPI=55
vortex.s: CFLAGS = -DJACOBI=1
vortex.tst: CC = mpicc -D_MPI=7 -DJACOBI=1
axiadvection.s: CFLAGS = -DJACOBI=1
axiadvection.tst: CC = mpicc -D_MPI=7 -DJACOBI=1
hf1.tst: CC = mpicc -D_MPI=7
poiseuille-periodic.tst: CC = mpicc -D_MPI=4
source.tst: CC = mpicc -D_MPI=7
tag.tst: CC = mpicc -D_MPI=7
tag1.tst: CC = mpicc -D_MPI=7
boundary_vertex.tst: CC = mpicc -D_MPI=7
boundary_vertex3D.tst: CC = mpicc -D_MPI=7
# parallel dump()/restore()
pdump.tst: CC = mpicc -D_MPI=7
restore.dump: pdump.tst
rm -f restore.dump; ln -s pdump/restore.dump
restore.tst: restore.dump
pdump-multigrid.c: pdump.c
ln -s pdump.c pdump-multigrid.c
pdump-multigrid.tst: pdump.c
pdump-multigrid.tst: CFLAGS = -grid=multigrid
pdump-multigrid.tst: CC = mpicc -D_MPI=16
restore-multigrid.dump: pdump-multigrid.tst
rm -f restore-multigrid.dump; ln -s pdump-multigrid/restore.dump \
restore-multigrid.dump
restore-multigrid.tst: restore-multigrid.dump
restore-multigrid.tst: CFLAGS = -grid=multigrid
restore-multigrid.tst: CC = mpicc -D_MPI=16
restore-tree.dump: pdump.tst
rm -f restore-tree.dump; ln -s pdump/restore.dump restore-tree.dump
restore-tree.tst: restore-tree.dump
restore-tree.tst: CFLAGS = -DDEBUGCOND=false
restore-tree.tst: CC = mpicc -D_MPI=23
bump2Dp-restore.c: bump2Dp.c
ln -s bump2Dp.c bump2Dp-restore.c
bump2Dp-restore.dump: bump2Dp.tst
rm -f bump2Dp-restore.dump; ln -s bump2Dp/dump bump2Dp-restore.dump
bump2Dp-restore.tst: bump2Dp-restore.dump
bump2Dp-restore.tst: CC = mpicc -D_MPI=15
# parallel output_gfs()
gfs.tst: CC = mpicc -D_MPI=7
gfsi.gfs: gfs.tst
rm -f gfsi.gfs; ln -s gfs/gfsi.gfs
gfsi.tst: gfsi.gfs
# load-balancing
load-balancing: balance5.tst balance6.tst balance7.tst \
bump2Dp.tst bump2Dp-restore.tst vortex.tst axiadvection.tst
balance5.tst: CC = mpicc -D_MPI=9
balance6.c: balance5.c
ln -s balance5.c balance6.c
balance6.tst: CC = mpicc -D_MPI=17
balance7.tst: CC = mpicc -D_MPI=17
# MPI-parallel multigrid
mpi-grid.tst: CC = mpicc -D_MPI=4
mpi-periodic-3D.c: periodic.c
ln -s periodic.c mpi-periodic-3D.c
mpi-periodic-3D.tst: CC = mpicc -D_MPI=8
mpi-periodic-3D.tst: CFLAGS += -grid=multigrid3D
# CADNA tests
# These are ignored for the moment since nobody seems to be
# interested and this is complicated to maintain and expensive to run
cadna-tests: # poiseuille.CADNA.tst sag.CADNA.tst poisson.CADNA.tst
# Periodic boundary tests
periodic1.tst: CFLAGS += -grid=bitree -DTRASH=1
periodic2.c: periodic1.c
ln -s periodic1.c periodic2.c
periodic2.tst: CFLAGS += -DTRASH=1
periodic3.c: periodic1.c
ln -s periodic1.c periodic3.c
periodic3.tst: CFLAGS += -grid=octree -DTRASH=1
# Embedded boundary tests
dirichlet.tst: CFLAGS += -DDIRICHLET=1
dirichlet.c: neumann.c
ln -s neumann.c dirichlet.c
dirichlet-axi.c: neumann-axi.c
ln -s neumann-axi.c dirichlet-axi.c
dirichlet-axi.s: CFLAGS += -DDIRICHLET=1
dirichlet-axi.tst: CFLAGS += -DDIRICHLET=1
dirichlet3D.tst: CFLAGS += -DDIRICHLET=1
dirichlet3D.c: neumann3D.c
ln -s neumann3D.c dirichlet3D.c
hydrostatic2.tst: CC = mpicc -D_MPI=8
embed-tests: neumann.tst dirichlet.tst poiseuille45.tst \
couette.tst wannier.tst hydrostatic2.tst cylinders.tst \
porous.tst porous1.tst uf.tst starting.tst \
neumann3D.tst dirichlet3D.tst hydrostatic3.tst spheres.tst \
neumann-axi.tst dirichlet-axi.tst
# General Ocean Turbulence Model (GOTM) tests
gotm-tests: couette-gotm.tst entrainment.tst ows_papa.tst
ows_papa-kpp.c: ows_papa.c
ln -s ows_papa.c ows_papa-kpp.c
ows_papa-kpp.s: CFLAGS += -DKPP=1
ows_papa-kpp.tst: CFLAGS += -DKPP=1
ows_papa.tst: ows_papa-kpp.tst
# Stencils
stencils.tst: CFLAGS += -DPRINTBOUNDARY=1
# CLSVOF
capwave-clsvof.c: capwave.c
ln -s capwave.c capwave-clsvof.c
capwave-clsvof.s: CFLAGS += -DCLSVOF=1
capwave-clsvof.tst: CFLAGS += -DCLSVOF=1
# Dimensions
dimensions-tests: bump2D.s capwave.s lid.s rising-axi.s \
rising-reduced.s vortex.s sessile.s large.s lock.s \
wind-driven-stvt.s shock.s starting.s layered.s \
stokes.s stokes-ns.s lonlat.s overflow.s
include ../Makefile.defs
|