User Tools

Site Tools


other:uvcdat:cdat_conda:cdat_8_2_1

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:cdat_8_2_1 [2021/03/03 12:15]
jypeter [Getting ready for a moving default CDAT] Improved
other:uvcdat:cdat_conda:cdat_8_2_1 [2021/03/05 20:41]
jypeter [Installing CDAT 8.2.1] started experimenting with nompi and strict options
Line 94: Line 94:
 The installation line below is based on information from the [[https://​github.com/​CDAT/​cdat/​wiki/​install#​for-linux-python|CDAT wiki page]]. See also [[https://​github.com/​CDAT/​cdat/​issues/​2265|Some questions and notes about 8.2.1 installation]] The installation line below is based on information from the [[https://​github.com/​CDAT/​cdat/​wiki/​install#​for-linux-python|CDAT wiki page]]. See also [[https://​github.com/​CDAT/​cdat/​issues/​2265|Some questions and notes about 8.2.1 installation]]
  
 +<​code>​
 +bash-4.2$ conda config --env --add channels conda-forge
 +bash-4.2$ conda config --set channel_priority strict
 +bash-4.2$ cat .condarc
 +channels:
 +  - conda-forge
 +  - defaults
 +$ conda config --describe channel_priority
 +
 +$ conda create -n cdat-8.2.1_nompi_py3 -c conda-forge -c cdat/​label/​v8.2.1 cdat "​libnetcdf=*=nompi_*"​ "​mesalib=18.3.1"​ "​python=3"</​code>​
  
 <​code>​$ conda create -n cdat-8.2.1_py3 -c conda-forge -c cdat/​label/​v8.2.1 cdat "​libnetcdf=*=mpi_openmpi_*"​ "​mesalib=18.3.1"​ "​python=3"</​code>​ <​code>​$ conda create -n cdat-8.2.1_py3 -c conda-forge -c cdat/​label/​v8.2.1 cdat "​libnetcdf=*=mpi_openmpi_*"​ "​mesalib=18.3.1"​ "​python=3"</​code>​
Line 174: Line 184:
 ==== Downloading cdms2/vcs test data ==== ==== Downloading cdms2/vcs test data ====
  
-You should download the test data (174M of data...) and use it in the example scripts that you want to distribute, and scripts you write for reporting the errors you find (if any...)+You should download the test data (174M of data...) and use it in the example scripts that you want to distribute, and scripts you write for reporting the errors you find (if any...). The downloaded data files will be available in: ''​vcs.sample_data''​
  
 <​code>​$ conda activate cdatm19_py3 <​code>​$ conda activate cdatm19_py3
Line 184: Line 194:
 (cdatm19_py3) $ du -sh /​home/​share/​unix_files/​cdat/​miniconda3_21-02/​envs/​cdatm19_py3/​share/​cdat/​sample_data (cdatm19_py3) $ du -sh /​home/​share/​unix_files/​cdat/​miniconda3_21-02/​envs/​cdatm19_py3/​share/​cdat/​sample_data
 174M    /​home/​share/​unix_files/​cdat/​miniconda3_21-02/​envs/​cdatm19_py3/​share/​cdat/​sample_data 174M    /​home/​share/​unix_files/​cdat/​miniconda3_21-02/​envs/​cdatm19_py3/​share/​cdat/​sample_data
-</​code>​+ 
 +$ python 
 +>>>​ import os, vcs 
 +>>>​ vcs.sample_data 
 +'/​home/​jypeter/​miniconda3_21-02/​envs/​cdat-8.2.1_py3/​share/​cdat/​sample_data'​ 
 + 
 +>>>​ os.listdir(vcs.sample_data) 
 +['​BlueMarble.ppm',​ '​clt.nc',​ '​geo.1deg.ctl',​ '​geo.1deg.gmp',​ '​geo.1deg.grb',​ ...]</​code>​
  
  
 ==== Packages that have no dependency problems ==== ==== Packages that have no dependency problems ====
  
-After cloning, we are ready to install some extra packages that may be requested by LSCE users+After [[#​cloning_the_base_cdat_environment_before_adding_specific_packages_for_lsce|cloning]], we are ready to install some extra packages that may be requested by LSCE users
  
   * We first try to install together as many packages as possible that don't require other channels than //​conda-forge//,​ and that don't request a downgrade of what is already installed   * We first try to install together as many packages as possible that don't require other channels than //​conda-forge//,​ and that don't request a downgrade of what is already installed
other/uvcdat/cdat_conda/cdat_8_2_1.txt · Last modified: 2024/07/02 10:44 by jypeter