Wildcard PE

How to Limit the Number of Slots for Parallel Jobs Depending on the Selected Parallel Environment

Assume you have a 128 slots Grid Engine cluster and two different parallel environments (PE's) that are named mpi_small and mpi_large.

> qconf -sp mpi_small
pe_name mpi_small
slots 128

> qconf -sp mpi_large
pe_name mpi_small
slots 128

How is it possible to define a slot limit per job depending on the PE that is chosen when the overall number of slots for each PE type should not be limited. Let's say you want to limit mpi_small jobs to a maximum of 32 slots per job and mpi_large jobs to 64 slots per job. How can this be achieved?