From 11b25d5009069edb871dc4fbfc8292810e78deff Mon Sep 17 00:00:00 2001 From: Chell Date: Tue, 19 Sep 2023 16:38:48 +0200 Subject: [PATCH] fix format --- notebooks/mpi_tutorial.ipynb | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/notebooks/mpi_tutorial.ipynb b/notebooks/mpi_tutorial.ipynb index 32447a5..4dd3fd8 100644 --- a/notebooks/mpi_tutorial.ipynb +++ b/notebooks/mpi_tutorial.ipynb @@ -88,6 +88,24 @@ "source": [ "### Installing MPI in Julia\n", "\n", + "The Jupyter Julia kernel installed by IJulia activates the folder where the notebook is located as the default environment, which causes the main process and the worker processes to not share the same environment. Therefore, we need to set the environment as the global environment." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b05eda65-bb13-4bbb-98e2-3e2e70b14c46", + "metadata": {}, + "outputs": [], + "source": [ + "] activate" + ] + }, + { + "cell_type": "markdown", + "id": "6d9f5cd9-f672-43ed-b65a-4b29060ded3e", + "metadata": {}, + "source": [ "MPI can be installed as any other Julia package using the package manager." ] }, @@ -1018,7 +1036,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Julia 1.9.0", + "display_name": "Julia 1.9.3", "language": "julia", "name": "julia-1.9" }, @@ -1026,7 +1044,7 @@ "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.9.0" + "version": "1.9.3" } }, "nbformat": 4,