use NPROC to get number of processors