Commit a0f83d31 authored by Neil McGlohon's avatar Neil McGlohon
Browse files

Allocation Script: Add output name argument

parent bfd96daa
import sys
import random
alloc_file = 'allocation.conf'
if len(sys.argv) > 2:
alloc_file = sys.argv[2]
def contiguous_alloc(job_ranks, total_nodes):
f = open(alloc_file,'w')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment