Compare commits

8 Commits

Author SHA1 Message Date
Francesc Verdugo
8b9029c93f Merge pull request #72 from jvdtoorn/fix/mpi_collectives-deadlock-comm_dup
Some checks failed
CI / Julia 1.9 - ubuntu-latest - x64 - push (push) Failing after 1m34s
CI / Documentation (push) Successful in 6m32s
2025-09-24 07:34:23 +02:00
Jules van der Toorn
eb8cd31240 fix(mpi_collectives): prevent potential deadlock in MPI_Comm_dup example 2025-09-16 17:00:18 +02:00
Francesc Verdugo
62fcf5ae2e Merge pull request #71 from fverdugo/2025-26
Change julia kernel version for MPI collectives notebook
2025-09-15 17:30:47 +02:00
Francesc Verdugo
788d7f39d0 Merge pull request #70 from fverdugo/2025-26
Small fixes for lecture 03
2025-09-08 12:04:41 +02:00
Francesc Verdugo
42a485560e Merge pull request #69 from fverdugo/2025-26
Rephrase exercise 3 in notebook julia_basics
2025-09-05 15:18:16 +02:00
Francesc Verdugo
e7b6ba8407 Merge pull request #68 from MaartM/main
Typo in julia_basics
2025-09-04 16:23:17 +02:00
LowkeyLoki-0
ac8a44f6ab Fix typo in julia_basics description of higher-order functions 2025-09-03 15:59:17 +02:00
Francesc Verdugo
57c8db52eb Merge pull request #67 from fverdugo/2025-26
Changes for 2025-26
2025-08-27 11:42:34 +02:00
2 changed files with 5 additions and 3 deletions

View File

@@ -874,7 +874,7 @@
"source": [
"### Higher-order functions\n",
"\n",
"Higher order functions are functions that take and/or return other functions. And example is the `count` function in Julia.\n",
"Higher order functions are functions that take and/or return other functions. An example is the `count` function in Julia.\n",
"\n",
"For instance, we can pass a user-defined function to count the number of even elements in an array."
]

View File

@@ -771,9 +771,11 @@
" rank = MPI.Comm_rank(comm)\n",
" if rank == 2\n",
" sndbuf = [2]\n",
" MPI.Send(sndbuf, comm2; dest=3, tag=0)\n",
" req1 = MPI.Isend(sndbuf, comm2; dest=3, tag=0)\n",
" sndbuf = [1]\n",
" MPI.Send(sndbuf, comm; dest=3, tag=0)\n",
" req2 = MPI.Isend(sndbuf, comm; dest=3, tag=0)\n",
" MPI.Wait(req2)\n",
" MPI.Wait(req1)\n",
" end\n",
" if rank == 3\n",
" rcvbuf = zeros(Int,1)\n",