[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ATLAS version 3.2 available
Greetings! Small patch to config.c to better detect number of
processors on Linux: (a k6 single cpu showed up as ncpu=2 before).
@@ -1818,7 +1843,7 @@
}
else
{
- fnam = CmndResults(targ, "fgrep processor /proc/cpuinfo");
+ fnam = CmndResults(targ, "grep '^processor' /proc/cpuinfo");
if (fnam) ncpu = fNumLines(fnam);
}
break;
Take care,
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah