Tutorials: Difference between revisions

From The Yambo Project
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
<!-- '''ICTP students should start [[ICTP2020|HERE]]'''  -->
If you are starting out with Yambo, or even an experienced user, we recommend that you complete the following tutorials before trying to use Yambo for your system.
If you are starting out with Yambo, or even an experienced user, we recommend that you complete the following tutorials before trying to use Yambo for your system.


Line 9: Line 7:


== Tutorial files ==
== Tutorial files ==
The tutorial CORE databases can be obtained
The tutorial CORE databases can be obtained


Line 76: Line 73:
  $ ./setup.pl -install
  $ ./setup.pl -install


== <span id="Stand-alone overview"></span>Stand-alone tutorials ==
== Stand-alone tutorials ==
 
These tutorials are self-contained and cover a variety of mixed topics, both physical and methodological. They are designed to be followed from start to finish in one page and do not require previous knowledge of yambo. Each tutorial requires download of a specific core database, and typically they cover a specific physical system (like bulk GaSb or a hydrogen chain). Ground state input files and pseudopotentials are provided. Output files are also provided for reference.
These tutorials are self-contained and cover a variety of mixed topics, both physical and methodological. They are designed to be followed from start to finish in one page and do not require previous knowledge of yambo. Each tutorial requires download of a specific core database, and typically they cover a specific physical system (like bulk GaSb or a hydrogen chain). Ground state input files and pseudopotentials are provided. Output files are also provided for reference.


Line 103: Line 99:


==== GW and Quasi-particles ====
==== GW and Quasi-particles ====
* [[Real_Axis_and_Lifetimes|Real Axis and Lifetimes]]
* [[Real_Axis_and_Lifetimes|Real Axis and Lifetimes]]
* [[Self-consistent GW on eigenvalues only]]
* [[Self-consistent GW on eigenvalues only]]
Line 114: Line 109:


==== Non linear response ====
==== Non linear response ====
* [http://www.attaccalite.com/lumen/linear_response.html Linear response using Dynamical Berry phase]
* [http://www.attaccalite.com/lumen/linear_response.html Linear response using Dynamical Berry phase]
* [[Real time approach to non-linear response]]
* [[Real time approach to non-linear response]]
Line 125: Line 119:


==== Developing Yambo ====
==== Developing Yambo ====
* [[How to create a new project in Yambo]]
* [[How to create a new project in Yambo]]
* [[How to create a new ypp interface]]
* [[How to create a new ypp interface]]
* [[Some hints on github]]
* [[Some hints on github]]
<!--
<!--
* [[SOC|Spin-Orbit Coupling MBPT]]
* [[SOC|Spin-Orbit Coupling MBPT]]
* [[Kerr|Kerr]]
* [[Kerr|Kerr]]
Line 144: Line 136:
In each folder you will find an Abinit or Pwscf subfolder in case you have downloaded the ground state zip files and the YAMBO subfolder. The tutorials start by entering the YAMBO subfolder and followinf the informations provided in the tutorial documentation.  -->
In each folder you will find an Abinit or Pwscf subfolder in case you have downloaded the ground state zip files and the YAMBO subfolder. The tutorials start by entering the YAMBO subfolder and followinf the informations provided in the tutorial documentation.  -->


== <span id="Modular overview"></span>Modular tutorials ==
== Modular tutorials ==
These tutorials are designed to provide a deeper understanding of specific yambo tasks and runlevels. They are designed to avoid repetition of common procedures and physical concepts. As such, they make use of the same physical systems: bulk hexagonal boron nitride ''hBN'' and a hBN sheet ''hBN-2D''.
These tutorials are designed to provide a deeper understanding of specific yambo tasks and runlevels. They are designed to avoid repetition of common procedures and physical concepts. As such, they make use of the same physical systems: bulk hexagonal boron nitride ''hBN'' and a hBN sheet ''hBN-2D''.


Line 173: Line 165:
* [[Yambopy tutorial: band structures | Database and plotting tutorial for quantum espresso: qepy]]
* [[Yambopy tutorial: band structures | Database and plotting tutorial for quantum espresso: qepy]]
* [[Yambopy tutorial: Yambo databases | Database and plotting tutorial for yambo: yambopy ]]
* [[Yambopy tutorial: Yambo databases | Database and plotting tutorial for yambo: yambopy ]]


<!--
<!--
Line 181: Line 172:
* [[Post-processing. Optical Response]]
* [[Post-processing. Optical Response]]
-->
-->
<!-- [[Instructions for CECAM students]] -->
=== Modules ===
=== Modules ===
Alternatively, users can learn more about a specific runlevel or task by looking at the individual '''[[Modules|documentation modules]]'''. These provide a focus on the input parameters, run time behaviour, and underlying physics. Although they can be followed separately, non-experts are urged to follow them as part of the more structured tutorials given above.
Alternatively, users can learn more about a specific runlevel or task by looking at the individual '''[[Modules|documentation modules]]'''. These provide a focus on the input parameters, run time behaviour, and underlying physics. Although they can be followed separately, non-experts are urged to follow them as part of the more structured tutorials given above.


<!--
== <span id="Schools"></span>Schools ==
== <span id="Schools"></span>Schools ==
* [[ICTP2020]]
* [[ICTP2020]]
* [[CECAM VIRTUAL 2021]]
* [[CECAM VIRTUAL 2021]]
* [https://www.yambo-code.org/wiki/index.php?title=ICTP_2022 ICTP2022]
* [https://www.yambo-code.org/wiki/index.php?title=ICTP_2022 ICTP2022]
-->

Revision as of 08:25, 9 February 2023

If you are starting out with Yambo, or even an experienced user, we recommend that you complete the following tutorials before trying to use Yambo for your system.

The tutorials are meant to give some introductory background to the key concepts behind Yambo. Practical topics such as convergence are also discussed. Nonetheless, users are invited to first read and study the background material in order to get familiar with the fundamental physical quantities.

Two kinds of tutorials are provided: stand-alone and modular.

Tutorial files

The tutorial CORE databases can be obtained

From the Yambo Virtual Machine (VM)

If you are using the VM, a recent version of the tutorial files is provided.Follow these instructions to update the tutorial files to the most recent version.

From the Yambo website

If you are using your own installation or the docker, the files needed to run the tutorials can be downloaded from the lists below.

After downloading the tar.gz files just unpack them in the YAMBO_TUTORIALS folder. For example

$ mkdir YAMBO_TUTORIALS
$ mv hBN.tar.gz YAMBO_TUTORIALS
$ cd YAMBO_TUTORIALS
$ tar -xvfz hBN.tar.gz
$ ls YAMBO_TUTORIALS
  hBN

Files needed for modular tutorials

All of the following should be downloaded prior to following the modular tutorials:

Tutorial File(s)
hBN hBN.tar.gz
hBN-convergence-kpoints.tar.gz
hBN-2D.tar.gz
hBN-2D-para.tar.gz

Files needed for stand-alone tutorials

At the start of each tutorial you will be told which specific file needs to be downloaded:

Tutorial File(s)
Silicon Silicon.tar.gz
Silicon_Electron-Phonon.tar.gz
LiF LiF.tar.gz
Aluminum Aluminum.tar.gz
GaSb GaSb.tar.gz
AlAs AlAs.tar.gz
Hydrogen_Chain Hydrogen_Chain.tar.gz

From the Git Tutorial Repository (advanced users)

If you are using your own installation or the docker, the tutorials repository contains the updated tutorials CORE databases. To use it

$ git clone https://github.com/yambo-code/tutorials.git YAMBO_TUTORIALS
$ cd YAMBO_TUTORIALS
$ ./setup.pl -install

Stand-alone tutorials

These tutorials are self-contained and cover a variety of mixed topics, both physical and methodological. They are designed to be followed from start to finish in one page and do not require previous knowledge of yambo. Each tutorial requires download of a specific core database, and typically they cover a specific physical system (like bulk GaSb or a hydrogen chain). Ground state input files and pseudopotentials are provided. Output files are also provided for reference.

These tutorials can be accessed directly from this page of from the side bar. They include different kind of subjects:

Warning: These tutorials were prepared using previous version of the Yambo code: some command lines, variables, reports and outputs can be slightly different from the last version of the code. Scripts for parsing output cannot work anymore and should be edited to work with the new outputs. New command lines can be accessed typing yambo -h

Basic

Post Processing

Advanced

GW and Quasi-particles

Electron phonon coupling

Non linear response

Developing Yambo


Modular tutorials

These tutorials are designed to provide a deeper understanding of specific yambo tasks and runlevels. They are designed to avoid repetition of common procedures and physical concepts. As such, they make use of the same physical systems: bulk hexagonal boron nitride hBN and a hBN sheet hBN-2D.

Warning: These tutorials were prepared using previous version of the Yambo code: some command lines, variables, reports and outputs can be slightly different from the last version of the code. Scripts for parsing output cannot work anymore and should be edited to work with the new outputs. New command lines can be accessed typing yambo -h

Introduction

Quasiparticles in the GW approximation

Using Yambo in Parallel

This modules contains very general discussions of the parallel environment of Yambo. Still the actual run of the code is specific to the CECAM cluster. If you want to run these modules just replace the parallel queue instructions with simple MPI commands.

GW_parallel_strategies_CECAM

Excitons and the Bethe-Salpeter Equation

Yambopy

Modules

Alternatively, users can learn more about a specific runlevel or task by looking at the individual documentation modules. These provide a focus on the input parameters, run time behaviour, and underlying physics. Although they can be followed separately, non-experts are urged to follow them as part of the more structured tutorials given above.