This commit is contained in:
nachocano
2014-12-03 14:21:42 -08:00
3 changed files with 15 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ class SlaveEntry:
if self.rank >= 0:
return self.rank
if self.jobid != 'NULL' and self.jobid in job_map:
job_map[self.jobid]
return job_map[self.jobid]
return -1
def get_neighbor(self, rank, nslave):