diff --git a/notebooks/mpi_tutorial.ipynb b/notebooks/mpi_tutorial.ipynb index 32447a5..3ad3811 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": "705c2439-c805-4818-be73-342182f7b7a0", + "metadata": {}, + "outputs": [], + "source": [ + "] activate" + ] + }, + { + "cell_type": "markdown", + "id": "e99c7676-989e-4e91-b65e-ebca2d5626a4", + "metadata": {}, + "source": [ "MPI can be installed as any other Julia package using the package manager." ] },