[Users] More Bizarre Scheduling Behavior in a Carpet Run (Bug?!)
Roland Haas
rhaas at aei.mpg.de
Tue Jun 2 12:36:12 CDT 2015
Hello all,
> Another thought: you said that the finest grid looked ok, but the
> coarser grids had problems. This points in the direction of
> restriction, which is not called on the finest grid. Which region of
> the coarse grid looks wrong? Could it be the points which are
> restricted, or are within a few points of the refinement boundary? I
> believe restriction is also not called for routines in ANALYSIS.
Not sure if this is what happens to you but I got caught by this once:
If you are scheduling everything in GLOBAL (which is the same as
GLOBAL-LATE in ANALYSIS) then your OUTPUT will be incorrect since OUTPUT
is happening in LEVEL mode thus refinement level 3 is output before the
GLOBAL routine (which runs along with level 0) is executed. So your
output is wrong but the data that the simulation sees would actually
correct. An easy fix is to use GLOBAL-EARLY instead of GLOBAL.
So I would add print statements or the like (or Ian's suggestion of
calling OutputVarAsByMethod) to get output directly out of the
loop-local routine (actually it may have to be loop-level though I am
not sure).
Yours,
Roland
--
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://keys.gnupg.net.
--
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://keys.gnupg.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20150602/3a052e9c/attachment.bin
More information about the Users
mailing list