Skip to content

Commit

Permalink
Merge pull request #1748 from mcbennet/nersc_constraint_param
Browse files Browse the repository at this point in the history
NERSC bundling
  • Loading branch information
ye-luo authored Jul 19, 2019
2 parents a9b079c + d9dc623 commit b14e1e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nexus/lib/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def bundle_jobs(self,relative=False):
time = Job.zero_time()
nodes = 0
cores = 0
constraint = None
thread_set = set()
queue_set = set()
presub_set = set()
Expand All @@ -160,6 +161,7 @@ def bundle_jobs(self,relative=False):
job = sim.job
nodes += job.nodes
cores += job.cores
constraint = job.constraint
time = job.max_time(time)
machine = job.get_machine()
machine_set.add(machine.name)
Expand Down Expand Up @@ -197,6 +199,7 @@ def bundle_jobs(self,relative=False):
threads = threads,
machine = machine,
presub = presub,
constraint = constraint,
**time
)
#end def bundle_jobs
Expand Down

0 comments on commit b14e1e1

Please sign in to comment.