Browse Source

Fix off-by-one error in gen_manifest

The effect was that the cores used for the clients were not being
properly skipped in some cases
Ian Goldberg 1 year ago
parent
commit
4776d3ee86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gen_manifest.py

+ 1 - 1
gen_manifest.py

@@ -66,7 +66,7 @@ def generate_manifest(N, M, T, B, PRIVATE_ROUTE = True, priv_out=1, priv_in=1, p
 
 
     for s in range(1, M+1):
     for s in range(1, M+1):
         numa_end = numa_start + T -1
         numa_end = numa_start + T -1
-        if(numa_start < numa_limit and numa_end > numa_limit):
+        if(numa_start <= numa_limit and numa_end > numa_limit):
             numa_start = 40
             numa_start = 40
             numa_end = numa_start + T
             numa_end = numa_start + T
         numa_string = "-C{s}-{e}".format(s = str(numa_start), e = str(numa_end))
         numa_string = "-C{s}-{e}".format(s = str(numa_start), e = str(numa_end))