--- MITgcm_contrib/heimbach/OpenAD/README 2005/12/13 15:15:27 1.1 +++ MITgcm_contrib/heimbach/OpenAD/README 2006/07/13 19:11:27 1.2 @@ -75,4 +75,21 @@ make adall +STEP 3: +###### +Compare reference outputs. + +# uncompress outputs in results_... directories: +gunzip ../results_shallow_*/output.txt.gz + +# extract gradients from TAF-generated adjoint: +grep grad-res ../results_shallow_taf/output.txt + +# extract gradients from OpenAD-generated adjoint: +grep ' salt/theta ' ../results_shallow_openad/output.txt + +The two positions tested via gradient checks (results_shallow_taf) are +(i,j,k) = (43,2,1) and (44,2,1) +Find corresponding locations in ' salt/theta ' output +(which outputs whole theta, salt gradient)