[Carpet] Carpet scheduling question
Thomas Radke
tradke at aei.mpg.de
Tue Aug 22 13:44:33 CEST 2006
Jonathan Thornburg wrote:
> Hi, Erik,
>
> Suppose I write in a schedule.ccl
>
> schedule A in CCTK_POSTINITIAL
> {
> } "routine A"
> schedule B in CCTK_POSTINITIAL after A
> {
> options: global
> } "routine B"
>
> Consider a grid with 3 refinement levels and 1 component on each level.
>
> Then (based on Thomas Radke's and my study of the Carpet source code and
> on your E-mail
> http://lists.carpetcode.org/archives/developers/2006-May/001572.html
> ) I believe this results in an execution sequence of
> call A in local mode on level 2, component 0
> call B in global mode
> call A in local mode on level 1, component 0
> call A in local mode on level 0, component 0
>
> My question is, is it possible to get an execution sequence of
> call A in local mode on level 2, component 0
> call A in local mode on level 1, component 0
> call A in local mode on level 0, component 0
> call B in global mode
> and if so, how? Luca would like to do this for global reductions, and
> I think others would also be interested in this...
Here my guess for a correct answer: routine A needs to be scheduled in
global-loop-local mode, routine B after A in global mode.
--
Cheers, Thomas.
More information about the developers
mailing list