Skip to content

Commit

Permalink
arch: Relax numa_domains
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioLuporini committed Dec 20, 2024
1 parent 6267971 commit ea1217e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devito/arch/archinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ea1217e

Please sign in to comment.