How to set available threads for each resulting job in mpi?

Have you looked at this thread? Mumps in parallel slower than in serial.