We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6cfcb8 commit 9df498eCopy full SHA for 9df498e
src/cmn_detect_cpu.py
@@ -285,7 +285,7 @@ def prepare_system(S):
285
if o_verbose:
286
print("%u CPUs, %u RN-F ports" % (S.n_cpu, len(S.rnf_ports)))
287
# We usually see a consistent number of CPUs per RN-F port, but not always
288
- if (S.n_cpu % len(S.rnf_ports)) != 0:
+ if S.rnf_ports and (S.n_cpu % len(S.rnf_ports)) != 0:
289
"""
290
A homogeneous system would have perhaps 1 or 2 CPUs per RN-F.
291
If the number does not divide equally, it could indicate that:
0 commit comments