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
other:python:starting [2023/02/01 10:29]
jypeter [Initialization] Updated the instruction
other:python:starting [2024/05/30 13:41]
jypeter [LSCE distribution] Updated
Line 161: Line 161:
 Available kernels: Available kernels:
   python3 ​    /​home/​share/​unix_files/​cdat/​miniconda3_21-02/​envs/​cdatm19_nompi_py3/​share/​jupyter/​kernels/​python3</​code>​   python3 ​    /​home/​share/​unix_files/​cdat/​miniconda3_21-02/​envs/​cdatm19_nompi_py3/​share/​jupyter/​kernels/​python3</​code>​
-  - Copy the existing kernel directory that you have found to your home directory. You can use the existing kernel name, or use a new kernel name (using only ASCII letters, numbers, ​ ''​-''​ hyphen, ''​.''​ period and ''​_''​ underscore)\\ <​code>​ >cp -pr /​home/​share/​unix_files/​cdat/​miniconda3_21-02/​envs/​cdatm19_nompi_py3/​share/​jupyter/​kernels/​python3 ~/​.local/​share/​jupyter/​kernels+  - Copy the existing kernel directory that you have found to your home directory. You can use the existing kernel name, or use a new kernel name (using only ASCII letters, numbers, ​ ''​-''​ hyphen, ''​.''​ period and ''​_''​ underscore)\\ <​code> ​>mkdir -p ~/​.local/​share/​jupyter/​kernels 
 + >cp -pr /​home/​share/​unix_files/​cdat/​miniconda3_21-02/​envs/​cdatm19_nompi_py3/​share/​jupyter/​kernels/​python3 ~/​.local/​share/​jupyter/​kernels
  >​cp -pr /​home/​share/​unix_files/​cdat/​miniconda3_21-02/​envs/​cdatm19_nompi_py3/​share/​jupyter/​kernels/​python3 ~/​.local/​share/​jupyter/​kernels/​my_favorite_kernel  >​cp -pr /​home/​share/​unix_files/​cdat/​miniconda3_21-02/​envs/​cdatm19_nompi_py3/​share/​jupyter/​kernels/​python3 ~/​.local/​share/​jupyter/​kernels/​my_favorite_kernel
  
Line 197: Line 198:
 ==== LSCE distribution ==== ==== LSCE distribution ====
  
-  * Contact: the LSCE system administrators ​([[help-lsce@lsce.ipsl.fr]])+  * Contact: the [[other:​newppl:​starting#​getting_help_from_the_lsce_system_administrators|LSCE system administrators]]
   * Where: //obelix// interactive servers and //obelix// cluster at LSCE   * Where: //obelix// interactive servers and //obelix// cluster at LSCE
   * Initialization type: [[other:​newppl:​starting#​using_module_to_access_optional_programs|module based]] + //conda//   * Initialization type: [[other:​newppl:​starting#​using_module_to_access_optional_programs|module based]] + //conda//
-  * What's installed: type ''​conda list''​ after initializing the LSCE distribution+  * What's installed: type ''​conda list''​ after initializing ​on of the LSCE distributions
  
 <​code>​ <​code>​
-$ module ​-t avail +$ module avail python 
-[...] +python/​2.7 ​     python/​2-ramces python/​3.9 ​     python/intel 
-python/2.7 +python/2.7.5    ​python/3        python/​4artic
-python/2.7.5 +
-python/​2-ramces +
-python/3 +
-python/3.9 +
-python/4artic +
-python/esmpy +
-python/intel +
-[...]+
  
 $ module load python/3.9 $ module load python/3.9
Line 221: Line 214:
  
 $ python $ python
-Python 3.9.(defaultSep 16 202113:09:58+Python 3.9.15 (mainNov 24 202214:31:59
-[GCC 7.5.0] :: Anaconda, Inc. on linux+[GCC 11.2.0] :: Anaconda, Inc. on linux
 Type "​help",​ "​copyright",​ "​credits"​ or "​license"​ for more information. Type "​help",​ "​copyright",​ "​credits"​ or "​license"​ for more information.
 >>>​ >>>​
other/python/starting.txt · Last modified: 2024/05/30 13:41 by jypeter