Closed kerim371 closed 8 months ago
And I just tried with Devito v4.8.2 and it works. So the problem is with newer Devito v4.8.3
That's quite surprising, the tests (i.e test_all_options.jl
) works fine with subsampling including when changing it to a factor of 10 not sure what the issue is, could you try. the master branch of devito?
@mloubout Devito master branch doesn't work either.
Also I tried Viking Graben lbfgs
example and got same error.
At the same time I tried modeling_basic_2D.jl
example wich worked fine with f, g = fwi_objective(model0, q, dobs; options=opt)
and subsampling_factor=10
.
But with Devito v4.8.2 everything works.
Can you try replacing
by
int(np.ceil((nt + t_sub)/t_sub))
@mloubout hi,
I remember I've written the comment here after I've tried the replacement you proposed int(np.ceil((nt + t_sub)/t_sub))
but I don't see it here. Have you see it?
The point was that I could not reproduce the error anymore neither with nsave = nt // t_sub + 1
or int(np.ceil((nt + t_sub)/t_sub))
So that was very surprising for me I remember but I ve'tried many things but could not reproduce the error.
If any testing is needed I can try.
I changed it as it seems a bit safer for some corner cases, lemme know if it pops up again
Hi,
I tried to run Viking Graben example with
subsampling_factor=10
and got error (it works fine without subsampling though):JUDI: master (v3.3.9) Devito: v4.8.3