Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
jupyter_notebook [2018/02/16 22:42] – adminjupyter_notebook [2018/03/22 20:58] (Version actuelle) – supprimée admin
Ligne 1: Ligne 1:
-====== Jupyter Notebook (IPython) ====== 
-This tutorial explains the setup to run an Jupyter (IPython) Notebook on a computing node on the Lumiere cluster at the MesoFC Supercomputer Center and forward the port encrypted with SSH to the browser on a local laptop. 
- 
-===== How to? ===== 
-<note tip>The idea is to wrap Jupyter Notebook in SGE job by calling ''jupyer_notbook'' command. The job is executed in a computing node and we connect to the Notebook using SSH Tunel.</note>  
- 
-  - Within ''WORK'' directory run the command ''jupyer_notbook'' 
-  - Check if the job is running <code bash>$ qstat </code> 
-  - Look at  jupyter_$jobid.log SGE output file, if no errors the output looks like: <code> Starting Jupyter Notebook on port 26580 on the node1-30 server. 
-========================================================================= 
-      IF NO ERRORS SHOWN BELOW, AND BEFORE USING THE PROPOSED URL 
-      You need to setup an SSH tunnel from your local machine. 
- 
- 
-SSH tunnel command: ssh -NL 26580:node1-30:26580 kmazouzi@mesoshared.univ-fcomte.fr 
- 
-========================================================================= 
-jupyter-notebook is /Softs/lumiere/languages/python/2.7.11/bin/jupyter-notebook 
-[W 23:16:23.940 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended. 
-[I 23:16:23.954 NotebookApp] Serving notebooks from local directory: /Work/Users/kmazouzi 
-[I 23:16:23.955 NotebookApp] 0 active kernels 
-[I 23:16:23.956 NotebookApp] The Jupyter Notebook is running at: 
-[I 23:16:23.956 NotebookApp] http://[all ip addresses on your system]:26580/?token=79ac43411d945585a2b5bbddc1d3150aac8e3c0305f37603 
-[I 23:16:23.957 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). 
-[C 23:16:24.024 NotebookApp] 
- 
-    Copy/paste this URL into your browser when you connect for the first time, 
-    to login with a token: 
-        http://localhost:26580/?token=79ac43411d945585a2b5bbddc1d3150aac8e3c0305f37603 
-</code>   
  
  • jupyter_notebook.1518820932.txt.gz
  • Dernière modification : 2018/02/16 22:42
  • de admin