How to determine the value for NTHREADS?
Thanks
cat /proc/cpuinfo | grep processor | wc -l
this will report the number of logical cpus on your machine.
The number of logical CPUs is a good start.
Note that future GCCs will include a -flto=auto option that makes NTHREADS unnecessary -- looking forward to that day!
Thanks. Close.