示例#1
0
文件: gc.py 项目: DaMSL/ddc
  def __init__(self, fname):
    macrothread.__init__(self, fname, 'gc')

    # State Data for Simulation MacroThread -- organized by state
    self.setStream(None, None)
    self.addImmut('gcDelay')

    # Local Data to this running instance
    self.cpu = 1
    self.numnodes = 1

    #  Update Runtime Parameters
    self.modules.add('redis')
示例#2
0
文件: simmd.py 项目: DaMSL/ddc
    def __init__(self, fname, jobnum=None):
        macrothread.__init__(self, fname, 'sim')

        # State Data for Simulation MacroThread -- organized by state
        self.setStream('jcqueue', 'rawoutput')
        self.addImmut('simSplitParam')
        self.addImmut('simDelay')
        self.addImmut('terminate')
        self.addImmut('sim_conf_template')

        self.addAppend('launch')
        # Local Data to this running instance
        self.cpu = 1
        self.numnodes = 1

        #  Update Runtime Parameters
        self.modules.add('namd/2.10')
        self.modules.add('redis')
        # self.slurmParams['share'] = None

        self.slurmParams['cpus-per-task'] = PARALLELISM
示例#3
0
文件: simmd.py 项目: DaMSL/ddc
    def __init__(self, fname, jobnum=None):
        macrothread.__init__(self, fname, "sim")

        # State Data for Simulation MacroThread -- organized by state
        self.setStream("jcqueue", "rawoutput")
        self.addImmut("simSplitParam")
        self.addImmut("simDelay")
        self.addImmut("terminate")
        self.addImmut("sim_conf_template")

        self.addAppend("launch")
        # Local Data to this running instance
        self.cpu = 1
        self.numnodes = 1

        #  Update Runtime Parameters
        self.modules.add("namd/2.10")
        self.modules.add("redis")
        # self.slurmParams['share'] = None

        self.slurmParams["cpus-per-task"] = PARALLELISM