@@ -115,15 +115,21 @@ jobs:
115115 run : |
116116 MODIN_ENGINE=dask python -c "import modin.pandas as pd; print(pd.DataFrame([1,2,3]))"
117117 MODIN_ENGINE=ray python -c "import modin.pandas as pd; print(pd.DataFrame([1,2,3]))"
118- # - name: Ensure MPI engine start up
119- # Install a working MPI implementation beforehand so mpi4py can link to it.
120- # TODO(https://github.com/modin-project/modin/issues/7421): Find a
121- # way to make MPI installed via APT work. Then uncomment this section.
122- # run: |
123- # sudo apt install libmpich-dev
124- # python -m pip install -e ".[mpi]"
125- # MODIN_ENGINE=unidist UNIDIST_BACKEND=mpi mpiexec -n 1 python -c "import modin.pandas as pd; print(pd.DataFrame([1,2,3]))"
126- # if: matrix.os == 'ubuntu'
118+ - name : Ensure MPI engine start up
119+ # Install a working MPI implementation beforehand so mpi4py can link to it
120+ run : |
121+ sudo apt-get update
122+ sudo apt-get install software-properties-common
123+
124+ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu jammy main universe restricted multiverse"
125+ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu jammy-updates main universe restricted multiverse"
126+ sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu jammy-security main universe restricted multiverse"
127+ sudo apt-get update
128+
129+ sudo apt-get install libmpich-dev=4.0-3 libmpich12=4.0-3 mpich=4.0-3
130+ python -m pip install -e ".[mpi]"
131+ MODIN_ENGINE=unidist UNIDIST_BACKEND=mpi mpiexec -n 1 python -c "import modin.pandas as pd; print(pd.DataFrame([1,2,3]))"
132+ if : matrix.os == 'ubuntu'
127133
128134 test-internals :
129135 needs : [lint-flake8, python-filter]
0 commit comments