on Linux, this can be obtained from /proc
http://www.cyberciti.biz/faq/linux-display-cpu-information-number-of-cpus-and-their-speed/

On Feb 17, 4:51 pm, "Dr. David Kirkby" <[email protected]>
wrote:
> There seems to be a lot of problems that either are, or might be associated 
> with
> people using binaries on older CPUs than what they are made on. (e.g see the
> thread "A command which causes Sage to crash" on sage-support).
>
> It would be useful if there was a script or something which detected the
> incompatibility early, and warned someone immediately.
>
> On Solaris, I can do the following to see what instructions the CPU supports.
>
> drkir...@hawk:~$ isainfo -v
> 64-bit amd64 applications
>         sse4.2 sse4.1 ssse3 popcnt tscp cx16 mon sse3 pause sse2 sse fxsr mmx
>         cmov amd_sysc cx8 tsc fpu
> 32-bit i386 applications
>         sse4.2 sse4.1 ssse3 popcnt tscp ahf cx16 mon sse3 pause sse2 sse fxsr
>         mmx cmov sep cx8 tsc fpu
>
> I believe there is also a command which can list what instructions an 
> executable
> needs, though I can't be sure.
>
> Dave

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to