[MITgcm-support] end-of-file during read file divided.ctrl
Dani Jones
dcjones.work at gmail.com
Wed Mar 22 12:39:52 EDT 2023
Hi Mario,
That's definitely a possibility. Can you tell us a bit more about the time
mask?
I used to get this kind of error at the end of the forward portion of my
adjoint runs, until I doubled the length of my time masks. So if you are
running for N timesteps, you'll want a vector of length 2*N. The entries
should be zero for those timesteps that you don't want to include in the
objective function, whereas they should be non-zero for those timesteps
that you do want to include in the objective function.
If this is for a single timestep at the end of the forward run, for
example, you'll want the Nth entry to be 1.0. If you want to include the
last ten timesteps, for example, then you'll want the last ten entries to
be 0.1. (You have to normalise it yourself in this way - the normalisation
doesn't happen automatically).
Thanks,
Dani
On Wed, Mar 22, 2023 at 11:04 AM mario wrk <wrkmario at gmail.com> wrote:
> Dear MITgcm community,
> I have an end-of-file error, but I am sure which file is wrong. I am
> testing ecco's generic cost function with masks, and
> using gencost_avgperiod(1) = 'step' , the costfinal is zero, so might it be
> the mask? any hint?
>
> Best regards,
> Mario
>
> end-of-file during read, unit 76, file
> /MITgcm/verification/lab_sea/RUN/divided.ctrl
> Image PC Routine Line Source
> libifcoremt.so.5 00001555553E6E79 for__io_return Unknown Unknown
> libifcoremt.so.5 000015555542B06E for_read_seq_lis Unknown Unknown
> mitgcmuv_ad 0000000000738D50 Unknown Unknown Unknown
> mitgcmuv_ad 00000000009EF259 Unknown Unknown Unknown
> mitgcmuv_ad 0000000000979594 Unknown Unknown Unknown
> mitgcmuv_ad 00000000004039B2 Unknown Unknown Unknown
> libc-2.28.so 0000155550887493 __libc_start_main Unknown
> Unknown
> mitgcmuv_ad 00000000004038BE Unknown Unknown Unknown
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20230322/17b57c9e/attachment.html>
More information about the MITgcm-support
mailing list