[ET Trac] [Einstein Toolkit] #1262: simfactory doesn't know how to handle 'old' simulations
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Sun Feb 17 21:56:16 CST 2013
#1262: simfactory doesn't know how to handle 'old' simulations
-------------------------+--------------------------------------------------
Reporter: knarf | Owner: eschnett
Type: defect | Status: review
Priority: major | Milestone: ET_2013_05
Component: SimFactory | Version: development version
Resolution: | Keywords:
-------------------------+--------------------------------------------------
Changes (by knarf):
* status: new => review
Comment:
I could restart using the following change, but I am not sure if this
would be the correct way to patch it:
{{{
Index: lib/simlib.py
===================================================================
--- lib/simlib.py (revision 1990)
+++ lib/simlib.py (working copy)
@@ -830,7 +830,7 @@
suggested_num_smt = int(GetMachineOption('num-smt'))
num_smt = simenv.OptionsManager.GetOption('num-smt')
if num_smt == None:
- if existingProperties != None:
+ if existingProperties != None and existingProperties.numsmt !=
None:
num_smt = existingProperties.numsmt
else:
num_smt = GetMachineOption('num-smt')
}}}
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1262#comment:1>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list