Skip to content

Install

Charles Doutriaux edited this page Mar 29, 2018 · 92 revisions

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 conda-forge -c cdat --python=27 cdat
conda activate cdat8

For Python3 use --python=36

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 conda-forge -c cdat --python=27 cdat mesalib

For Python3 use --python=36

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:

Clone this wiki locally