Here is a step-by-step guide on how to install and configure your Jupyter notebook on Zeus HPC.
Login to HPC’s login node and set up your user environment. This is necessary if you need to have additional python packages installed. First, we load the python module, for the operating system to “know” where the python interpreter and conda distribution is located. We also check which is the python version installed:
5. OK, that’s done. Now, next time when we login to HPC or any HPC compute node and want to use our “myenv” environment, we just need to say in the shell:
module load python/last
conda activate myenv
We can also notice that installing last package, did upgrade our python interpreter:
6. [Optional] If we wanted to use a particular version of python in our “user” environment (e.g. some packages may require a exact version of python or of some other packages etc), we can mention that at the environment creation step:
condacreate--namepython2python=2.7
If we messed up something, we can just remove our environment and start a new one again:
conda env remove --name myenv
6. Now, assuming all is fine, let’s create ipython kernel for Jupyter in our environment “myenv”.
Warning: Attempt to read property "comment_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 72
Warning: Attempt to read property "comment_author_email" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 592
Warning: Attempt to read property "comment_post_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 593
Warning: Attempt to read property "comment_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 72
Warning: Attempt to read property "comment_author_email" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 592
Warning: Attempt to read property "comment_post_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 593
Warning: Attempt to read property "comment_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 72
Warning: Attempt to read property "comment_author_email" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 592
Warning: Attempt to read property "comment_post_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 593
Warning: Attempt to read property "comment_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 72
Warning: Attempt to read property "comment_author_email" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 592
Warning: Attempt to read property "comment_post_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 593
Warning: Attempt to read property "comment_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 72
Warning: Attempt to read property "comment_author_email" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 592
Warning: Attempt to read property "comment_post_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 593
Running Jupyter Notebook on HPC
Here is a step-by-step guide on how to install and configure your Jupyter notebook on Zeus HPC.
2. OK, now we can set up our own user environment, let’s call it “myenv” (arbitrary name)
3. Now we can activate the environment we created
4. Let’s install some python packages, which may be absent in the base environment. E.g. “jupyter” (can take some long tome):
5. OK, that’s done. Now, next time when we login to HPC or any HPC compute node and want to use our “myenv” environment, we just need to say in the shell:
We can also notice that installing last package, did upgrade our python interpreter:
6. [Optional] If we wanted to use a particular version of python in our “user” environment (e.g. some packages may require a exact version of python or of some other packages etc), we can mention that at the environment creation step:
If we messed up something, we can just remove our environment and start a new one again:
6. Now, assuming all is fine, let’s create ipython kernel for Jupyter in our environment “myenv”.
Now we can start Jupyter job, e.g. using
Alex