Set the NumCPU to the cpu number of local machine