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 [2017/03/09 15:33]
jypeter Started the conda+cdat section
other:python:starting [2017/03/10 17:03]
jypeter
Line 136: Line 136:
  
 <WRAP center round important 60%> <WRAP center round important 60%>
-The steps detailed in this section are for **UV-CDAT ​''​2.8.0'' ​and later**+\\ The steps detailed in this section are for [[other:​uvcdat:​cdat_conda:​|UV-CDAT 2.8.0 and later]]
 </​WRAP>​ </​WRAP>​
 +
 +Note: if you need to maintain a **local** version on **your** machine, you can read [[other:​uvcdat:​conda_notes|Installing and maintaining UV-CDAT with conda]] and the [[other:​uvcdat:​cdat_conda:​index#​versions|versions specific notes]].
  
 == Configuring .bashrc == == Configuring .bashrc ==
Line 143: Line 145:
 You should **add** the following line at the end of your ''​~/​.bashrc''​ configuration file (create the ''​~/​.bashrc''​ file if it does not exist yet). This will basically make sure that your shell can find the ''​conda''​ executable it needs for initializing CDAT, and define a ''​wp''​ alias that you can use to find where the ''​python''​ executable is located You should **add** the following line at the end of your ''​~/​.bashrc''​ configuration file (create the ''​~/​.bashrc''​ file if it does not exist yet). This will basically make sure that your shell can find the ''​conda''​ executable it needs for initializing CDAT, and define a ''​wp''​ alias that you can use to find where the ''​python''​ executable is located
  
-|  **LSCE** ​ | ''​source ~jypeter/​.conda_jyp''​ |+^  Server ​ ^  Line to add to ''​.bashrc'' ​ ^ 
 +|  **LSCE** ​ | ''​source ~jypeter/​.conda_jyp.sh''​\\ \\ Note:{{ :​other:​python:​conda_jyp.txt |conda_jyp}} content | 
 +|  **ciclad** ​ | ''​source ~jypmce/​.conda_jyp.sh''​ | 
  
-Note: when you add the specified line to your ''​bashrc''​ file, you will then always get the python supplied by conda, instead of the system'​s python, when you use ''​bash''​. If you don't like this permanent behavior, just type ''​source ~jyp_login_on_this_server/​.conda_jyp''​ in the bash shell where you want to use conda+CDAT, rather than adding it to the ''​.bashrc''​ file...+Note: when you add the specified line to your ''​bashrc''​ file, you will then always get the python supplied by conda, instead of the system'​s python, when you use ''​bash''​. If you don't like this permanent behavior, just type ''​source ~jyp_login_on_this_server/​.conda_jyp.sh''​ in the bash shell where you want to use conda+CDAT, rather than adding it to the ''​.bashrc''​ file...
  
 == Initializing UV-CDAT == == Initializing UV-CDAT ==
  
 <WRAP center round tip 60%> <WRAP center round tip 60%>
-When you initialize UV-CDAT, it will be available only the **current** window/​shell. In the other windows, you still get whatever your default python is. This should minimize potential side-effects+When you initialize UV-CDAT, it will be available only in the **current** window/​shell. In the other windows, you still get whatever your default python is. This should minimize potential side-effects
 </​WRAP>​ </​WRAP>​
  
Line 158: Line 163:
     * ''​source activate conda_env_name''​     * ''​source activate conda_env_name''​
     * Use the table below to determine which environments are available on which server     * Use the table below to determine which environments are available on which server
-  - Use CDAT +  - Use CDAT !
  
-^  Server  ​^  UV-CDAT version ​ ^  Environment name  ^ +^  UV-CDAT version ​ ​^ ​ Server ​ ​^ ​ Environment name\\ and activation line  ​^  ​Packages\\ (''​conda list''​) ​ 
- **LSCE** ​ ​| ​ [[:​other:​uvcdat:​cdat_conda:​cdat_2_8_0|2.8.0]] ​ |  **cdatm14**\\ ''​source activate cdatm14'' ​ |+|  [[:​other:​uvcdat:​cdat_conda:​cdat_2_8_0|2.8.0]] ​ |  **LSCE**\\ **ciclad** ​ |**cdatm14** (''​source activate cdatm14''​)  |  {{ :​other:​uvcdat:​cdat_conda:​conda_list_lsce_cdatm14_170310.txt |cdatm14 installed packages}} ​ |
  
 === Older versions of UV-CDAT === === Older versions of UV-CDAT ===
other/python/starting.txt · Last modified: 2024/05/30 13:41 by jypeter