cpuinfo fails to recognize Core2 cpu on linux
System: gentoo linux (64 bits) on Core2 Duo. scipy fails to install since cpuinfo idendified the cpu as i686. Solution: I changed the linux_cpuinfo._is_Nocona() method to: def _is_Nocona(self): # return self.is_PentiumIV() and self.is_64bit() return re.match(r'Intel.*?Core.*\b', self.info[0]['model name']) is not None I am not sure that this solution is general enough. Here is my "cat /proc/cpuinfo" result: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping : 6 cpu MHz : 1596.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm bogomips : 4797.90 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping : 6 cpu MHz : 2394.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm bogomips : 4795.32 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual Nadav.
participants (1)
-
Nadav Horesh