[ET Trac] [Einstein Toolkit] #998: The --define option does not work

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Aug 3 04:30:41 CDT 2012


#998: The --define option does not work
----------------------+-----------------------------------------------------
  Reporter:  alibeck  |       Owner:     
      Type:  defect   |      Status:  new
  Priority:  major    |   Milestone:     
 Component:  Other    |     Version:     
Resolution:           |    Keywords:     
----------------------+-----------------------------------------------------

Comment (by alibeck):

 A fix is available, and checked in into the trunk, because it requires
 further testing.

  The following changes where required:

  1) in simsubs.py n the set function: disable the if condition

    #        if self.PresetMacros.has_key(define):


  2) in simrestart.py in the functions submit and run,
     added the dict DefineDatabase.PresetMacros to the
     dict new_properties.

  Doing so, it is possible to add several --defines to a
  simfactory submit and / or run. However, because I am not
  sure about any side effects of the change in simsubs, I
  am checking in this changes only to the trunk branch
  right now.

 Alexander

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


More information about the Trac mailing list