1 |
Starting a configuration for OpenAD |
Starting a configuration for OpenAD |
2 |
19-Aug-2005, heimbach@mit.edu, utke@mcs.anl.gov, cnh@mit.edu |
19-Aug-2005, heimbach@mit.edu, utke@mcs.anl.gov, cnh@mit.edu |
3 |
############################################################ |
############################################################ |
4 |
|
|
5 |
This experiment is derived from global_ocean.90x40x15, |
This experiment is derived from global_ocean.90x40x15, |
6 |
but excludes packages gmredi, kpp. |
but excludes packages gmredi, kpp. |
7 |
|
|
8 |
STEP 1: |
STEP 1: |
9 |
###### |
###### |
10 |
To bypass incomplete canonicalizer, convert COMMON blocks to MODULES. |
To bypass incomplete canonicalizer, convert COMMON blocks to MODULES. |
12 |
The built process needed to be modified, and some routines |
The built process needed to be modified, and some routines |
13 |
needed changes. Most changes were commited to default routines, |
needed changes. Most changes were commited to default routines, |
14 |
the remaining changes are kept in code/ for now. |
the remaining changes are kept in code/ for now. |
15 |
|
|
16 |
To build: |
To build: |
17 |
-------- |
-------- |
18 |
o short version: |
o short version: |
63 |
STEP 2: |
STEP 2: |
64 |
###### |
###### |
65 |
Generate code for AD-related routines. |
Generate code for AD-related routines. |
66 |
|
|
67 |
Similar to step 1, but look in code_ad/ instead of code/ |
Similar to step 1, but look in code_ad/ instead of code/ |
68 |
|
|
69 |
To build: |
To build: |
70 |
-------- |
-------- |
71 |
o short version: |
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 |
../code_ad/genmake2 -of ../../../tools/build_options/linux_ia32_ifort -adof ../../../tools/adjoint_options/adjoint_f95 -mods ../code_ad |
75 |
make depend ; make cb2m ; \rm adcost_mod.F90 |
|
76 |
make makefile ; make small_f |
make adAll |
|
make ad_input_code.f |
|
|
make adtaf |
|
|
make allmods |
|
|
make adall |
|
77 |
|
|