Tutorials: Difference between revisions

From The Yambo Project
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(140 intermediate revisions by 13 users not shown)
Line 1: Line 1:
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.  
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 [[lectures|background material]] in order to get familiar with the fundamental physical quantities.
Nonetheless, users are invited to first read and study the [[lectures|background material]] in order to get familiar with the fundamental physical quantities.
We recommend that you complete the tutorials before trying to use Yambo for your system.


Two kinds of tutorials are provided: '''stand-alone and modular'''.
You must have a working environment where both Yambo and Yambopy (and eventually QE or abinit) are installed.
 
If you are starting out with Yambo, we suggest to follow [[Setting up Yambo|this page]] with a detailed explanation about how to set up all you need for running the tutorials.
== Tutorial files ==
All tutorials require '''download''' of pre-prepared Yambo databases or DFT input files. After downloading the tar.gz files just unpack them in '''the same folder''':
$ tar -xcvf hBN-2D.tar
$ tar -xcvf hBN.tar
$ ls
  YAMBO_TUTORIALS
$ ls YAMBO_TUTORIALS
  hBN-2D hBN
 
====Files needed for modular tutorials:====
All of the following should be downloaded prior to following the modular tutorials:<br>
[http://www.yambo-code.org/educational/tutorials/files/hBN.tar.gz hBN.tar.gz]
[http://www.yambo-code.org/educational/tutorials/files/hBN-2D.tar.gz hBN-2D.tar.gz]
[http://www.yambo-code.org/educational/tutorials/files/hBN-2D-para.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:<br>
[http://www.yambo-code.org/educational/tutorials/files/Silicon.tar.gz Silicon.tar.gz]
[http://www.yambo-code.org/educational/tutorials/files/LiF.tar.gz LiF.tar.gz]
[http://www.yambo-code.org/educational/tutorials/files/Si_surface.tar.gz Si_surface.tar.gz]
[http://www.yambo-code.org/educational/tutorials/files/Si_wire.tar.gz Si_wire.tar.gz]
[http://www.yambo-code.org/educational/tutorials/files/H2.tar.gz H2.tar.gz]
[http://www.yambo-code.org/educational/tutorials/files/Aluminum.tar.gz Aluminum.tar.gz]
[http://www.yambo-code.org/educational/tutorials/files/GaSb.tar.gz GaSb.tar.gz]
[http://www.yambo-code.org/educational/tutorials/files/Hydrogen_Chain.tar.gz Hydrogen_Chain.tar.gz]
 
== <span id="Stand-alone overview"></span>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:
 
=== Basic ===
* [[Silicon|More GW]]
* [[LiF|Linear Response in 3D]]
* [[Si_Surface|Linear Response in 2D]]
* [[Si_wire|Linear Response in 1D]]
* [[H2|Linear Response in 0D]]
 
=== Advanced ===
* [[Hydrogen chain|TDDFT Failure and long range correlations]]
* [[SOC|Spin-Orbit Coupling MBPT]]
* [[Real_Axis_and_Lifetimes|Real Axis and Lifetimes]]
<!--
* [[Electron_Phonon|Electron-Phonon]]
* [[Kerr|Kerr]]
* [[Real_Time|Real-Time]]
-->
 
<!-- For each TUTORIAL (Solid_LiF, Solid_Al, ...) , therefore, you can download the ground state files (zip archive named TUTORIAL_ground_state.zip) and generate the Yambo databases from your own by running abinit/PWscf and a2y/p2y. In this case the Yambo input and reference files are contained in the zip file (TUTORIAL_reference_files.zip). Alternatively, if (and only if) you have compiled yambo with the NetCDF support you can directly download the zip files containing the Yambo core databases (TUTORIAL_NETCDF_databases_and_reference_files.zip). These are generated using the NetCDF interface in order to be readable in any platform.
After you have downloaded the tutorial zip files and unziped them you should have now a tutorial tree:
localhost:> ls
YAMBO_TUTORIALS/
localhost:> ls  YAMBO_TUTORIALS/
COPYING  Fantastic_Dimensions/  Hydrogen_Chain/  README  Solid_LiF/ Solid_Al/ SiH4/ ...
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 ==
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''.
Files for both systems must be downloaded, and make sure to extract the tarballs '''in the same place.'''
 
'''Download:'''
[http://www.yambo-code.org/educational/tutorials/files/hBN.tar.gz hBN.tar.gz]
[http://www.yambo-code.org/educational/tutorials/files/hBN-2D.tar.gz hBN-2D.tar.gz]
[http://www.yambo-code.org/educational/tutorials/files/hBN-2D-para.tar.gz hBN-2D-para.tar.gz]
 
====Introduction====
* [[First steps: a walk through from DFT to optical properties]]
====Quasiparticles in the GW approximation====
* [[How to obtain the quasi-particle band structure of a bulk material: h-BN]]
====Using Yambo in Parallel====
* [[GW_parallel_strategies|Parallel GW]]: strategies for running Yambo in parallel
* [[Pushing_convergence_in_parallel|GW convergence]]: use Yambo in parallel to converge a GW calculation for a layer of hBN (hBN-2D)
 
====Excitons and the Bethe-Salpeter Equation====
* [[How to obtain an optical spectrum|Calculating optical spectra including excitonic effects: a step-by-step guide]]
* [[How to choose the input parameters|Obtaining a converged optical spectrum]]
* [[How to treat low dimensional systems|Many-body effects in low-dimensional systems: numerical issues and remedies]]
* [[How to analyse excitons|Analysis of excitonic spectra in a 2D material]]
<!--* [[Two particle excitations]] (try to bypass this page) : Learn how to set up and run calculations to obtain and analyze an optical absorption spectrum of bulk and low dimension materials by using the Bethe-Salpeter equation-->
 
====Yambo-python driver====
* [[First steps in Yambopy]]
* [[GW tutorial. Convergence and approximations (BN)]]
* [[Bethe-Salpeter equation tutorial. Optical absorption (BN)]]
 
<!--
====Real-time simulations====
* [[Breaking of symmetries]]
* [[Independent-Particle Approximation Dynamics. Delta Pulse]]
* [[Post-processing. Optical Response]]
-->
 
<!-- [[Instructions for CECAM students]] -->


=== Modules ===
In the left main menu you can access the different Tutorials sections:
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.
* [[Tutorials_download|Download information]]
* [[Tutorials_standalone|Stand-alone tutorials]]
* [[Tutorials_modular|Modular tutorials]] and corresponding [[Modules|Modules]]
* [https://enccs.github.io/max-coe-workshop/day5-tutorials/ More tutorials in Markdown]

Latest revision as of 15:36, 31 October 2024

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. We recommend that you complete the tutorials before trying to use Yambo for your system.

You must have a working environment where both Yambo and Yambopy (and eventually QE or abinit) are installed. If you are starting out with Yambo, we suggest to follow this page with a detailed explanation about how to set up all you need for running the tutorials.

In the left main menu you can access the different Tutorials sections: