User Tools

Site Tools


other:python:starting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
other:python:starting [2022/08/11 12:26]
jypeter Added jupyter server section
other:python:starting [2022/09/28 13:46]
jypeter [CDAT]
Line 236: Line 236:
 == Initialization == == Initialization ==
  
-Read the [[https://​wiki.lsce.ipsl.fr/​pmip3/​doku.php/​other:​python:​starting#​ultra_quick-start_on_the_lsce_servers|Ultra quick-start on the LSCE servers]] above+Read the [[https://​wiki.lsce.ipsl.fr/​pmip3/​doku.php/​other:​python:​starting#​ultra_quick-start_on_the_interactive_lsce_servers|Ultra quick-start on the LSCE servers]] above
  
 Note: on the ciclad cluster, use ''​source ~jypmce/​.conda3_jyp.sh''​ to initialize conda Note: on the ciclad cluster, use ''​source ~jypmce/​.conda3_jyp.sh''​ to initialize conda
Line 313: Line 313:
   * Or if you are using the [[https://​intranet.lsce.ipsl.fr/​informatique/​fr/​vpn-forticlient.php|LSCE VPN]]   * Or if you are using the [[https://​intranet.lsce.ipsl.fr/​informatique/​fr/​vpn-forticlient.php|LSCE VPN]]
 ==== ipython notebook ==== ==== ipython notebook ====
 +
 +<WRAP center round tip 60%>
 +If you want to use ipython notebooks at LSCE, you should **use the [[other:​python:​starting#​lsce_jupyter_notebook_server|LSCE notebook server]]** rather than trying to use (and probably overloading) the interactive servers!
 +</​WRAP>​
 +
  
 <note warning>​FIXME Add a link to the new notebook page</​note>​ <note warning>​FIXME Add a link to the new notebook page</​note>​
Line 318: Line 323:
 [[https://​www.dataquest.io/​blog/​jupyter-notebook-tutorial/​|Jupyter Notebook for Beginners: A Tutorial]] [[https://​www.dataquest.io/​blog/​jupyter-notebook-tutorial/​|Jupyter Notebook for Beginners: A Tutorial]]
  
-The ipython notebook is a way to interact with python (and other supported interpreted languages) inside a web browser. You can mix //cells// with python commands, cells with the output of the python commands (possibly graphics generated by the commands), and text (using some wiki-like rich text format). This interactive web page, aka notebook, can be saved in a ''​my_notebook.ipynb''​ file and re-used later (e.g. the notebook provided in the [[other:​python:​jyp_steps#​part_1|introduction to Python, part 1]]).+The **ipython notebook is a way to interact with python (and other supported interpreted languages) inside a web browser**. You can mix //cells// with python commands, cells with the output of the python commands (possibly graphics generated by the commands), and text (using some wiki-like rich text format). This interactive web page, aka notebook, can be saved in a ''​my_notebook.ipynb''​ file and re-used later (e.g. the notebook provided in the [[other:​python:​jyp_steps#​part_1|introduction to Python, part 1]]).
  
 Starting the notebook server: ''​ipython notebook''​ Starting the notebook server: ''​ipython notebook''​
  
-<note warning>​**Warning!** When you start the notebook server, you will start a python process and a web browser, and a new python process will be started each time you open a new notebook.+<note warning> 
 +  * **Warning!** When you start the notebook server, you will start a python process and a web browser, and a new python process will be started each time you open a new notebook.
  
-Please make sure that you shutdown cleanly each notebook and the server when you are finished, in order not to clutter the local computer or remote server with lots of python processes (especially ​server shared by many users!).+  * Please make sure that you **shutdown cleanly each notebook and the server when you are finished**, in order not to clutter the local computer or remote server with lots of python processes (especially ​an interactive ​server shared by many users!).
  
-You may want to [[other:​newppl:​starting#​determining_the_load_of_a_linux_server|use the '​top'​ command]] in order to monitor what is happening</​note>​+  * You may want to [[other:​newppl:​starting#​determining_the_load_of_a_linux_server|use the '​top'​ command]] in order to monitor what is happening ​on the interactive server where you are using your notebook server 
 +</​note>​
  
 /* standard page footer */ /* standard page footer */
other/python/starting.txt · Last modified: 2023/05/17 08:10 by jypeter