JupyterLab application directory is /opt/packages/anaconda3/share/jupyter/lab JupyterLab extension loaded from /opt/packages/anaconda3/lib/python3.8/site-packages/jupyterlab $ jupyter notebook -no-browser -ip=0.0.0.0 The one it settles on is the one it will report. Jupyter will attempt first to use port 8888, but if it is taken – by a different Jupyter user for example – it increases the port number by one and tries again, and repeats this until it finds a free port. The port number Jupyter uses on the compute node can be different each time a notebook is started. You will need it to make the connection between the compute node and your local machine. Pay attention to the port number you are given. From the output of that command, find the port that you are running on and your token. Start a Jupyter notebook and find the port number and token Find the hostname of the node you are on from the prompt, or type the hostname command. You will need the hostname when you are mapping a port on your local machine to the port on Bridges-2 compute node. Find the hostname of the node you are running on $ interact -N 1 -n 4Ī command prompt will appear when your session beginsĥ. You can vary the number of nodes and cores as needed. This interact command asks for one node, and 4 cores on that node. See the Running jobs section of the Bridges-2 User Guide for more information on the interact command and the options available. You may have to wait for nodes to be allocated to you. Get a Bridges-2 compute node allocated for you by using the interact command. Get a Bridges-2 compute node allocated for your use Use the –version flag with the jupyter and python commnds to be sure that you are using the versions of Jupyter and python that you expect. Double check the versions of python and Jupyter When you have identified the module that you want, load it by typing module load module-nameģ. Note that names that have a trailing (E) are extensions provided by other modules. O load the modules) use the module's full name. Package versions are managed by theįor detailed information about a specific "anaconda3" package (including how t This module can be loaded directly: module load anaconda2/2019.10 Programming languages for scientific computing, that aims to simplify To see what anaconda modules are available, use the module spider command: ~]$ module spider anacondaĪnaconda is a free and open-source distribution of the Python and R Load an anaconda module to put the latest version of anaconda and Jupyter in your path For more information, see the Connecting to Bridges-2 section of the Bridges-2 User Guide. See the OnDemand section of the Bridges-2 User Guide for more information on using Jupyter through OnDemand.įollow the steps below to run a Jupyter notebook on Bridges-2 using a Jupyter client on your local machine.Ĭonnect to Bridges-2 via ssh or gissh. You can also run Jupyter on Bridges-2 through the OnDemand web interface. This document explains how to run a Jupyter notebook on Bridges-2 using a Jupyter client on your local machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |