change to use cores insead of nodes/cpus