Example #1
0
def generateHeatRun():
    """
    Produce heat for 8 hours
    """
    ncpus = detectCPUs()
    doFunctionOnEntryList(generateHeat,
                          entryListFileName=None,
                          entryList=range(ncpus),
                          processes_max=ncpus,
                          max_time_to_wait=8 * 60 * 60)
Example #2
0
def generateHeatRun():
    """
    Produce heat for 8 hours
    """
    ncpus = detectCPUs()
    doFunctionOnEntryList(generateHeat,
                        entryListFileName = None,
                        entryList = range(ncpus),
                        processes_max = ncpus,
                        max_time_to_wait = 8 * 60 * 60)
Example #3
0
 def test_detectCPUs(self):
     x = detectCPUs()
     nTdebug("detectCPUs: %s" % x)
     self.assertTrue(x)
Example #4
0
 def test_detectCPUs(self):
     x = detectCPUs()
     nTdebug("detectCPUs: %s" % x)
     self.assertTrue(x)