mpi dependency is optional