diff --git a/config/cesm/machines/config_batch.xml b/config/cesm/machines/config_batch.xml
index 2bbcb114465..7ec2f59cced 100644
--- a/config/cesm/machines/config_batch.xml
+++ b/config/cesm/machines/config_batch.xml
@@ -398,7 +398,7 @@
-l select={{ num_nodes }}:ncpus={{ max_tasks_per_node }}:mpiprocs={{ tasks_per_node }}:ompthreads={{ thread_count }}
- main
+ main
diff --git a/config/cesm/machines/config_machines.xml b/config/cesm/machines/config_machines.xml
index ad26d97e47e..0e022658e3c 100644
--- a/config/cesm/machines/config_machines.xml
+++ b/config/cesm/machines/config_machines.xml
@@ -1112,6 +1112,7 @@ This allows using a different mpirun command to launch unit tests
mpiexec
--label
+ --line-buffer
-n {{ total_tasks }}