<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi everyone,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'm new to adjoint modeling, and the related document I read in here[<a href="https://www.archer.ac.uk/training/virtual/2016-11-30-Adjoint-ocean-modelling/eCSE03-09_presentation.pdf" id="LPlnk">https://www.archer.ac.uk/training/virtual/2016-11-30-Adjoint-ocean-modelling/eCSE03-09_presentation.pdf</a>].
</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1">
<div id="LPBorder_GTaHR0cHM6Ly93d3cuYXJjaGVyLmFjLnVrL3RyYWluaW5nL3ZpcnR1YWwvMjAxNi0xMS0zMC1BZGpvaW50LW9jZWFuLW1vZGVsbGluZy9lQ1NFMDMtMDlfcHJlc2VudGF0aW9uLnBkZg.." class="LPBorder286531" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer286531" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border-width: 1px; border-style: solid; border-color: rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td style="width: 100%;">
<div id="LPTitle286531" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor286531" href="https://www.archer.ac.uk/training/virtual/2016-11-30-Adjoint-ocean-modelling/eCSE03-09_presentation.pdf" style="text-decoration: none; color: var(--themePrimary);">Adjoint ocean modelling with MITgcm and OpenAD</a></div>
<div id="LPDescription286531" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;">
Adjoint ocean modelling with MITgcm and OpenAD Dan Jones (British Antarctic Survey) Webinar starts at 15:00 eCSE03-09 dannes@bas.ac.uk @DanJonesOcean</div>
<div id="LPMetadata286531" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;">
www.archer.ac.uk</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Then I downloaded and unpacked the OpenAD_2014-03-15.tgz.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
After that, I did the things below. Noted: the MITgcm model can run normally without adjoint.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><b>mice@DESKTOP-S2HNSPD:~/work/<wbr>mitgcm/MITgcm-checkpoint67s/<wbr>verification/tutorial_tracer_<wbr>adjsens/build$<span> </span></b>cd /home/mice/software/OpenAD/</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><b>mice@DESKTOP-S2HNSPD:~/<wbr>software/OpenAD$<span> </span></b>source ./setenv.sh</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><b>mice@DESKTOP-S2HNSPD:~/<wbr>software/OpenAD$</b><span> </span>cd /home/mice/work/mitgcm/MITgcm-<wbr>checkpoint67s/verification/<wbr>tutorial_tracer_adjsens/build</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><b>mice@DESKTOP-S2HNSPD:~/work/<wbr>mitgcm/MITgcm-checkpoint67s/<wbr>verification/tutorial_tracer_<wbr>adjsens/build$</b><span> </span>../../../tools/genmake2 -mods=../code_oad -oad -mpi</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><br>
</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>GENMAKE :</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><br>
</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>A program for GENerating MAKEfiles for the MITgcm project.</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> For a quick list of options, use "genmake2 -h"</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>or for more detail see the documentation, section "Building the model"</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> (under "Getting Started") at: <span> </span><a href="https://mitgcm.readthedocs.io/" target="_blank" data-saferedirecturl="https://www.google.com/url?q=https://mitgcm.readthedocs.io/&source=gmail&ust=1611914525274000&usg=AFQjCNHwQmRawOCOuP0jzpjQ1_ybCtoFdg" style="color:rgb(17, 85, 204)">https://mitgcm.readthedocs.io/</a></i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><br>
</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>=== Processing options files and arguments ===</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> getting local config information: none found</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>Warning: ROOTDIR was not specified ; try using a local copy of MITgcm found at "../../.."</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> getting OPTFILE information:</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>Warning: no OPTFILE specified so we'll look for possible settings</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><br>
</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>=== Searching for possible settings for OPTFILE ===</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> The platform appears to be: linux_amd64</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> The possible FORTRAN compilers found in your path are: gfortran f77 f95 mpif77</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Setting OPTFILE to: ../../../tools/build_options/<wbr>linux_amd64_gfortran</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> using OPTFILE="../../../tools/build_<wbr>options/linux_amd64_gfortran"</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> getting AD_OPTFILE information:</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> using AD_OPTFILE="../../../tools/<wbr>adjoint_options/adjoint_oad"</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> check Fortran Compiler... pass (set FC_CHECK=5/5)</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> check makedepend (local: 0, system: 1, 1)</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Turning on MPI cpp macros</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><br>
</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>=== Checking system libraries ===</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Do we have the system() command using mpif77... yes</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Do we have the fdate() command using mpif77... yes</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Do we have the etime() command using mpif77... c,r: yes (SbR)</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Can we call simple C routines (here, "cloc()") using mpif77... yes</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Can we unlimit the stack size using mpif77... yes</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Can we register a signal handler using mpif77... yes</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Can we use stat() through C calls... yes</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Can we create NetCDF-enabled binaries... yes</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> skip check for LAPACK Libs</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Can we call FLUSH intrinsic subroutine... yes</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><br>
</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>=== Setting defaults ===</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Adding MODS directories: ../code_oad</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Making source files in eesupp from templates</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Making source files in pkg/exch2 from templates</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Making source files in pkg/regrid from templates</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><br>
</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>=== Determining package settings ===</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> getting package dependency info from ../../../pkg/pkg_depend</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> getting package groups info from ../../../pkg/pkg_groups</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> checking list of packages to compile:</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> using PKG_LIST="../code_oad/<wbr>packages.conf"</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> before group expansion packages are: gfd -monitor cd_code gmredi ptracers openad autodiff cost ctrl grdchk</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> replacing "gfd" with: mom_common mom_fluxform mom_vecinv generic_advdiff debug mdsio rw monitor</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> after group expansion packages are: mom_common mom_fluxform mom_vecinv generic_advdiff debug mdsio rw monitor -monitor cd_code gmredi ptracers openad autodiff cost ctrl grdchk</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> applying DISABLE settings</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> applying ENABLE settings</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> packages are: autodiff cd_code cost ctrl debug generic_advdiff gmredi grdchk mdsio mom_common mom_fluxform mom_vecinv openad ptracers rw</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> applying package dependency rules</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> packages are: autodiff cd_code cost ctrl debug generic_advdiff gmredi grdchk mdsio mom_common mom_fluxform mom_vecinv openad ptracers rw</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Adding STANDARDDIRS='eesupp model'</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Searching for *OPTIONS.h files in order to warn about the presence</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> of "#define "-type statements that are no longer allowed:</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> found CPP_OPTIONS="./CPP_OPTIONS.h"</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> found CPP_EEOPTIONS="./CPP_<wbr>EEOPTIONS.h"</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Creating the list of files for the adjoint compiler.</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><br>
</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>=== Creating the Makefile ===</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> setting INCLUDES</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Determining the list of source and include files</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> looking for dontCompile file:</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> found ../../../tools/OAD_support/<wbr>dontCompile</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> looking for dontTransform file:</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> found ../../../tools/OAD_support/<wbr>dontTransform</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> looking for keepOriginal file:</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> found ../../../tools/OAD_support/<wbr>keepOriginal</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> looking for cb2mFiles:</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> found ../code_oad/cb2mFiles</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> OpenAD exceptions:</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : ctrl_init_rec.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> not to be compiled : mom_u_implicit_r.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> not to be compiled : mom_v_implicit_r.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : read_fld_xy_rl.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : read_fld_xy_rs.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : read_fld_xyz_rl.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : read_fld_xyz_rs.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : read_rec.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> not to be transformed: different_multiple.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : exch_3d_rl.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : exch_uv_3d_rl.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : exch_uv_3d_rs.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : exch_uv_agrid_3d_rl.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : exch_uv_dgrid_3d_rl.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : exch_uv_xyz_rl.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : exch_uv_xyz_rs.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : exch_xy_rl.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : exch_xy_rs.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : exch_xyz_rl.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original to be kept : exch_xyz_rs.F</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Writing makefile: Makefile</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Add the source list for common block to module conversion</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Add the source list for AD code generation</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Making list of "exceptions" that need ".p" files</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Making list of NOOPTFILES</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Add rules for links</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> Adding makedepend marker</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><br>
</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>=== Done ===</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> original 'Makefile' generated successfully</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>=> next steps:</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i> > make adAll (<-- adjoint executable)</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><br>
</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i><b>mice@DESKTOP-S2HNSPD:~/work/<wbr>mitgcm/MITgcm-checkpoint67s/<wbr>verification/tutorial_tracer_<wbr>adjsens/build$<span> </span></b>make adAll</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>Update AD_CONFIG.h and make mitgcmuv_ad</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>make -f Makefile mitgcmuv_ad</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>make[1]: Entering directory '/home/mice/work/mitgcm/<wbr>MITgcm-checkpoint67s/<wbr>verification/tutorial_tracer_<wbr>adjsens/build'</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>../../../tools/OAD_support/<wbr>cb2mGetHeaders.csh SIZE.h ../../../tools/OAD_support/<wbr>cb2mGetHeaders.awk SIZE EEPARAMS PARAMS BAR2 BARRIER CD_CODE_VARS CG2D CG3D cost CTRL_SIZE CTRL_GENARR CTRL_OBCS ctrl_dummy ctrl ctrl_local_params ctrl_weights DYNVARS
EESUPPORT EOS EXCH FC_NAMEMANGLE FFIELDS GAD g_cost GLOBAL_MAX GLOBAL_SUM GMREDI GMREDI_TAVE grdchk GRID MOM_VISC MPI_INFO optim RESTART SIGREG SOLVE_FOR_PRESSURE3D SOLVE_FOR_PRESSURE SURFACE AUTODIFF_PARAMS tamc_keys tamc PTRACERS_SIZE PTRACERS_FIELDS PTRACERS_PARAMS
PTRACERS_START PTRACERS_TAVE</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>make[1]: ../../../tools/OAD_support/<wbr>cb2mGetHeaders.csh: Command not found</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>Makefile:2060: recipe for target 'SIZE_mod.h' failed</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>make[1]: *** [SIZE_mod.h] Error 127</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>make[1]: Leaving directory '/home/mice/work/mitgcm/<wbr>MITgcm-checkpoint67s/<wbr>verification/tutorial_tracer_<wbr>adjsens/build'</i></div>
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)">
<i>Makefile:2015: recipe for target 'ad_exe_target' failed</i></div>
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)"><i>make: *** [ad_exe_target] Error 2</i></span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The main problem is "make[1]: ../../../tools/OAD_support/cb2mGetHeaders.csh: Command not found", I'm not sure how to solve the problem, what can I do?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Leming</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</body>
</html>