diff --git a/devito/arch/archinfo.py b/devito/arch/archinfo.py index ca3c52dd63..9681135871 100644 --- a/devito/arch/archinfo.py +++ b/devito/arch/archinfo.py @@ -734,7 +734,7 @@ def simd_items_per_reg(self, dtype): def numa_domains(self): try: return int(lscpu()['NUMA node(s)']) - except KeyError: + except (ValueError, TypeError, KeyError): warning("NUMA domain count autodetection failed") return 1