[ET Trac] [Einstein Toolkit] #473: Add support for parameter file scripts
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Sat Jul 16 18:14:41 CDT 2011
#473: Add support for parameter file scripts
-------------------------+--------------------------------------------------
Reporter: hinder | Owner: eschnett
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: SimFactory | Version:
Keywords: |
-------------------------+--------------------------------------------------
It is often useful to specify simulations by higher-level descriptions
than Cactus parameter files. For example, when performing a convergence
test, many parameters might change between simulations at different
resolutions, and changing them all manually is tedious and error-prone.
Similarly, it can be very useful to set parameters to values computed from
simple expressions. For this reason, I usually use a "parameter file
script" as my basic description of a simulation.
A parameter file script is a file with a ".rpar" extension which, when
executed, generates a file in the same place but with a ".par" extension.
The resulting file should be a valid simfactory parameter file. The
attached patch adds support in SimFactory for these scripts. Use a script
in place of a parameter file when invoking SimFactory. When a simulation
is run, the script will be executed and the resulting parameter file will
be used by Cactus. Also attached is an example of a parameter file script
written in Perl. It looks exactly like a Cactus parameter file apart from
a header and footer, and $-replacements in the main body.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/473>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list