Reference documentation
Atos HPCF and ECS computing platforms offer a wide range of software, libraries and tools. Let's go through some exercises to learn how to manage your software stack.
Basic software environment management
You want to use CDO, a popular tool to manipulate climate and NWP model data. What do you need to do to get the following result?
$ cdo --version Climate Data Operators version X.Y.Z (https://mpimet.mpg.de/cdo) System: x86_64-pc-linux-gnu ...
How many versions of CDO can be used at ECMWF? Can you pick the newest?
Load the
netcdf4module. Can you see what modules do you have loaded in your environment now?Remove the
netcdf4module from your environment and check it is gone.Can you check what is the installation directory of the default netCDF4 library?
Can you restore the default environment you had when you logged in? Check that the environment is back to the desired state.
You want the git module to be loaded by default on every session and job on the Atos HPCF or ECS. How would you do that? Check that it works by opening a new session
ECMWF tools
Reference documentation
Can you run codes_info tool, which is part of ecCodes?
Can you see what versions of ECMWF software are part of that module?
Can you run the
ecflow_clientcommand and get the version?
Python and Conda
Reference documentation
To ensure a default environment for the following exercises, reset your modules with:
module reset
Try to run the command below. Why does it fail? Can you make it work without installing pandas yourself?
$ python3 -c "import pandas as pd; print(pd.__version__)" Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'pandas'
Run the command below. It will try to check if you have a working setup for using Metview within Python:
python3 -m metview selfcheck
Did it work? What do you need to do to get the following output?
$ python3 -m metview selfcheck Trying to connect to a Metview installation... Hello world - printed from Metview! Metview version X.Y.Z found Your system is ready.
What do you need to do to make Python use the latest version of Metview available on the system?
You need to use the latest version of
geopypython package to run a given application. At the same time you'd need to benefit the central python3 system installation. What can you do ?You may also use Tykky to create your own Python-based or virtual environments. In order to use Tykky, you can load the corresponding module:
module load tykky
What happened?
Create a containerised conda installation using Tykky based on the following environment "
env.yml" file content includingpandas:name: mypandas channels: - conda-forge dependencies: - python=3.12 - pandas
Once installed, load the containerised environment and verify if pandas is available by checking its version.
Hint: since the installation require resources it is recommended to do it within a ecinteractive session, e.g. requesting 4 CPUs and 10GB RAM
Using Containerised applications
Reference documentation
To ensure a default environment for the following exercise, reset your modules with:
module reset
The default psql command, part of the PostgreSQL package is not up to date. You need to run the latest version, but you do not want to build it from source. A possible solution is to use a containerised version of this application. Can you run this on Atos HPCF or ECS?