/[MITgcm]/MITgcm/verification/OpenAD/README
ViewVC logotype

Contents of /MITgcm/verification/OpenAD/README

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations) (download)
Mon Mar 10 01:35:17 2014 UTC (10 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64w, checkpoint64v, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.7: +3 -4 lines
update the intructions on how to run (in dir "run" instead of in "build"
 or "input" or elsewhere)

1 Starting a configuration for OpenAD
2 19-Aug-2005, heimbach@mit.edu, utke@mcs.anl.gov, cnh@mit.edu
3 ############################################################
4
5 This experiment is derived from global_ocean.90x40x15,
6 but excludes packages gmredi, kpp.
7
8 STEP 1:
9 ######
10 To bypass incomplete canonicalizer, convert COMMON blocks to MODULES.
11 Successfully completed.
12 The built process needed to be modified, and some routines
13 needed changes. Most changes were commited to default routines,
14 the remaining changes are kept in code/ for now.
15
16 To build:
17 --------
18 o short version:
19 ---------------
20 make makefile ; make depend ; make cb2m ; make makefile ; make small_f ; make allmods ; make
21
22 o long version:
23 --------------
24 # (chdir to built/; assume we are in built/)
25 #
26 # generate makefile using ifort and modified genmake2 in ../code/
27 ../code/genmake2 -of ../../../tools/build_options/linux_ia32_ifort -mods ../code
28 #
29 # make dependencies
30 make depend
31 #
32 # invoke script to convert COMMON block headers to MODULE headers
33 # converts FILE.h to FILE_mod.h which uses newi module FILE_mod.F90
34 make cb2m
35 #
36 # re-generate makefile which takes into account newly created files
37 # FILE_mod.h, FILE_mod.F90
38 make makefile
39 #
40 # make .f, .f90
41 make small_f
42 #
43 # first compile all module files .f90
44 make allmods
45 #
46 # compile everything else
47 make
48
49 To clean:
50 --------
51 # Since soft links get overwritten, for now do:
52 make CLEAN ; rm *.F *.F90 *.h
53
54 to run:
55 ------
56 # paremeter files are in input/
57 ln -s ../input/* .
58 # initial and forcing fields are elsewhere;
59 # get these from verif. exp. global_ocean.90x40x15/input/*.bin
60 ln -s ../../global_ocean.90x40x15/input/*.bin .
61 ./mitgcmuv >! output.txt
62
63 STEP 2:
64 ######
65 Generate code for AD-related routines.
66
67 Similar to step 1, but look in code_ad/ instead of code/
68
69 To build:
70 --------
71 o short version:
72 ---------------
73
74 ../code_ad/genmake2 -of ../../../tools/build_options/linux_ia32_ifort -adof ../../../tools/adjoint_options/adjoint_f95 -mods ../code_ad
75
76 make adAll

  ViewVC Help
Powered by ViewVC 1.1.22