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 revisionPrevious revision
Next revision
Previous revision
other:uvcdat:cdat_conda:cdat_2_12 [2017/09/07 16:17] – More changes jypeterother:uvcdat:cdat_conda:cdat_2_12 [2017/09/19 16:17] (current) – What was changed here? Maybe the part about downgrading numpy? jypeter
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 =====
Line 108: Line 120:
 174M /home/share/unix_files/cdat/miniconda2/envs/cdatm16/share/uvcdat/sample_data 174M /home/share/unix_files/cdat/miniconda2/envs/cdatm16/share/uvcdat/sample_data
 </code> </code>
 +
 +==== Downgrading numpy ====
 +
 +
 +<code>bash-4.1$ conda install -n cdatm16 -c conda-forge -c pcmdi -c uvcdat numpy=1.12
 +Fetching package metadata ...............
 +Solving package specifications: .
 +
 +Package plan for installation in environment /home/share/unix_files/cdat/miniconda2/envs/cdatm16:
 +
 +The following NEW packages will be INSTALLED:
 +
 +    blas:         1.1-openblas              conda-forge
 +    openblas:     0.2.19-2                  conda-forge
 +
 +The following packages will be UPDATED:
 +
 +    binaryio:     2.12-np113py27h8073811_0  uvcdat      --> 2.12-np112py27h5813a3b_0      uvcdat     
 +    cdms2:        2.12-np113py27_0          conda-forge --> 2.12-np112py27_0              conda-forge
 +    cdtime:       2.12-np113py27_2          conda-forge --> 2.12-np112py27_2              conda-forge
 +    cssgrid:      2.12-np113py27h3898552_0  uvcdat      --> 2.12-np112py27hf1c8260_0      uvcdat     
 +    dsgrid:       2.12-np113py27h9d524be_0  uvcdat      --> 2.12-np112py27h822527b_0      uvcdat     
 +    genutil:      2.12-np113py27_0          conda-forge --> 2.12-np112py27_0              conda-forge
 +    lmoments:     2.12-np113py27h5574120_0  uvcdat      --> 2.12-np112py27h665d648_0      uvcdat     
 +    matplotlib:   1.5.3-np113py27_8         conda-forge --> 2.0.0-np112py27_2             conda-forge
 +    natgrid:      2.12-np113py27h481ab8b_0  uvcdat      --> 2.12-np112py27h569c149_0      uvcdat     
 +    ort:          2.12-np113py27hd89025a_0  uvcdat      --> 2.12-np112py27h964b06a_0      uvcdat     
 +    regridpack:   2.12-np113py27hf1cacc0_0  uvcdat      --> 2.12-np112py27h6a169cd_0      uvcdat     
 +    scikit-learn: 0.19.0-np113py27_0                    --> 0.19.0-py27_blas_openblas_201 conda-forge [blas_openblas]
 +    scipy:        0.19.1-np113py27_0                    --> 0.19.1-py27_blas_openblas_202 conda-forge [blas_openblas]
 +    shgrid:       2.12-np113py27h2504d4d_0  uvcdat      --> 2.12-np112py27h6f2dc27_0      uvcdat     
 +    trends:       2.12-np113py27hedb240a_0  uvcdat      --> 2.12-np112py27he3ac0c2_0      uvcdat     
 +    uvcmetrics:   2.2.1-np113py27h151233a_0 uvcdat      --> 2.2.1-np112py27_0             uvcdat     
 +    zonalmeans:   2.12-np113py27h96f9f80_0  uvcdat      --> 2.12-np112py27hbce4e2c_0      uvcdat     
 +
 +The following packages will be SUPERCEDED by a higher-priority channel:
 +
 +    numpy:        1.13.1-py27_0                         --> 1.12.1-py27_blas_openblas_200 conda-forge [blas_openblas]
 +
 +Proceed ([y]/n)?</code>
 +
  
  
other/uvcdat/cdat_conda/cdat_2_12.1504793827.txt.gz · Last modified: 2017/09/07 16:17 by jypeter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki