Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear up DelftBlue tutorial #359

Merged
merged 2 commits into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/source/indepth_tutorial/mpi-evaluator.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,9 @@
"module load py-mpi4py\n",
"module load py-pip\n",
"\n",
"pip install --user ema_workbench\n",
"pip install --user --upgrade ema_workbench\n",
"\n",
"mpiexec -n 1 python3 example_mpi_lake_model.py\n",
"mpiexec -n 1 python3 ema_example_model.py\n",
"```\n",
"\n",
"Modify the script to suit your needs:\n",
Expand Down Expand Up @@ -340,13 +340,13 @@
"\n",
"Create a new directory for this tutorial, for example `mkdir ema_mpi_test` and then `cd ema_mpi_test`\n",
"\n",
"Then, you want to send your Python file and SLURM script to DelftBlue. Open a **new** command line terminal, and then you can do this with `scp`:\n",
"Then, you want to send your Python file and SLURM script to DelftBlue. Make sure your files are all in one folder. Open a **new** command line terminal, `cd` in the folder where your files are, and then send the files with `scp`:\n",
"\n",
"```bash\n",
"scp -J <netid>@student-linux.tudelft.nl ema_example_model.py slurm_script.sh <netid>@login.delftblue.tudelft.nl:/scratch/<netid>/ema_mpi_test\n",
"```\n",
"\n",
"Before scheduling the SLURM script, we first have to make it executable:\n",
"Now go back to your original cmd window, on which you logged in on DelftBlue. Before scheduling the SLURM script, we first have to make it executable:\n",
"\n",
"```bash\n",
"chmod +x slurm_script.sh\n",
Expand Down
Loading