Getting started

Prerequisites on GNU/Linux

Install gcc, g++, and gfortran. For example, using apt-get:

sudo apt-get install gcc g++ gfortran

or using yum:

yum install gcc-c++ gcc-gfortran

Prerequisites on OSX

Install Xcode Command Line Tools.

Download gfortran (select the gfortran-X.X-bin.tar.gz package) from HPC Mac OS X, and install it:

sudo tar xvzf gfortran-X.X-bin.tar.gz -C /

Conda installation

Download the Conda installer, and install conda:

On GNU/Linux 64 bits:

wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
bash Miniconda-latest-Linux-x86_64.sh

or, on OSX:

curl -O https://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh
bash Miniconda-latest-MacOSX-x86_64.sh

You will be asked for a place to install miniconda. Either choose the default $HOME/miniconda or a custom place, for example /local/<user>/miniconda.

At the end of the installation, you will be asked for modifying your Bash configuration file (~/.bashrc on GNU/Linux, or ~/.bash_profile on OSX): answer yes. To take this modification into account, either open a new terminal, or update the one you are using with:

source ~/.bashrc       # on GNU/Linux
source ~/.bash_profile # on OSX

Note

the Conda cheat sheet is a usefull ressource to get started with Conda, (managing environments for example is worth to learn).

Installing packages

Install a package provided by the The INRIA Paris-Rocquencourt SED Conda channel , for example:

conda install -c inria-pro-sed petsc

Your may also want to add the inria-pro-sed Conda channel to your configuration (this modify your ~/.condarc):

conda config --add channels inria-pro-sed

in order to omit the -c option:

conda install petsc