Skip to content

Commit

Permalink
fix an issue with queue-specific directives
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jan 25, 2024
1 parent a488510 commit ee70089
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/lib/CIME/XML/env_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,8 @@ def get_batch_directives(self, case, job, overrides=None, output_format='default
directive_prefix = None

roots = self.get_children("batch_system")
queue = self.get_value("JOB_QUEUE", subgroup=job)
# This must go through the case object
queue = case.get_value("JOB_QUEUE", subgroup=job)
if self._batchtype != "none" and not queue in self._get_all_queue_names():
unknown_queue = True
qnode = self.get_default_queue()
Expand Down

0 comments on commit ee70089

Please sign in to comment.