extended basic-python-solution for mpi jobs