Handling paralellism in generic libraries

The most portable library is the serial library. You can instruct ATLAS to build only the serial library by adding -t 0 to your configure flags.

Assuming all your platforms provide the same type of threading (eg., pthreads), then you may also build the threaded libraries. However, since ATLAS uses processor affinity, you will need to build the threaded libs to match the smallest number of processors of any machine you are targeting. You can limit the number of processors to compile for using the -t X configure flag, where X is the number of processors to tune for. So, if your smallest targeted core count was 2, you would add -t 2 to your configure flags.

<988>>


R. Clint Whaley 2016-07-28