build based on 20c92dc

This commit is contained in:
Documenter.jl
2024-10-01 05:36:40 +00:00
parent 1f3b2a4d2e
commit 208fed1dac
38 changed files with 86 additions and 86 deletions

View File

@@ -167,7 +167,7 @@
"```julia\n",
"using MPI\n",
"MPI.Init()\n",
"# Your MPI programm here\n",
"# Your MPI program here\n",
"MPI.Finalize() # Optional\n",
"```\n",
"\n",
@@ -176,7 +176,7 @@
"```julia\n",
"using MPI\n",
"MPI.Init(finalize_atexit=false)\n",
"# Your MPI programm here\n",
"# Your MPI program here\n",
"MPI.Finalize() # Mandatory\n",
"```\n",
"\n",
@@ -186,7 +186,7 @@
"#include <mpi.h>\n",
"int main(int argc, char** argv) {\n",
" MPI_Init(NULL, NULL);\n",
" /* Your MPI Programm here */\n",
" /* Your MPI Program here */\n",
" MPI_Finalize();\n",
"}\n",
"```\n",
@@ -612,7 +612,7 @@
"id": "4b455f98",
"metadata": {},
"source": [
"So, the full MPI program needs to be in the source file passed to Julia or the quote block. In practice, long MPI programms are written as Julia packages using several files, which are then loaded by each MPI process. For our simple example, we just need to include the definition of `foo` inside the quote block."
"So, the full MPI program needs to be in the source file passed to Julia or the quote block. In practice, long MPI programs are written as Julia packages using several files, which are then loaded by each MPI process. For our simple example, we just need to include the definition of `foo` inside the quote block."
]
},
{
@@ -920,7 +920,7 @@
" source = MPI.ANY_SOURCE\n",
" tag = MPI.ANY_TAG\n",
" status = MPI.Probe(comm,MPI.Status; source, tag)\n",
" count = MPI.Get_count(status,Int) # Get incomming message length\n",
" count = MPI.Get_count(status,Int) # Get incoming message length\n",
" println(\"I am about to receive $count integers.\")\n",
" rcvbuf = zeros(Int,count) # Allocate \n",
" MPI.Recv!(rcvbuf, comm, MPI.Status; source, tag)\n",
@@ -973,7 +973,7 @@
" if rank == 3\n",
" rcvbuf = zeros(Int,5)\n",
" MPI.Recv!(rcvbuf, comm, MPI.Status; source=2, tag=0)\n",
" # recvbuf will have the incomming message fore sure. Recv! has returned.\n",
" # recvbuf will have the incoming message fore sure. Recv! has returned.\n",
" @show rcvbuf\n",
" end\n",
"end\n",