Skip to content

Commit ea1217e

Browse files
committed
arch: Relax numa_domains
1 parent 6267971 commit ea1217e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devito/arch/archinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ def simd_items_per_reg(self, dtype):
734734
def numa_domains(self):
735735
try:
736736
return int(lscpu()['NUMA node(s)'])
737-
except KeyError:
737+
except (ValueError, TypeError, KeyError):
738738
warning("NUMA domain count autodetection failed")
739739
return 1
740740

0 commit comments

Comments
 (0)