22title : " Installation"
33teaching : 10
44exercises : 10
5- compatibility : ESMValTool v2.10 .0
5+ compatibility : ESMValTool v2.14 .0
66questions :
77- " What are the prerequisites for installing ESMValTool?"
88- " How do I confirm that the installation was successful?"
@@ -67,31 +67,36 @@ ESMValTool is distributed using [Mamba](https://mamba.readthedocs.io/en/latest/i
6767To install mamba on `` Linux `` or `` MacOSX `` , follow the instructions below:
6868
69691 . Please download the installation file for the latest Mamba version
70- [ here] ( https://github.com/conda-forge/miniforge#mambaforge ) .
70+ for Linux
71+ [ here] (https://github.com/conda-forge/miniforge/releases/latest/download/
72+ Miniforge3-Linux-x86_64.sh)
73+ or for MacOSX
74+ [ here] (https://github.com/conda-forge/miniforge/releases/latest/download/
75+ Miniforge3-MacOSX-x86_64.sh).
7176
72772 . Next, run the installer from the place where you downloaded it:
7378
7479 On `` Linux `` :
7580
7681 ``` bash
77- bash Mambaforge -Linux-x86_64.sh
82+ bash Miniforge3 -Linux-x86_64.sh
7883 ```
7984
8085 On ` ` MacOSX` ` :
8186
8287 ` ` ` bash
83- bash Mambaforge -MacOSX-x86_64.sh
88+ bash Miniforge3 -MacOSX-x86_64.sh
8489 ` ` `
8590
86913. Follow the instructions in the installer. The defaults should normally
8792 suffice.
8893
89944. You will need to restart your terminal for the changes to have effect.
9095
91- 5. We recommend updating mamba before the esmvaltool installation. To do so, run:
96+ 5. We recommend updating mamba and conda before the esmvaltool installation. To do so, run:
9297
9398 ` ` ` bash
94- mamba update --name base mamba
99+ mamba update --name base mamba conda
95100 ` ` `
96101
971026. Verify you have a working mamba installation by:
@@ -100,7 +105,7 @@ To install mamba on ``Linux`` or ``MacOSX``, follow the instructions below:
100105 which mamba
101106 ` ` `
102107
103- This should show the path to your mamba executable, e.g. ` ~/mambaforge /bin/mamba` .
108+ This should show the path to your mamba executable, e.g. ` ~/miniforge3 /bin/mamba` .
104109
105110For more information about installing mamba,
106111see [the mamba installation documentation](https://docs.esmvaltool.org/en
@@ -109,7 +114,7 @@ see [the mamba installation documentation](https://docs.esmvaltool.org/en
109114# ## Install the ESMValTool package
110115
111116The ESMValTool package contains diagnostics scripts in four languages: R,
112- Python, Julia and NCL. This introduces a lot of dependencies, and therefore the
117+ Python and NCL. This introduces a lot of dependencies, and therefore the
113118installation can take quite long. It is, however, possible to install
114119' subpackages' for each of the languages. The following (sub)packages are
115120available:
@@ -126,7 +131,7 @@ ESMValTool package, run
126131mamba create --name esmvaltool esmvaltool
127132` ` `
128133
129- On MacOSX ESMValTool functionalities in Julia, NCL, and R are not supported. To install
134+ On MacOSX ESMValTool functionalities in NCL, and R are not supported. To install
130135a Mamba environment on MacOSX, please refer to specific [information](https://
131136docs.esmvaltool.org/en/latest/quickstart/installation.html#installation-on-
132137macosx).
@@ -146,59 +151,13 @@ installed in it.
146151>
147152{: .callout}
148153
149- # ## Install Julia
150-
151- Some ESMValTool diagnostics are written in the Julia programming language.
152- If you want a full installation of ESMValTool including Julia diagnostics, you need
153- to make sure Julia is installed before installing ESMValTool.
154-
155- In this tutorial, we will not use Julia, but for reference, we have listed the steps
156- to install Julia below.
157- Complete instructions for installing Julia can be found on the [Julia
158- installation page](https://julialang.org/downloads/platform/# linux_and_freebsd).
159-
160- > # # Julia installation instructions
161- >
162- > First, open a bash terminal and activate the newly created ` esmvaltool` environment.
163- >
164- > ` ` ` bash
165- > conda activate esmvaltool
166- > ` ` `
167- >
168- > Next, to install Julia via ` mamba` , you can use the following command:
169- >
170- > ` ` ` bash
171- > mamba install julia
172- > ` ` `
173- >
174- > To check that the Julia executable can be found, run
175- >
176- > ` ` ` bash
177- > which julia
178- > ` ` `
179- >
180- > to display the path to the Julia executable, it should be
181- >
182- > ` ` `
183- > ~ /mambaforge/envs/esmvaltool/bin/julia
184- > ` ` `
185- > {: .output}
186- >
187- > To test that Julia is installed correctly, run
188- >
189- > ` ` ` bash
190- > julia
191- > ` ` `
192- >
193- > to start the interactive Julia interpreter. Press ` Ctrl+D` to exit.
194- {: .solution}
195154
196155# ## Test that the installation was successful
197156
198157To test that the installation was successful, run
199158
200159` ` ` bash
201- conda activate esmvaltool
160+ mamba activate esmvaltool
202161` ` `
203162
204163to activate the conda environment called ` esmvaltool` . In the shell prompt the
@@ -229,13 +188,13 @@ to display the command line help.
229188> > {: .bash}
230189> > The version of ESMValTool installed should be displayed on the screen as:
231190> > ~ ~~
232- > > ESMValCore: 2.10 .0
233- > > ESMValTool: 2.10 .0
191+ > > ESMValCore: 2.14 .0
192+ > > ESMValTool: 2.14 .0
234193> > ~ ~~
235194> > {: .output}
236195> Note that on HPC servers such as JASMIN, sometimes a more recent development
237196> version may be displayed for ESMValTool, for e.g.
238- > ` ESMValTool: 2.9 .0.dev4+g6948d5512 `
197+ > ` ESMValTool: 2.15 .0.dev4+g74d7837f0 `
239198> {: .solution}
240199{: .challenge}
241200
0 commit comments