How do you view thread/logical core ids in Yosemite?

Joined
Aug 20, 2015
Messages
1
Reaction score
0
Points
1
I have a Macbook Pro mid 2012 with 2 physical cores and 4 logical cores (2 logical cores for each physical core, due to hyperthreading). I wonder how to view the id of each logical core?

Context: (I give the context below, so if anyone familiar with the problem can provide insights)
I need the ids of logical cores for the ATLAS BLAS installation process. It is recommended in the installation guide to add this flag in the configure process for faster performance since ATLAS works better without hyperthreading: --force-tids="# <thread ID list>"
with:
- #: number of physical cores
- <thread ID list>: the thread IDs (one ID per core)
Example (in the installation guide): --force-tids="4 0 1 3 6"
I already tried --force-tids="2 0 1", --force-tids="2 0 2", --force-tids="2 1 2", --force-tids="2 1 3". But none of these four works.

Thank you very much :)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top