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)
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)
def test_detectCPUs(self): x = detectCPUs() nTdebug("detectCPUs: %s" % x) self.assertTrue(x)