User Tools

Site Tools


other:uvcdat:cdat_conda:cdat_2_12

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
other:uvcdat:cdat_conda:cdat_2_12 [2017/09/07 14:17]
jypeter More changes
other:uvcdat:cdat_conda:cdat_2_12 [2017/09/11 08:42]
jypeter [Cloning uvcdat to add specific packages for LSCE] Added a perm check step
Line 68: Line 68:
 Notes about [[https://​wiki.lsce.ipsl.fr/​pmip3/​doku.php/​other:​python:​starting#​conda-based_versions_of_uv-cdat|actually using the cdatm16 conda-based python]] Notes about [[https://​wiki.lsce.ipsl.fr/​pmip3/​doku.php/​other:​python:​starting#​conda-based_versions_of_uv-cdat|actually using the cdatm16 conda-based python]]
 </​WRAP>​ </​WRAP>​
 +
 +==== Cloning ====
  
 <​code>​bash-4.1$ conda create -n cdatm16 --clone uvcdat-2.12 <​code>​bash-4.1$ conda create -n cdatm16 --clone uvcdat-2.12
-Source: ​     /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.10 +Source: ​     /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​uvcdat-2.12 
-Destination:​ /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​cdatm15+Destination:​ /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​cdatm16
 [...] [...]
- 
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2 
-15G /​home/​share/​unix_files/​cdat/​miniconda2 
  
 bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​* bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2/​envs/​*
Line 87: Line 86:
 </​code>​ </​code>​
  
 +==== Checking the permissions ====
 +
 +The files of some packages may have been installed with incorrect access rights, and //may not be readable by everybody// (e.g. [[https://​github.com/​PCMDI/​pcmdi_metrics/​issues/​496|pcmdi_metrics/​issues/​496]] or [[https://​github.com/​UV-CDAT/​cdp/​issues/​21|cdp/​issues/​21]]). We have to check and correct this by hand:
 +
 +<​code>​(cdatm16) bash-4.1$ find uvcdat-2.12 \! -perm /g+r,o+r -ls
 +24774102 ​   4 -rw------- ​  3 jypeter ​ lsce          670 Apr  4 20:35 uvcdat-2.12/​lib/​python2.7/​site-packages/​cdp/​cdp_output.py
 +24774113 ​   4 -rw------- ​  3 jypeter ​ lsce         2436 Apr  4 20:35 uvcdat-2.12/​lib/​python2.7/​site-packages/​cdp/​cdp_parameter.pyc
 +24774111 ​   4 -rw------- ​  3 jypeter ​ lsce         1821 Apr  4 20:35 uvcdat-2.12/​lib/​python2.7/​site-packages/​cdp/​cdp_parser.py
 +[...]
 +24774098 ​   4 -rw------- ​  3 jypeter ​ lsce          234 Apr  4 20:35 uvcdat-2.12/​lib/​python2.7/​site-packages/​cdp-1.0.3-py2.7.egg-info/​PKG-INFO
 +24774089 ​   4 -rw------- ​  3 jypeter ​ lsce            1 Apr  4 20:35 uvcdat-2.12/​lib/​python2.7/​site-packages/​cdp-1.0.3-py2.7.egg-info/​not-zip-safe
 +
 +(cdatm16) bash-4.1$ chmod -R a+r cdatm16/​lib/​python2.7/​site-packages/​cdp* chmod -R a+r uvcdat-2.12/​lib/​python2.7/​site-packages/​cdp*</​code>​
  
 ===== Getting ready for a moving default CDAT ===== ===== Getting ready for a moving default CDAT =====
other/uvcdat/cdat_conda/cdat_2_12.txt · Last modified: 2017/09/19 14:17 by jypeter