<div dir="ltr">Hi Matt, and Dani<br><div>Unfortunately I still have the same error If I run for a longer time. The error shows up when the adjoint run starts, </div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">*forrtl: severe (24): end-of-file during read, unit 76, file</span></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">/MITgcm/verification/lab_sea/run/divided.ctrl*</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">divided.ctrl ended with <i style="font-family:Arial,Helvetica,sans-serif"> </i></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><i style="font-family:Arial,Helvetica,sans-serif">1          0</i></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal">my cost function is the last time step box mean theta</div><span style="white-space:normal;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"> &ECCO_GENCOST_NML</span><br style="white-space:normal;padding:0px;margin:0px;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"><span style="white-space:normal;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"> gencost_avgperiod(1) = 'step',</span><br style="white-space:normal;padding:0px;margin:0px;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"><span style="white-space:normal;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"> gencost_barfile(1) = 'm_boxmean_theta',</span><br style="white-space:normal;padding:0px;margin:0px;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"><span style="white-space:normal;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"> gencost_name(1) = 'my_theta_mask',</span><br style="white-space:normal;padding:0px;margin:0px;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"><span style="white-space:normal;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"> gencost_outputlevel(1)=0,</span><br style="white-space:normal;padding:0px;margin:0px;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"><span style="white-space:normal;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"> gencost_mask(1) = 'my_mask'</span><br style="white-space:normal;padding:0px;margin:0px;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"><span style="white-space:normal;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"> mult_gencost(1) = 1.,</span><br style="white-space:normal;padding:0px;margin:0px;color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal"><span style="color:rgb(78,78,78);font-family:Menlo,Consolas,"Lucida Console","DejaVu Sans Mono",monospace;font-size:12px"> &</span> </div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal">I don't know if the model needs to read scratch files, I noticed half of scratch files are missing, or <span style="color:rgb(0,0,0);white-space:pre-wrap">or EXF or OBCS files.</span></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal">Would be very grateful if anyone else could give me more hints.</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal"><br></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal">Best regards,</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal">Mario</div></pre></div></div>