mpi:  support required threads and use deps for mpi packages