[sage-support] Re: Processors Info for benchmarks on Sagenb: platform.processor()

2014-10-07 Thread Volker Braun
Probably depends on whether Python knows about your CPU id. On Haswell-E I 
get:

sage: import platform
sage: platform.processor()
'x86_64'



On Tuesday, October 7, 2014 3:26:04 PM UTC+1, P Purkayastha wrote:
>
> That command works here. Did you forget to import platform first?
>
> sage: import platform
> sage: platform.processor()
> 'Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz'
>
>
>
> On Tuesday, October 7, 2014 1:04:58 PM UTC+8, rach reb wrote:
>>
>> Dear all,
>>
>> I am trying to get information related to the processors used during some 
>> experiments I did using Sagenb's worksheet.  I need these kind of 
>> information to present my benchmarks.
>> I tried   platform.processor() but it did not work.
>> Could you please let me know how I could get those information.
>> Thanks.
>> Rach.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Processors Info for benchmarks on Sagenb: platform.processor()

2014-10-07 Thread P Purkayastha
That command works here. Did you forget to import platform first?

sage: import platform
sage: platform.processor()
'Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz'



On Tuesday, October 7, 2014 1:04:58 PM UTC+8, rach reb wrote:
>
> Dear all,
>
> I am trying to get information related to the processors used during some 
> experiments I did using Sagenb's worksheet.  I need these kind of 
> information to present my benchmarks.
> I tried   platform.processor() but it did not work.
> Could you please let me know how I could get those information.
> Thanks.
> Rach.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Processors Info for benchmarks on Sagenb: platform.processor()

2014-10-07 Thread Jori Mantysalo

On Mon, 6 Oct 2014, rach reb wrote:


I am trying to get information related to the processors used during some
experiments I did using Sagenb's worksheet.  I need these kind of
information to present my benchmarks.


At least on Linux you can say just

os.system("/bin/cat /proc/cpuinfo")

--
Jori Mäntysalo

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Processors Info for benchmarks on Sagenb: platform.processor()

2014-10-07 Thread rach reb
Dear all,

I am trying to get information related to the processors used during some 
experiments I did using Sagenb's worksheet.  I need these kind of 
information to present my benchmarks.
I tried   platform.processor() but it did not work.
Could you please let me know how I could get those information.
Thanks.
Rach.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.