Select number of cores to run