JupyterNotebook: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 156: Line 156:
<li> Open a session in MobaXTerm (Session 1) and connect to a cluster. Then follow the instructions in section [[#Starting_Jupyter_Notebook| Starting Jupyter Notebook]]. At this point, you should have on your screen an URL with the following form.
<li> Open a session in MobaXTerm (Session 1) and connect to a cluster. Then follow the instructions in section [[#Starting_Jupyter_Notebook| Starting Jupyter Notebook]]. At this point, you should have on your screen an URL with the following form.
<pre>
<pre>
                        cluster
                  /‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\
http://cdr544.int.cedar.computecanada.ca:8888/?token=7ed7059fad64446f837567e32af8d20efa72e72476eb72ca
http://cdr544.int.cedar.computecanada.ca:8888/?token=7ed7059fad64446f837567e32af8d20efa72e72476eb72ca
       \____________________________________/        \______________________________________________/
       \____________________________________/        \______________________________________________/
                   hostname:port                                          token
                   hostname:port                                          token
</pre>
</pre>
<li> Open a second session in MobaXTerm (Session 2). Substitute <code><hostname:port></code> and <code><cluster></code> by their corresponding value from the URL you obtained in Session 1 (refer to the previous figure) and replace <code><username></code> by your Compute Canada username in the following command then run it.
<li> Open a second session in MobaXTerm (Session 2). Copy the following command and substitute <code><hostname:port></code> by its corresponding value from the URL you obtained in Session 1 (refer to the previous figure), <code><username></code> by your Compute Canada username, and <code><cluster></code> by the cluster you connected to in Session 1, then run it.
{{Command
{{Command
|prompt=[name@my_computer $]
|prompt=[name@my_computer $]
cc_staff
505

edits