#705: Activation Order in Parameter Files -------------------------+-------------------------------------------------- Reporter: sbrandt | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Cactus_4.1.0 Component: Cactus | Version: Keywords: | -------------------------+-------------------------------------------------- At the moment the ActiveThorns list is sensitive to the order in which thorns are activated if the ActiveThorns parameter is updated multiple times. However, it is not sensitive to the order in which thorns are activated if all thorns are specified in a single line. This inconsistency should be removed, and the order should not matter in either case.
#705: Activation Order in Parameter Files --------------------------+------------------------------------------------- Reporter: sbrandt | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Cactus_4.2.0 Component: Cactus | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by knarf):
* milestone: Cactus_4.1.0 => Cactus_4.2.0
Comment:
Would be nice, but not for the next release anymore.
#705: Activation Order in Parameter Files --------------------------+------------------------------------------------- Reporter: sbrandt | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by knarf):
* milestone: Cactus_4.2.0 =>
#705: Activation Order in Parameter Files --------------------------+------------------------------------------------- Reporter: sbrandt | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by knarf):
Isn't this now already order-independent?
#705: Activation Order in Parameter Files --------------------------+------------------------------------------------- Reporter: sbrandt | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by rhaas):
If you have several ActiveThorns lines in your parfile then the order matters. Ie. {{{ ActiveTHorns = "CarpetLib" Carpet::max_refinement_levels = 1 ActiveTorns = "Carpet" }}} fails as well as {{{ ActiveTorns = "Carpet" ActiveTHorns = "CarpetLib" }}} while {{{ ActiveTorns = "Carpet CarpetLib" }}} is fine.
#705: Activation Order in Parameter Files --------------------------+------------------------------------------------- Reporter: sbrandt | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by knarf):
I know that this used to be the case, but Steve told me that piraha actually combines all ActiveThorns requests into one. What I don't know right now is whether that is in trunk already, or still in its own branch. Steve?
#705: Activation Order in Parameter Files --------------------------+------------------------------------------------- Reporter: sbrandt | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by sbrandt):
As Frank said. Since Piraha, the order should no longer matter. Piraha combines all the ActiveThorn declarations into one before passing it through to Cactus.
#705: Activation Order in Parameter Files --------------------------+------------------------------------------------- Reporter: sbrandt | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by eschnett):
The Cactus documentation says: {{{ \item{} The parameter file is read \emph{sequentially} from top to bottom, this means that if you set the value of a parameter twice in the parameter file, the second value will be used. (This is why the \texttt{ActiveThorns} parameter is always first in the file). }}}
Please update this.
There are also many instances in the users' guide which speak of ActiveThorns as "the first parameter being set". If we allow this to be set multiple times, and if this is commonly used, then this should be mentioned as well.
trac@lists.einsteintoolkit.org