@@ -93,9 +93,6 @@ ifneq (@HAVE_ZOLTAN@,yes)
93
93
else
94
94
EXCLUDE_TAGS := $(EXCLUDE_TAGS) -e nozoltan
95
95
endif
96
- ifneq (@HAVE_ADJOINT@,yes)
97
- EXCLUDE_TAGS := $(EXCLUDE_TAGS) -e adjoint
98
- endif
99
96
ifneq (@MBA2D@,yes)
100
97
EXCLUDE_TAGS := $(EXCLUDE_TAGS) -e 2dadapt
101
98
endif
@@ -182,51 +179,6 @@ bin/$(FLUIDITY): main.o lib/lib$(FLUIDITY).a
182
179
@echo " LD $( PROGRAM) "
183
180
@$(EVAL ) $(LINKER ) -o $(PROGRAM ) main.o $(LIBS )
184
181
185
- sw : bin/shallow_water
186
- be : bin/burgers_equation
187
- hh : bin/hybridized_helmholtz_solver
188
-
189
- bin/shallow_water : fluidity_library bin/hybridized_helmholtz_solver main/Shallow_Water.F90
190
- @cd main; $(MAKE ) Shallow_Water.o
191
- @echo " BUILD shallow_water"
192
- @echo " MKDIR bin"
193
- @mkdir -p bin
194
- @echo " LD shallow_water"
195
- @$(EVAL ) $(FLLINKER ) -o bin/hybridized_helmholtz_solver main/Hybridized_Helmholtz_Solver.o $(LIBS )
196
- @$(EVAL ) $(FLLINKER ) -o bin/shallow_water main/Shallow_Water.o $(LIBS )
197
-
198
- bin/hybridized_helmholtz_solver : fluidity_library main/Hybridized_Helmholtz_Solver.F90
199
- @cd main; $(MAKE ) Hybridized_Helmholtz_Solver.o
200
- @echo " BUILD hybridized_helmholtz_solver"
201
- @echo " MKDIR bin"
202
- @mkdir -p bin
203
- @echo " LD hybridized_helmholtz_solver"
204
- @$(EVAL ) $(FLLINKER ) -o bin/hybridized_helmholtz_solver main/Hybridized_Helmholtz_Solver.o $(LIBS )
205
-
206
- bin/burgers_equation : fluidity_library main/Burgers_Equation.F90
207
- @cd main; $(MAKE ) Burgers_Equation.o
208
- @echo " BUILD burgers_equation"
209
- @echo " MKDIR bin"
210
- @mkdir -p bin
211
- @echo " LD burgers_equation"
212
- @$(EVAL ) $(FLLINKER ) -o bin/burgers_equation main/Burgers_Equation.o $(FCFLAGS ) $(LIBS )
213
-
214
- ifeq (@ENABLE_PSMILE@,yes)
215
- LIBPSMILE =@FLPSMILE_PATH@/lib/libpsmile_oa4.MPI1.a @FLPSMILE_PATH@/lib/libcommon_oa4.a @FLPSMILE_PATH@/lib/libmpp_io.a -lxml2
216
- bin/test_coupler : fluidity_library main/test_coupler.F90
217
- @cd main; $(MAKE ) test_coupler.o
218
- @echo " BUILD test_coupler"
219
- @echo " MKDIR bin"
220
- @mkdir -p bin
221
- @echo " LD test_coupler"
222
- @$(EVAL ) $(FC ) -o bin/test_coupler main/test_coupler.o $(LIBPSMILE ) $(FCFLAGS ) $(LIBS )
223
- else
224
- bin/test_coupler :
225
- @echo " Unable to build bin/test_coupler without psmile libraries"
226
- @echo " Please reconfigure --with-psmile=/path/to/oasis4"
227
- exit 1
228
- endif
229
-
230
182
bin/form_pod_basis : fluidity_library reduced_modelling/Form_Pod_Basis_Main.F90
231
183
@cd reduced_modelling; $(MAKE ) Form_Pod_Basis_Main.o
232
184
@echo " BUILD Form_Pod_Basis"
@@ -318,8 +270,6 @@ endif
318
270
@cd diagnostics; $(MAKE)
319
271
@echo " MAKE reduced_modelling"
320
272
@cd reduced_modelling; $(MAKE)
321
- @echo " MAKE adjoint"
322
- @cd adjoint; $(MAKE)
323
273
@echo " MAKE main"
324
274
@cd main; $(MAKE)
325
275
@echo " MAKE options_check"
@@ -344,7 +294,6 @@ error_measures/*.o \
344
294
assemble/*.o \
345
295
diagnostics/*.o \
346
296
reduced_modelling/*.o \
347
- adjoint/*.o \
348
297
main/*.o
349
298
ifeq (@HYPERLIGHT@,yes)
350
299
@$(AR) $(ARFLAGS) lib/libfluidity.a hyperlight/*.o
@@ -397,9 +346,6 @@ clean-light:
397
346
@cd horizontal_adaptivity/tests; $(MAKE ) clean
398
347
@echo " CLEAN tools"
399
348
@cd tools; $(MAKE ) clean
400
- @echo " CLEAN adjoint"
401
- @cd adjoint; $(MAKE ) clean
402
- @cd adjoint/tests; $(MAKE ) clean
403
349
@echo " CLEAN bathymetry"
404
350
@cd bathymetry; $(MAKE ) clean
405
351
@echo " CLEAN ocean_forcing"
@@ -415,8 +361,6 @@ endif
415
361
@echo " CLEAN climatology"
416
362
@echo " CLEAN reduced_modelling"
417
363
@cd reduced_modelling; $(MAKE) clean
418
- @echo " CLEAN adjoint"
419
- @cd adjoint; $(MAKE) clean
420
364
@echo " CLEAN main"
421
365
@cd main; $(MAKE) clean
422
366
@rm -fr bin lib
@@ -500,10 +444,10 @@ distclean: clean
500
444
501
445
test : serialtest
502
446
503
- serialtest : fltools bin/$(FLUIDITY ) bin/shallow_water
447
+ serialtest : fltools bin/$(FLUIDITY )
504
448
@cd tests; ../bin/testharness -l short $(EXCLUDE_TAGS ) -n $(THREADS )
505
449
506
- mediumtest : fltools bin/$(FLUIDITY ) manual bin/burgers_equation bin/shallow_water spudtools
450
+ mediumtest : fltools bin/$(FLUIDITY ) manual spudtools
507
451
@cd tests; ../bin/testharness -l medium $(EXCLUDE_TAGS ) -n $(THREADS )
508
452
509
453
.PHONY : spudtools
@@ -533,8 +477,6 @@ build_unittest: fluidity_library libfemtools setuputs
533
477
@cd parameterisation/tests; $(MAKE ) unittest
534
478
@echo " UNITTEST assemble"
535
479
@cd assemble/tests; $(MAKE ) unittest
536
- @echo " UNITTEST adjoint"
537
- @cd adjoint/tests; $(MAKE ) unittest
538
480
@echo " UNITTEST ocean_forcing"
539
481
@cd ocean_forcing/tests; $(MAKE ) unittest
540
482
@@ -561,10 +503,6 @@ endif
561
503
ifneq (@HAVE_ZOLTAN@,yes)
562
504
@echo "makefile dependency generation requires zoltan"
563
505
@false
564
- endif
565
- ifneq (@HAVE_ADJOINT@,yes)
566
- @echo "makefile dependency generation requires adjoint"
567
- @false
568
506
endif
569
507
@echo " Generating debug dependencies"
570
508
@cd debug; ../bin/create_makefile $(TESTOPTS)
@@ -599,15 +537,13 @@ endif
599
537
Diagnostic_Fields_New.o
600
538
@echo " Generating reduced_modelling dependencies"
601
539
@cd reduced_modelling; ../bin/create_makefile $(TESTOPTS)
602
- @echo " Generating adjoint dependencies"
603
- @cd adjoint; ../bin/create_makefile $(TESTOPTS)
604
540
@echo " Generating main dependencies"
605
541
@cd main; ../bin/create_makefile --exclude test_coupler.F90 $(TESTOPTS)
606
542
@echo " Cleaning up the mess"
607
543
$(MAKE) clean-light
608
544
@echo " Congratulations, make makefiles succeeded!"
609
545
610
- install : default fltools bin/shallow_water bin/burgers_equation
546
+ install : default fltools
611
547
@mkdir -p $(DESTDIR )$(bindir ) $(DESTDIR )$(docdir ) /fluidity
612
548
find bin/ -maxdepth 1 -type f -exec cp ' {}' $(DESTDIR )$(bindir ) \;
613
549
rm -f $(DESTDIR )$(bindir ) /spud-* $(DESTDIR )$(bindir ) /diamond $(DESTDIR )$(bindir ) /silenteval $(DESTDIR )$(bindir ) /runut
0 commit comments