Install

Charles Doutriaux edited this page Jul 12, 2018 · 49 revisions
Clone this wiki locally

WikiDocumentationInstall

CDAT is installed via Anaconda

For windows 10 and up see here

Installing from an environment file

The easiest way to install an official stable release of CDAT is to download the corresponding conda environment.

We provide env file for Both Mac and Linux and for each both Python2 and Python3

For each of these we also provide the mesalib-enabled version. This means plot will NOT require a X11 connection and will be rendered in memory rather than onscreen. This is a desirable solution for batch jobs our user working remotely.

Python 2

Linux (and Windows)

Mac OSX

Python 3

Linux (and Windows)

Mac OSX

Once downloaded simply run:

conda env create -n cdat8 -f cdat-v80_py2.Linux.yaml
conda activate cdat8

On older conda version you might need:

source activate cdat8

Earlier Releases (UV-CDAT)

Installing from conda channels

Alternatively, you can use regular conda commands to generate the environment

Creating the environment

conda create -n cdat8 -c cdat/label/v80 -c conda-forge -c cdat python=2.7 cdat
conda activate cdat8

For Python3 use python=3.6

On older version of anconda you might need:

source activate cdat8

If you wish to obtain the mesalib-enabled version simply add mesalib at the end of the install line:

conda create -n cdat8 -c cdat/label/v80 -c conda-forge -c cdat python=2.7 cdat mesalib

For Python3 use python=3.6

or simply install it after the fact

conda install -c conda-forge -c cdat mesalib

For more details see:

For older releases installation instructions see: