[Carpet] when does Carpet call scheduled routines?

Erik Schnetter schnetter at cct.lsu.edu
Tue May 2 20:56:04 CEST 2006


On May 2, 2006, at 13:41:45, Jonathan Thornburg wrote:

>>> Then within each schedule bin, the flesh topological-sorts scheduled
>>> routines based on BEFORE, AFTER, and WHILE clauses as specified in
>>> the union of all active thorns' schedule.ccl files.  This gives a
>>> sequence of scheduled routines.
>>>
>>> This is then precisely the sequence which your line 5 loops over.
>>>
>>> Is this correct?
>>
>> Correct.  This is, in fact, the surprising part, namely that the  
>> schedule
>> (including its before, after, and while statements) only refer to  
>> other
>> schedule items at the same level; what happens between levels is  
>> governed by
>> the Berger-Oliger scheme, not by the schedule.
>
> I'm confused by the word "level" in the previous sentence.  Did you
> mean "Cactus-flesh-defined schedule bin"?

I'm confused by your question.  I did not mean "schedule bin" when I  
wrote "level".

The dependencies between schedule items refer only to other schedule  
items at the same refinement levels.  A schedule dependency "A before  
B" means that, on a level L, A is executed before B.  However, at the  
same iteration, A on level L+1 can also occur after B on level L.

> No, I was asking whether (for example)
>    OPTIONS: LEVEL LOOP-LOCAL
> and/or
>    OPTIONS: SINGLEMAP LOOP-LOCAL
> are identical in their semantics to
>    OPTIONS: LOCAL
> since in each
> * the scheduled routine is called in LOCAL mode in a loop
>    over all models, levels, components, and patches, and
> * the do-(meta|global)-mode flags are not involved in determining
>    whether or not it is called.

I see.  Yes, this observation is true.

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/developers/attachments/20060502/46a6b07d/attachment.pgp 


More information about the developers mailing list