ICTP Marvel school Trieste 2026

This page provides the instructions and tutorials for the session dedicated to Yambo.

Webpage of the event: Joint ICTP MARVEL College: Materials simulations in the age of AI.

Instructions to load Yambo

First, you need to launch the Quantum Mobile. Remember, the instructions to do so are found here.

Once accessed the Quantum Mobile, open a terminal. You will see that a conda environment is automatically loaded.

(base) max@qmobile:~$

The conda base environment does not load the packages neccesary for this tutorial. In order to load them, let’s switch to the yambo environment. Just type workon yambo. You should see

 (yambo) max@qmobile:~$

Let us now create a directory where we will do the tutorial:

$ mkdir yambo
$ cd yambo

At this point, download the files used in the tutorial via wget:

$ wget https://media.yambo-code.eu/educational/tutorials/files/hBN.tar.gz https://media.yambo-code.eu/educational/tutorials/files/hBN-2D.tar.gz 

and extract (unzip) them

$ tar -xvf hBN.tar.gz
$ tar -xvf hBN-2D.tar.gz

Tip

For clarity, we suggest you to copy the hBN directory twice, as the same system is used in multiple tutorials

$ cp -r hBN hBN_IPA
$ cp -r hBN hBN_GW

Run the independent particle tutorial in hBN_IPA, and the GW tutorial in hBN_GW.

You are now all set for the tutorial. Just for safety, check that the executable works by typing

$ yambo -h

This should print the help of the Yambo command-line interface.

Tutorials

You will learn how to get to your first GW calculation with Yambo.

Follow the tutorials listed below.

Note

You may want to skip or just have quick look to the optional sections present in some of these tutorials.

First steps: from DFT to optical properties

  1. Generate a Yambo SAVE folder

  2. Initialize the Yambo SAVE folder

  3. Generate input files using Yambo’s command-line interface

  4. Optics at the independent particle level

  5. RPA and local field effects

A GW calculation with Yambo

  1. Quasiparticle corrections within the Hartree-Fock approximation

  2. A full GW calculation with Yambo