[ET Trac] [Einstein Toolkit] #1554: Want to define constants in parameter files

Einstein Toolkit trac-noreply at einsteintoolkit.org
Sat Mar 22 13:22:06 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 barry.wardell):

 An alternative which is already available is the rpar file format
 supported by SimFactory. That is, whenever SimFactory encounters a
 parameter file with the .rpar extension, it assumes it is executable and
 will produce a .par file with the same base name when executed. It then
 executes this file and runs Cactus with the generated .par file. This
 allows almost arbitrary flexibility, including constants and variables by
 writing rpar files in your language of choice (Python/Perl/etc.). There is
 an example of how this works in the sgw3d.rpar file in the McLachlan
 repository.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1554#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list