support numprocs and name expression