Skip to content

Commit

Permalink
Fonctions et méthodes du chapitre 3
Browse files Browse the repository at this point in the history
  • Loading branch information
plstonge committed May 16, 2024
1 parent 7930f09 commit c6679fe
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions 99-references.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,28 @@
"Initialisation | [`MPI_Init()`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#subsection.11.2.1) | [`MPI.Init`](https://mpi4py.readthedocs.io/en/latest/reference/mpi4py.MPI.Init.html#mpi4py.MPI.Init)\n",
"Finalisation | [`MPI_Finalize()`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#subsection.11.2.2) | [`MPI.Finalize`](https://mpi4py.readthedocs.io/en/latest/reference/mpi4py.MPI.Finalize.html#mpi4py.MPI.Finalize)\n",
"Avortement | [`MPI_Abort()`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#subsection.11.4.2) | `sys.exit(None)`\n",
"| |\n",
"Communicateur | [`MPI_COMM_WORLD`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#section.11.2) | [`MPI.COMM_WORLD`](https://mpi4py.readthedocs.io/en/latest/reference/mpi4py.MPI.COMM_WORLD.html)\n",
"Rang | [`MPI_Comm_rank`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#page=362) | [`MPI.Comm.Get_rank`](https://mpi4py.readthedocs.io/en/latest/reference/mpi4py.MPI.Comm.html#mpi4py.MPI.Comm.Get_rank)\n",
"Nombre de processus | [`MPI_Comm_size`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#subsection.7.4.1) | [`MPI.Comm.Get_size`](https://mpi4py.readthedocs.io/en/latest/reference/mpi4py.MPI.Comm.html#mpi4py.MPI.Comm.Get_size)\n",
"Types de données | [`MPI_CHAR`, ...](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#page=76) | [Sérialisation](https://fr.wikipedia.org/wiki/S%C3%A9rialisation) automatique"
"Nombre de processus | [`MPI_Comm_size`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#subsection.7.4.1) | [`MPI.Comm.Get_size`](https://mpi4py.readthedocs.io/en/latest/reference/mpi4py.MPI.Comm.html#mpi4py.MPI.Comm.Get_size)"
]
},
{
"cell_type": "markdown",
"id": "43582896-1cf2-429d-8d24-1daa79850e1f",
"metadata": {},
"source": [
" Concept | C/Fortran | Python ([`mpi4py`](https://mpi4py.readthedocs.io/en/latest/index.html))\n",
":-------:|:----------|:-------\n",
"Types de données | [`MPI_CHAR`, ...](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#page=76) | [Sérialisation](https://fr.wikipedia.org/wiki/S%C3%A9rialisation) automatique\n",
"| |\n",
"Envoi standard | [`MPI_Send`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#section.3.2) | [`MPI.Comm.send`](https://mpi4py.readthedocs.io/en/latest/reference/mpi4py.MPI.Comm.html#mpi4py.MPI.Comm.send)\n",
"Envoi bloquant | [`MPI_Ssend`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#page=70) | [`MPI.Comm.Send`](https://mpi4py.readthedocs.io/en/latest/reference/mpi4py.MPI.Comm.html#mpi4py.MPI.Comm.Send)\n",
"Réception (bloquante) | [`MPI_Recv`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#subsection.3.2.4) | [`MPI.Comm.recv`](https://mpi4py.readthedocs.io/en/latest/reference/mpi4py.MPI.Comm.html#mpi4py.MPI.Comm.recv)\n",
"| |\n",
"Envoi non-bloquant | [`MPI_Isend`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#subsection.3.7.2) | [`MPI.Comm.isend`](https://mpi4py.readthedocs.io/en/latest/reference/mpi4py.MPI.Comm.html#mpi4py.MPI.Comm.isend)\n",
"Réception non-bloquante | [`MPI_Irecv`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#page=117) | [`MPI.Comm.irecv`](https://mpi4py.readthedocs.io/en/latest/reference/mpi4py.MPI.Comm.html#mpi4py.MPI.Comm.irecv)\n",
"Attendre la communication | [`MPI_Wait`](https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report.pdf#subsection.3.7.3) | [`MPI.Request.wait`](https://mpi4py.readthedocs.io/en/latest/reference/mpi4py.MPI.Request.html#mpi4py.MPI.Request.wait)"
]
},
{
Expand Down

0 comments on commit c6679fe

Please sign in to comment.