From bf705ea218ab84e5643a9e32115e0370ad3958b6 Mon Sep 17 00:00:00 2001 From: "Peter B. Robinson" Date: Thu, 26 Mar 2026 14:43:38 -0700 Subject: [PATCH] exception handling for cpx mode --- ats/atsMachines/fluxScheduled.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ats/atsMachines/fluxScheduled.py b/ats/atsMachines/fluxScheduled.py index 0d586ea..48c4cab 100755 --- a/ats/atsMachines/fluxScheduled.py +++ b/ats/atsMachines/fluxScheduled.py @@ -632,6 +632,8 @@ def within_cpx_allocation(self): # Handle the case where the command fails print(f"INFO: rocm-smi failed with error: {e}") found_cpx = False + except FileNotFoundError: + found_cpx = False return found_cpx