diff --git a/components/eamxx/scripts/test_all_scream.py b/components/eamxx/scripts/test_all_scream.py index 53759eac53f..8809aeb7f67 100644 --- a/components/eamxx/scripts/test_all_scream.py +++ b/components/eamxx/scripts/test_all_scream.py @@ -402,6 +402,9 @@ def get_taskset_resources(self, test, for_compile=True): ############################################################################### res_name = "compile_res_count" if for_compile else "testing_res_count" + slurm_vars = "\n".join(f"{key}: {value}" for key, value in os.environ.items() if key.startswith('SLURM')) + print(f"SLURM env vars:\n{slurm_vars}") + if not for_compile and self.on_cuda(): # For GPUs, the cpu affinity is irrelevant. Just assume all GPUS are open affinity_cp = list(range(self._ctest_max_jobs))