read number of cpus for easier multicore testing