Merge pull request #23 from imchell/env

Add setting global env command in MPI tutorial
This commit is contained in:
Francesc Verdugo 2023-09-19 17:41:49 +02:00 committed by GitHub
commit 118f7f8ecd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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."
]
},