User Tools

Site Tools


other:uvcdat:cdat_conda:cdat_8_0_py2

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_0_py2 [2019/03/05 17:04]
jypeter Added the CLIMAF section
other:uvcdat:cdat_conda:cdat_8_0_py2 [2021/02/26 18:31]
jypeter Improved...
Line 18: Line 18:
 ==== Installing Miniconda3 ====  ==== Installing Miniconda3 ==== 
  
-We have installed a new version of Miniconda3 ​(steps below adapted from the [[other:uvcdat:​conda_notes#​installing_miniconda|installing miniconda]] instructions)+  * You don't need to be (and **you should not be**) //root// when you install Miniconda3. You just need enough disk space where you have write access 
 +  * If you are installing ​Miniconda3 ​in a Linux environment on a [[other:win10wsl|Windows 10 computer using Windows Subsystem for Linux (WSL)]], pay special attention to the instructions ​on the **WSL** lines
  
-  ​* Get the [[https://​repo.continuum.io/​miniconda/​Miniconda3-latest-Linux-x86_64.sh|Python 3.Linux 64-bit (bash installer)]] (unless there is a [[https://​conda.io/​miniconda.html|more recent version?​]]) +The steps below are adapted from the older (but with lots of extra and possibly useful details) [[other:​uvcdat:​conda_notes#​installing_miniconda|installing miniconda]] instructions 
-    * Find some temporary space on Linux or Windows + 
-      * Linux:''​cd /​home/​scratch01/​jypeter''​ +  ​* Get the [[https://​repo.anaconda.com/​miniconda/​Miniconda3-latest-Linux-x86_64.sh|Python 3.Linux 64-bit (bash installer)]] (unless there is a [[https://​conda.io/​miniconda.html|more recent version?​]]) 
-      * WSL: ''​cd /​mnt/​h/​Scratch/​jypeter/''​ (assuming that there is a ''​H:\Scratch\jypeter''​ directory) +    * Find some temporary space on Linux (or Windows, if you are using WSL) 
-    * ''​wget https://​repo.continuum.io/​miniconda/​Miniconda3-latest-Linux-x86_64.sh''​ (67 Mo15 Feb 2019)+      * e.g. Linux at LSCE:\\ ''​cd /​home/​scratch01/​<​your_login>​''​ 
 +      * e.g. WSLassuming that there is a ''​C:\Scratch\<​your_login>​''​ directory:\\ ''​cd /​mnt/​c/​Scratch/<​your_login>''​ 
 +    * Use ''​wget''​ to download the installer:​\\ ​''​wget https://​repo.anaconda.com/​miniconda/​Miniconda3-latest-Linux-x86_64.sh''​ (90 Mb26 Feb 2021)
   * Execute the installer   * Execute the installer
     * ''​bash Miniconda3-latest-Linux-x86_64.sh''​     * ''​bash Miniconda3-latest-Linux-x86_64.sh''​
       * Accept the license       * Accept the license
-      * Specify an explicit installation path **outside of the home directory**,​ with enough disk space (more than 3G if you are going to install ​UV-CDAT and some extra packages), preferably on a disk that is not backed up: +      * Specify an explicit installation path **outside of your //home// directory**,​ with enough disk space (more than 3 Gb if you are going to install CDAT and some extra packages), preferably on a disk that is not backed up: 
-        * Linux LSCE: ''/​home/​share/​unix_files/​cdat/​miniconda3''​ +        ​* Installations by //JYP//: 
-        * Linux ciclad: ''/​data/​jypmce/​cdat/​miniconda3''​+          ​* Linux at LSCE: ''/​home/​share/​unix_files/​cdat/​miniconda3'',​ or another subdirectory of ''/​home/​share/​unix_files/​cdat/​''​  
 +          * Linux on ciclad: ''/​data/​jypmce/​cdat/​miniconda3'',​ or another subdirectory of ''/​data/​jypmce/​cdat/​''​
         * WSL: installing to a directory that is not in ''/​home/''​ <wrap hi>does not work</​wrap>​ (e.g. ''/​mnt/​h/​CDAT/​miniconda3'',​assuming there is a ''​H:​\CDAT\''​ directory, does not work)\\ Need to accept the installation in the default location: ''/​home/​jypeter/​miniconda3''​         * WSL: installing to a directory that is not in ''/​home/''​ <wrap hi>does not work</​wrap>​ (e.g. ''/​mnt/​h/​CDAT/​miniconda3'',​assuming there is a ''​H:​\CDAT\''​ directory, does not work)\\ Need to accept the installation in the default location: ''/​home/​jypeter/​miniconda3''​
         * Resulting ''​miniconda3''​ directory size is 302M\\ <​code>​ >du -sh miniconda3         * Resulting ''​miniconda3''​ directory size is 302M\\ <​code>​ >du -sh miniconda3
Line 382: Line 386:
     * ''​conda install -n cdatm17_py2 -c stefraynaud -c conda-forge spanlib''​     * ''​conda install -n cdatm17_py2 -c stefraynaud -c conda-forge spanlib''​
     * Test: ''​python -c 'from spanlib.analyzer import Analyzer'​ ''​     * Test: ''​python -c 'from spanlib.analyzer import Analyzer'​ ''​
 +  ​
 +  * [[https://​climaf.readthedocs.io/​en/​latest/​|CliMAF]]:​ a Climate Model Assessment Framework
 +    * [[other:​uvcdat:​cdat_conda:​climaf_install|Installation notes]]
  
 ==== TODO ==== ==== TODO ====
Line 391: Line 398:
  
   * [[http://​wrf-python.readthedocs.io/​en/​latest/​|wrf-python]]:​ A collection of diagnostic and interpolation routines for use with output from the Weather Research and Forecasting (WRF-ARW) Model   * [[http://​wrf-python.readthedocs.io/​en/​latest/​|wrf-python]]:​ A collection of diagnostic and interpolation routines for use with output from the Weather Research and Forecasting (WRF-ARW) Model
-    * ''​conda install -n cdatm15 ​-c conda-forge wrf-python''​+    * ''​conda install -n cdatxxx ​-c conda-forge wrf-python''​
    
   * [[https://​glances.readthedocs.io/​en/​stable/​index.html|glances]]:​ a cross-platform monitoring tool (similar to ''​top''​)   * [[https://​glances.readthedocs.io/​en/​stable/​index.html|glances]]:​ a cross-platform monitoring tool (similar to ''​top''​)
-    * ''​conda install -n cdatm15 ​-c conda-forge glances''​+    * ''​conda install -n cdatxxx ​-c conda-forge glances''​
     * [[https://​github.com/​nicolargo/​glances|glances@github]]     * [[https://​github.com/​nicolargo/​glances|glances@github]]
  
Line 408: Line 415:
  
   * [[https://​cmor.llnl.gov/​|CMOR]]   * [[https://​cmor.llnl.gov/​|CMOR]]
-    * Update with: ''​conda update -n cdatm15 ​-c conda-forge -c pcmdi -c uvcdat cmor''​+    * Update with: ''​conda update -n cdatxxx ​-c conda-forge -c pcmdi -c uvcdat cmor''​
       * Get version number with: ''​python -c 'from cmor import *; print CMOR_VERSION_MAJOR,​ CMOR_VERSION_MINOR,​ CMOR_VERSION_PATCH'​ ''​       * Get version number with: ''​python -c 'from cmor import *; print CMOR_VERSION_MAJOR,​ CMOR_VERSION_MINOR,​ CMOR_VERSION_PATCH'​ ''​
  
Line 436: Line 443:
       * <​code>​cd climaf/​testing       * <​code>​cd climaf/​testing
 ./​test_install.sh</​code>​ ./​test_install.sh</​code>​
-  * Once the tests are OK, add the required //module load// and environment variables definitions to the ''​.basrc''​ and ''​.cshrc''​ files. <wrap hi>Note: maybe these lines should go to the ''​.profile''​ and ''​.login''​ files...</​wrap> ​+  * Once the tests are OK, add the required //module load// and environment variables definitions to the ''​.basrc''​ and ''​.cshrc''​ files. <wrap hi>Note: maybe these lines should go to the ''​.profile''​ and ''​.login''​ files...(check [[https://​www.gnu.org/​software/​bash/​manual/​html_node/​Bash-Startup-Files.html|Bash Startup Files]])</​wrap> ​
     * LSCE: add to your .cshrc     * LSCE: add to your .cshrc
       * <​code>#​ Prerequisites for using CLIMAF       * <​code>#​ Prerequisites for using CLIMAF
Line 468: Line 475:
 </​code>​ </​code>​
   * Open a new shell and <wrap em>run the tests again</​wrap>​. If there is an error that was not there, check what you have added to the shell init files   * Open a new shell and <wrap em>run the tests again</​wrap>​. If there is an error that was not there, check what you have added to the shell init files
 +  * [[other:​uvcdat:​cdat_conda:​climaf_test|Test CLIMAF on ciclad]]
  
 ==== Cleaning up things ==== ==== Cleaning up things ====
Line 515: Line 523:
  
 ^  Environment\\ name  ^  Server ​ ^  ''​conda list'' ​ ^ ^  Environment\\ name  ^  Server ​ ^  ''​conda list'' ​ ^
-| cdat-8.0_py2 |  LSCE\\ ciclad ​ | | +| cdat-8.0_py2 |  LSCE  | | 
-| cdatm17_py2 |  LSCE\\ ciclad  ​| |+| cdatm17_py2 |  LSCE | |
 | cdat-nightly_py2 |  LSCE\\ ciclad ​ | | | cdat-nightly_py2 |  LSCE\\ ciclad ​ | |
 | cdatm-nightly_py2 |  LSCE\\ ciclad ​ | | | cdatm-nightly_py2 |  LSCE\\ ciclad ​ | |
other/uvcdat/cdat_conda/cdat_8_0_py2.txt · Last modified: 2021/02/27 13:55 by jypeter