|
2 | 2 | title: "Installation" |
3 | 3 | teaching: 10 |
4 | 4 | exercises: 10 |
5 | | -compatibility: ESMValTool v2.11.0 |
| 5 | +compatibility: ESMValTool v2.12.0 |
6 | 6 | questions: |
7 | 7 | - "What are the prerequisites for installing ESMValTool?" |
8 | 8 | - "How do I confirm that the installation was successful?" |
@@ -146,52 +146,6 @@ installed in it. |
146 | 146 | > |
147 | 147 | {: .callout} |
148 | 148 |
|
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} |
195 | 149 |
|
196 | 150 | ### Test that the installation was successful |
197 | 151 |
|
@@ -229,13 +183,13 @@ to display the command line help. |
229 | 183 | > > {: .bash} |
230 | 184 | > > The version of ESMValTool installed should be displayed on the screen as: |
231 | 185 | > > ~~~ |
232 | | -> > ESMValCore: 2.11.0 |
233 | | -> > ESMValTool: 2.11.0 |
| 186 | +> > ESMValCore: 2.12.0 |
| 187 | +> > ESMValTool: 2.12.0 |
234 | 188 | > > ~~~ |
235 | 189 | > > {: .output} |
236 | 190 | > Note that on HPC servers such as JASMIN, sometimes a more recent development |
237 | 191 | > version may be displayed for ESMValTool, for e.g. |
238 | | -> `ESMValTool: 2.11.0.dev71+g2c60b4d97` |
| 192 | +> `ESMValTool: 2.12.0.dev71+g2c60b4d97` |
239 | 193 | > {: .solution} |
240 | 194 | {: .challenge} |
241 | 195 |
|
|
0 commit comments