<div dir="ltr">Hi all,<div><br></div><div>I am attempting to run an adjoint model using the up-to-date checkpoint 67b and TAF. It compiles without any errors, but I get the following run-time error:<br><br>




<span></span>





<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(PID.TID 0000.0001) ADWRITE: tapeFileCounter > tapeMaxCounter <span class="gmail-Apple-converted-space">  </span>691<span class="gmail-Apple-converted-space">  </span>690</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(PID.TID 0000.0001) for file tapelev3_45_the_main_loop_gptrnm1</span></p>


<br></div><div>I have tried changing the checkpoint levels in tamc.h, but I have not yet found the right combination. I want to run the model for 7300 timesteps, so I estimate that if nchklev_1=10, then nchklev_2 = nchklev_3 = sqrt( Number of steps / nchklev_1 ) + 1 = sqrt(7300/10) + 1 = 28. If I try to increase <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">nchklev_1, then I get the compile-time error "relocation truncated to fit", which I usually interpret as "this executable is too big, so make <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">nchklev_1 smaller". </span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I have uploaded the adjoint-relevant portions of my code to github. The adjoint settings are largely based on the ECCOv4-r2 setup: <br><br><a href="https://github.com/DanJonesOcean/OxygenAdjoint/tree/d282f20c58c77b1e2c73c0303d49867ae15e54ea">https://github.com/DanJonesOcean/OxygenAdjoint/tree/d282f20c58c77b1e2c73c0303d49867ae15e54ea</a><br></span></span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></div><div>Thanks in advance for any help!<br><br>Best,<br>Dan </div></div>