diff --git a/cime/cime_config/acme/machines/config_batch.xml b/cime/cime_config/acme/machines/config_batch.xml
index 2987a0468f95..556757d2c9cb 100644
--- a/cime/cime_config/acme/machines/config_batch.xml
+++ b/cime/cime_config/acme/machines/config_batch.xml
@@ -159,7 +159,8 @@
-l nodes={{ num_nodes }}:ppn={{ tasks_per_node }}
- shared
+ shared
+ batch
diff --git a/cime/utils/python/CIME/XML/env_batch.py b/cime/utils/python/CIME/XML/env_batch.py
index 58af0d1ba748..8ad9021aa9ba 100644
--- a/cime/utils/python/CIME/XML/env_batch.py
+++ b/cime/utils/python/CIME/XML/env_batch.py
@@ -278,6 +278,10 @@ def get_submit_args(self, case, job):
if flag == "-n" and rval<= 0:
rval = 1
+ if flag == "-q" and rval == "batch" and case.get_value("MACH") == "blues":
+ # Special case. Do not provide '-q batch' for blues
+ continue
+
if flag.rfind("=", len(flag)-1, len(flag)) >= 0 or\
flag.rfind(":", len(flag)-1, len(flag)) >= 0:
submitargs+=" %s%s"%(flag,str(rval).strip())