[ET Trac] [Einstein Toolkit] #1287: Allow setting parameters at build time

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Mar 11 12:16:58 CDT 2013


#1287: Allow setting parameters at build time
-------------------------+--------------------------------------------------
 Reporter:  eschnett     |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  major        |   Milestone:     
Component:  Cactus       |     Version:     
 Keywords:               |  
-------------------------+--------------------------------------------------
 Allow setting parameter values at build time, enabling additional compiler
 optimisations. I measured that e.g. ML_BSSN runs 5% to 10% faster if its
 parameters are chosen at build time.

 This introduces macros CCTK_PARAMETER__${thorn}__${parameter}. If unset,
 the parameter value is taken from the parameter file (default). If set at
 compile time, e.g. via a -D option in CPPFLAGS, this overrides the
 parameter database, and DECLARE_CCTK_PARAMETERS will always use this
 value.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1287>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list