diff --git a/docs.it4i/software/mpi/mpi4py-mpi-for-python.md b/docs.it4i/software/mpi/mpi4py-mpi-for-python.md index bbd3a36f64266b22a7e28a9454694bafea635719..566b96e1b81648bccb2d9b6d618a9d0882828519 100644 --- a/docs.it4i/software/mpi/mpi4py-mpi-for-python.md +++ b/docs.it4i/software/mpi/mpi4py-mpi-for-python.md @@ -1,6 +1,3 @@ -!!!warning - This page has not been updated yet. The page does not reflect the transition from PBS to Slurm. - # MPI4Py (MPI for Python) ## Introduction @@ -16,9 +13,10 @@ MPI4Py is available in standard Python modules on the clusters. MPI4Py is built for OpenMPI or Intel MPI. Before you start with MPI4Py, you need to load the mpi4py module. ```console -$ ml av mpi4py -------------------------------------------------------- /apps/modules/mpi ------------------------------------------------------- - mpi4py/3.1.1-gompi-2020b mpi4py/3.1.1-intel-2020b (D) +$ ml av mpi4py + +-------------------------------------------------------------------- /apps/modules/lib --------------------------------------------------------------------- + mpi4py/3.1.4-gompi-2022b mpi4py/3.1.4-gompi-2023a mpi4py/3.1.5-gompi-2023b (D) ``` !!! warning "Flavours" @@ -51,8 +49,8 @@ $ mpirun python hello_world.py Execute the above code as: ```console -$ qsub -q qprod -l select=4:ncpus=128:mpiprocs=128:ompthreads=1 -I -A PROJECT_ID -$ ml mpi4py/3.1.1-intel-2020b # or mpi4py/3.1.1-gompi-2020b +$ salloc -p qcpu -A PROJECT_ID --nodes=4 --ntasks-per-node=128 --cpus-per-task=1 +$ ml mpi4py/3.1.5-gompi-2023b ``` ### Hello World!