From ab904641aa7b499c14acb63d6546744c3ce4a057 Mon Sep 17 00:00:00 2001 From: Fabio Luporini Date: Thu, 19 Dec 2024 08:20:37 +0000 Subject: [PATCH] arch: Relax numa_domains --- devito/arch/archinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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