When to use "mpiprocs = " on request resources

When is it appropriate to add mpiprocs= when using #PBS -l select= to request resources? Like #PBS -l select=4:ncpus=32:mpiprocs=32 or #PBS -l select=4:ncpus=32 .