added option to specify # of cpus so that job slots can be increased where appropriate