User Tools

Site Tools


other:uvcdat:cdat_conda:index

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:uvcdat:cdat_conda:index [2017/02/24 09:31]
jypeter Added section with packages that have a dependency problem
other:uvcdat:cdat_conda:index [2019/03/07 12:24]
jypeter [Installed versions] Added link to 8.1
Line 2: Line 2:
  
 <WRAP center round important 60%> <WRAP center round important 60%>
-This page describes the conda-based versions of UV-CDAT, 2.8.0 and later installed by JYP+This page describes the conda-based versions of UV-CDAT, ​''​2.8.0'' ​and laterinstalled by JYP
  
-For versions up to 2.1, check the [[.:installed|UV-CDAT versions installed by JYP]] +Follow the instructions about the [[other:python:starting#​conda-based_versions_of_uv-cdat|conda-based versions of UV-CDAT ​initialization]] for actually using a specific version
-</​WRAP>​ +
- +
-===== Useful links ===== +
- +
-  * [[http://​uvcdat.llnl.gov/​|Official CDAT site]] +
-  * [[https://​github.com/​UV-CDAT/​uvcdat/​wiki/​|CDAT wiki]] +
-  * [[https://​github.com/​UV-CDAT|CDAT @ github]] +
-    * [[https://​github.com/​UV-CDAT/​cdms|cdms]] +
-    * [[https://​github.com/​UV-CDAT/​cdtime|cdtime]] +
-    * [[https://​github.com/​UV-CDAT/​vcs|vcs]] +
-    * [[https://​github.com/​UV-CDAT/​cdutil|cdutil]] +
-    * [[https://​github.com/​UV-CDAT/​genutil|genutil]] +
- +
-===== 2.8.0 =====+
  
-==== Installation ​with Anaconda2 ====+For technical installation details, check [[..:​conda_notes|Installing and maintaining UV-CDAT ​with conda]]
  
-<WRAP center round alert 60%> +For versions up to 2.1, check the [[..:​installed|UV-CDAT versions installed by JYP]]
-[[#​installation_with_miniconda2|Installing with Miniconda2]] rather than Anaconda2 will save disk space!+
 </​WRAP>​ </​WRAP>​
  
-<​code>#​ Keep a trace of what will be installed, with/​without conda-forge +===== Installed versions =====
-conda create --dry-run -n uvcdat-2.8.0 -c uvcdat uvcdat=2.8.0 > /​home/​scratch01/​jypeter/​uvcdat-2.8.0_install_dry_no-forge_160220.txt +
-conda create --dry-run -n uvcdat-2.8.0 -c conda-forge -c uvcdat uvcdat=2.8.0 > /​home/​scratch01/​jypeter/​uvcdat-2.8.0_install_dry_with-forge_160220.txt+
  
-# Do the actual installation +Listed with the most recent version at the top
-conda create -n uvcdat-2.8.0 -c conda-forge -c uvcdat uvcdat=2.8.0</​code>​+
  
-Lists of installed packages{{ :other:​uvcdat:​uvcdat-2.8.0_install_dry_with-forge_160220.txt ​|with conda-forge}} or {{ :​other:​uvcdat:​uvcdat-2.8.0_install_dry_no-forge_160220.txt |without conda-forge}}+  * [[.::cdat_8_1|8.1]]
  
-Size of ''/​home/​share/​unix_files/​cdat/​anaconda2'':​ +  ​[[.::​cdat_8_0_py2|8.0]]
-  ​before installation:​ **2.1G** +
-  * after installation**4.6G**+
  
-==== Installation with Miniconda2 ====+  * [[.:​cdat_2_12|2.12]]
  
-Noteafter installation,​ we use **//​only// ​2.7G** (details below), compared to the 4.6G of the Anaconda2 installation+  * [[.:cdat_2_10|2.10]]
  
-<​code>#​ Keep a trace of what will be installed (with conda-forge) +  * [[.:​cdat_2_8_0|2.8.0]]
-conda create --dry-run -n uvcdat-2.8.0 -c conda-forge -c uvcdat uvcdat=2.8.0 > /​home/​scratch01/​jypeter/​uvcdat-2.8.0_install_dry_with-forge_160220.txt+
  
-# Do the actual installation 
-conda create -n uvcdat-2.8.0 -c conda-forge -c uvcdat uvcdat=2.8.0</​code>​ 
  
-Lists of installed packages: {{ :​other:​uvcdat:​uvcdat-2.8.0_install_dry_with-forge_160221.txt |List of installed packages}} +===== Useful ​links =====
- +
-<​code>​bash-4.1$ conda info --envs +
-# conda environments:​ +
-+
-uvcdat-2.8.0 ​            /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0 +
-root                  *  /​home/​share/​unix_files/​cdat/​miniconda2 +
- +
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2 +
-2.7G    /​home/​share/​unix_files/​cdat/​miniconda2 +
- +
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​* +
-2.0G    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0 +
- +
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2/​pkgs +
-2.6G    /​home/​share/​unix_files/​cdat/​miniconda2/​pkgs +
- +
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2/​* +
-4.4M    /​home/​share/​unix_files/​cdat/​miniconda2/​bin +
-4.0K    /​home/​share/​unix_files/​cdat/​miniconda2/​conda-bld +
-276K    /​home/​share/​unix_files/​cdat/​miniconda2/​conda-meta +
-2.0G    /​home/​share/​unix_files/​cdat/​miniconda2/​envs +
-20K     /​home/​share/​unix_files/​cdat/​miniconda2/​etc +
-3.8M    /​home/​share/​unix_files/​cdat/​miniconda2/​include +
-99M     /​home/​share/​unix_files/​cdat/​miniconda2/​lib +
-4.0K    /​home/​share/​unix_files/​cdat/​miniconda2/​LICENSE.txt +
-665M    /​home/​share/​unix_files/​cdat/​miniconda2/​pkgs +
-16K     /​home/​share/​unix_files/​cdat/​miniconda2/​share +
-8.0K    /​home/​share/​unix_files/​cdat/​miniconda2/​ssl +
- +
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​* +
-56M     /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​bin +
-1.9M    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​conda-meta +
-48K     /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​etc +
-420K    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​imports +
-67M     /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​include +
-1.7G    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​lib +
-24K     /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​man +
-3.1M    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​mkspecs +
-16M     /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​mod +
-3.5M    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​plugins +
-57M     /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​share +
-4.3M    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​ssl +
-2.7M    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​tests +
-12K     /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​var +
-107M    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0/​vistrails</​code>​ +
- +
-==== Cloning uvcdat to add specific packages for LSCE ==== +
- +
-Note: using hard links, cloning a full environment only adds an extra 100M of disk space +
- +
-<​code>​bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2 +
-2.7G    /​home/​share/​unix_files/​cdat/​miniconda2 +
- +
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​* +
-2.0G    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0 +
- +
-bash-4.1$ conda create -n cdatm14 --clone uvcdat-2.8.0 +
-[...] +
- +
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2 +
-2.8G    /​home/​share/​unix_files/​cdat/​miniconda2 +
- +
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​* +
-2.0G    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​cdatm14 +
-82M     /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0</​code>​ +
- +
-=== Packages that have no dependency problems === +
- +
-After cloning, we are ready to install some extra packages that may be requested by LSCE users +
- +
-<​code>#​ Keep a trace of what will be installed +
-bash-4.1$ conda install --dry-run -n cdatm14 -c conda-forge -c uvcdat -c vacumm pillow pandas statsmodels seaborn scikit-image seawater gsw netcdf4 pyferret vacumm > /​home/​scratch01/​jypeter/​lsce-extra_01_install_160223.txt +
- +
-# Install... +
-bash-4.1$ conda install -n cdatm14 -c conda-forge -c uvcdat -c vacumm pillow pandas statsmodels seaborn scikit-image seawater gsw netcdf4 pyferret vacumm +
- +
-# Check the disk space after installation +
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2 +
-3.6G    /​home/​share/​unix_files/​cdat/​miniconda2 +
- +
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​* +
-2.4G    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​cdatm14 +
-82M     /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0 +
- +
-# Check the disk space again after cleaning +
-bash-4.1$ conda clean all +
- +
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2 +
-2.9G    /​home/​share/​unix_files/​cdat/​miniconda2 +
- +
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​* +
-2.4G    /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​cdatm14 +
-82M     /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.8.0</​code>​ +
- +
-Lists of installed packages: {{ :​other:​uvcdat:​lsce-extra_01_install_160223.txt |}} +
- +
-=== Other packages ​=== +
- +
-  * ''​shapely''​ request a downgrade of ''​geos''​ when installed from //​conda-forge//​ (see [[https://​github.com/​Toblerity/​Shapely/​issues/​472|github issue]]) but it will work when installed from the default repo +
-    * ''​conda install -n cdatm14 shapely''​ +
-    * We get a slightly older version (//​1.5.**16**-py27_0//​ instead of //​1.5.**17**-np111py27_2//​)+
  
 +  * [[http://​uvcdat.llnl.gov/​|Official CDAT site]]
 +  * [[https://​github.com/​UV-CDAT/​uvcdat/​wiki/​|CDAT wiki]]
 +  * [[https://​github.com/​UV-CDAT|CDAT @ github]]
 +    * [[https://​github.com/​UV-CDAT/​cdms|cdms]]
 +    * [[https://​github.com/​UV-CDAT/​cdtime|cdtime]]
 +    * [[https://​github.com/​UV-CDAT/​vcs|vcs]]
 +    * [[https://​github.com/​UV-CDAT/​cdutil|cdutil]]
 +    * [[https://​github.com/​UV-CDAT/​genutil|genutil]]
 /* standard page footer */ /* standard page footer */
  
other/uvcdat/cdat_conda/index.txt · Last modified: 2024/03/22 09:56 by jypeter