1 |
Example: |
2 |
=================================================== |
3 |
- GMRedi |
4 |
- forward/adjoint run |
5 |
- test cost function |
6 |
|
7 |
To apply the changes to the default configuration of MITgcmUV: |
8 |
cd bin |
9 |
ln -s ../verification/vero/code/SIZE.h . |
10 |
ln -s ../verification/vero/code/CPP_OPTIONS.h . |
11 |
ln -s ../verification/vero/code/CPP_EEOPTIONS.h . |
12 |
ln -s ../verification/vero/code/COST_CPPOPTIONS.h . |
13 |
ln -s ../verification/vero/code/CTRL_CPPOPTIONS.h . |
14 |
ln -s ../verification/vero/code/ECCO_CPPOPTIONS.h . |
15 |
ln -s ../verification/vero/code/FFIELDS.h . |
16 |
ln -s ../verification/vero/code/addynvars.h . |
17 |
ln -s ../verification/vero/code/adffields.h . |
18 |
ln -s ../verification/vero/code/tamc.h . |
19 |
|
20 |
Configure and compile the code: |
21 |
cd ../bin |
22 |
../tools/genmake -makefile |
23 |
make depend |
24 |
make |
25 |
|
26 |
To run: |
27 |
cd ../exe |
28 |
cp ../verification/vero/input/* . |
29 |
mitgcmuv >&! run.out |