Install

davis278 edited this page Nov 1, 2018 · 54 revisions

WikiDocumentationInstall

CDAT is installed via Anaconda

For windows 10 and up see here

Bypassing firewalls

  • If your institution has tight ssl certificate/security issues try:
    • conda config --set ssl_verify false
    • binstar config --set ssl_verify False

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 files for both Mac and Linux and for Python2 and Python3.

For each of these we also provide a mesalib-enabled version which is especially useful for users running batch jobs remotely on "headless" machines that do not have a graphics card or display attached. In the mesalib-enabled version plot will NOT require a X11 connection and images will be rendered in memory rather than onscreen. A user will not see any results until he or she saves the output to a .png file.

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 versions 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 versions of anaconda 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 installation instructions for older releases see:

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.