[ET Trac] [Einstein Toolkit] #1248: SimFactory should not silently disable thorns

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Feb 7 11:54:06 CST 2013


#1248: SimFactory should not silently disable thorns
-------------------------+--------------------------------------------------
  Reporter:  hinder      |       Owner:  eschnett
      Type:  defect      |      Status:  new     
  Priority:  major       |   Milestone:          
 Component:  SimFactory  |     Version:          
Resolution:              |    Keywords:          
-------------------------+--------------------------------------------------

Comment (by eschnett):

 Simfactory would call Cactus with a special option to test the parameter
 file. For this, it would run Cactus on the front end. There would be an
 MDB entry teaching Simfactory how to do this. On some machines, this
 probably can't work (cross-compiling), so it would be disabled there.

 Yes, this information should live in the thorn list. This way (since you
 have your own thorn list) you would never even have disabled the thorn.

 We already have comments in the beginning of the thorn list teaching
 people how to enable OpenCL. This could be formalised in the same way.

 I suggest the following syntax:

 !ENABLE [machine] = [thorn] [thorn] ...
 !DISABLE [machine] = [thorn] [thorn] ...

 This is reasonably similar to the current CRL syntax, and the meaning is
 immediately clear.

 Thorns that should be disabled by default should have a !DISABLED in front
 of them. In this way, Cactus will treat them as comments. The !ENABLE
 command would remove the !DISABLED, and the !DISABLE would add such a
 !DISABLED.

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


More information about the Trac mailing list