22 |
|
|
23 |
# Compile code in build/: |
# Compile code in build/: |
24 |
cd ../build |
cd ../build |
25 |
../../../tools/genmake2 -mods=../code |
../../../tools/genmake2 -ieee -mods=../code |
26 |
make depend |
make depend |
27 |
make adall |
make adall |
28 |
|
|
49 |
cd ../build |
cd ../build |
50 |
rm -f *.o *.f *.p rii_files *.flow |
rm -f *.o *.f *.p rii_files *.flow |
51 |
rm -f *.F *.h *.c Makefile* *.template genmake_* |
rm -f *.F *.h *.c Makefile* *.template genmake_* |
52 |
../../../tools/genmake2 -mods=../code_bulk |
../../../tools/genmake2 -ieee -mods=../code_bulk |
53 |
make depend |
make depend |
54 |
make adall |
make adall |
55 |
|
|
73 |
cd ../build |
cd ../build |
74 |
rm -f *.o *.f *.p rii_files *.flow |
rm -f *.o *.f *.p rii_files *.flow |
75 |
rm -f *.F *.h *.c Makefile* *.template genmake_* |
rm -f *.F *.h *.c Makefile* *.template genmake_* |
76 |
../../../tools/genmake2 -mods=../code_seaice |
../../../tools/genmake2 -ieee -mods=../code_seaice |
77 |
cp ../code_seaice/SEAICE_OPTIONS.h.FLUXES SEAICE_OPTIONS.h |
cp ../code_seaice/SEAICE_OPTIONS.h.FLUXES SEAICE_OPTIONS.h |
78 |
make depend |
make depend |
79 |
make adall |
make adall |
88 |
# To verify the results of the gradient check, type: |
# To verify the results of the gradient check, type: |
89 |
grep grad-res output.txt |
grep grad-res output.txt |
90 |
# A reference output is in: |
# A reference output is in: |
91 |
grep grad-res ../results_bulk/output.txt_adm |
grep grad-res ../results_seaice/output_exp4.txt_adm |
92 |
|
|
93 |
|
|
94 |
#################### |
#################### |
102 |
cd ../build |
cd ../build |
103 |
rm -f *.o *.f *.p rii_files *.flow |
rm -f *.o *.f *.p rii_files *.flow |
104 |
rm -f *.F *.h *.c Makefile* *.template genmake_* |
rm -f *.F *.h *.c Makefile* *.template genmake_* |
105 |
../../../tools/genmake2 -mods=../code_seaice |
../../../tools/genmake2 -ieee -mods=../code_seaice |
106 |
make depend |
make depend |
107 |
make adall |
make adall |
108 |
|
|
227 |
cd ../build |
cd ../build |
228 |
rm -f *.o *.f *.p rii_files *.flow |
rm -f *.o *.f *.p rii_files *.flow |
229 |
rm -f *.F *.h *.c Makefile* *.template genmake_* |
rm -f *.F *.h *.c Makefile* *.template genmake_* |
230 |
../../../tools/genmake2 -mods=../code_seaice |
../../../tools/genmake2 -ieee -mods=../code_seaice |
231 |
make depend |
make depend |
232 |
make adall |
make adall |
233 |
make ftlall |
make ftlall |
397 |
cd ../build |
cd ../build |
398 |
rm -f *.o *.f *.p rii_files *.flow |
rm -f *.o *.f *.p rii_files *.flow |
399 |
rm -f *.F *.h *.c Makefile* *.template genmake_* |
rm -f *.F *.h *.c Makefile* *.template genmake_* |
400 |
../../../tools/genmake2 -mods=../code_seaice |
../../../tools/genmake2 -ieee -mods=../code_seaice |
401 |
cp ../code_seaice/SEAICE_OPTIONS.h.DYN SEAICE_OPTIONS.h |
cp ../code_seaice/SEAICE_OPTIONS.h.DYN SEAICE_OPTIONS.h |
402 |
make depend |
make depend |
403 |
make adall |
make adall |
500 |
# Compile code in build/: |
# Compile code in build/: |
501 |
rm -f *.o *.f *.p rii_files *.flow |
rm -f *.o *.f *.p rii_files *.flow |
502 |
rm -f *.F *.h *.c Makefile* *.template genmake_* |
rm -f *.F *.h *.c Makefile* *.template genmake_* |
503 |
../../../tools/genmake2 -mods=../code_seaice |
../../../tools/genmake2 -ieee -mods=../code_seaice |
504 |
cp ../code_seaice/SEAICE_OPTIONS.h.MULTILEVEL SEAICE_OPTIONS.h |
cp ../code_seaice/SEAICE_OPTIONS.h.MULTILEVEL SEAICE_OPTIONS.h |
505 |
make depend |
make depend |
506 |
make adall |
make adall |