[ET Trac] [Einstein Toolkit] #1554: Want to define constants in parameter files
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Thu Mar 27 16:32:54 CDT 2014
#1554: Want to define constants in parameter files
--------------------------+-------------------------------------------------
Reporter: eschnett | Owner: sbrandt
Type: enhancement | Status: assigned
Priority: major | Milestone:
Component: Cactus | Version: development version
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by hinder):
I usually combine the two features. I specify the resolution with a
simfactory definition such as @RHO@, which is then assigned to a python
variable, and this is then used to compute the resolution-dependent
parameters such as grid spacing, output frequency etc. This allows me to
use the same parameter file for different resolutions, which wouldn't be
possible with the script feature alone.
To be complete, I would say that a solution without simfactory would be an
rpar file which you run before submitting it. An rpar file generates a
par file next to the rpar file, which can then be submitted. Yes, the
extra step is annoying. I guess that like Roland and Wolfgang, I'm just a
bit apprehensive about making the parameter file language too "clever".
Does Cactus output a version of the parameter file with all these
parameters expanded so you can easily see iteration numbers and grid sizes
etc?
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1554#comment:9>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list