CECAM VIRTUAL 2021: Difference between revisions
No edit summary |
|||
Line 13: | Line 13: | ||
=== Setting up the Yambo Virtual Machine === | === Setting up the Yambo Virtual Machine === | ||
The tutorials can be run on a dedicated Virtual Machine (adapted from the [https://quantum-mobile.readthedocs.io/en/latest/Quantum Mobile] VM). | The tutorials can be run on a dedicated Virtual Machine (called '''Yambo Quantum Mobile''' and adapted from the [https://quantum-mobile.readthedocs.io/en/latest/ Quantum Mobile] VM). | ||
This is run by installing it as Virtual Machine with the VirtualBox program. | This is run by installing it as Virtual Machine with the VirtualBox program. | ||
To install the Yambo | To install the Yambo VM in your computer you need to: | ||
* Download and install Virtualbox software | * Download and install Virtualbox software | ||
* Download the Yambo Virtual Machine image | * Download the Yambo Virtual Machine image | ||
Line 22: | Line 22: | ||
* Update and install the Tutorials | * Update and install the Tutorials | ||
<!-- | <!-- | ||
* [[Yambo_Virtual_Machine# | * [[Yambo_Virtual_Machine#Install_the_Yambo_Quantum_Mobile_VM|Install the Yambo Quantum Mobile VM]] | ||
* [[Yambo_Virtual_Machine#Starting_the_Virtual_Machine|Start the Yambo Virtual Machine]] | * [[Yambo_Virtual_Machine#Starting_the_Virtual_Machine|Start the Yambo Virtual Machine]] | ||
* [[Yambo_Virtual_Machine#Updating_the_Yambo_tutorial_files|Update and install the Tutorials]] | * [[Yambo_Virtual_Machine#Updating_the_Yambo_tutorial_files|Update and install the Tutorials]] | ||
--> | --> | ||
To this end follow exactly the step listed here: [[Yambo_Virtual_Machine# | To this end follow exactly the step listed here: [[Yambo_Virtual_Machine#Install_the_Yambo_Quantum_Mobile_VM|Install the Yambo Quantum Mobile VM]] | ||
=== Setting up the Yambo Container=== | === Setting up the Yambo Container=== |
Revision as of 16:46, 6 April 2021
Plan for the CECAM VIRTUAL 2021 school tutorials. https://www.cecam.org/workshop-details/1081
Setting up Yambo
In order to get the yambo code in your machine you have multiple options:
- Yambo Virtual Machine
- Yambo Container
- Install the Yambo source in your computer
Setting up the Yambo Virtual Machine
The tutorials can be run on a dedicated Virtual Machine (called Yambo Quantum Mobile and adapted from the Quantum Mobile VM). This is run by installing it as Virtual Machine with the VirtualBox program. To install the Yambo VM in your computer you need to:
- Download and install Virtualbox software
- Download the Yambo Virtual Machine image
- Install the Yambo Virtual Machine
- Start the Yambo Virtual Machine
- Update and install the Tutorials
To this end follow exactly the step listed here: Install the Yambo Quantum Mobile VM
Setting up the Yambo Container
An alternative to get the Yambo code is to install the Yambo container in your machine and this can be done in few steps:
- Install the docker platform (Linux or Mac). Follow the instruction in the docker website.
- Pull the Yambo container:
>sudo docker pull nicspalla/yambo-gcc_openmp_mkl:latest
sudo it is not necessary if your user is part of the group named docker (suggested on Linux!).
For Linux users:
sudo groupadd docker sudo usermod -aG docker $USER
For Mac users:
sudo dscl . create /Groups/docker sudo dseditgroup -o edit -a $USER -t user docker
Log out and log back in so that your group membership is re-evaluated.
- You are done. To run Yambo into the container:
docker run -ti --user $(id -u):$(id -g) \ --mount type=bind,source="$(pwd)",target=/tmpdir \ -e OMP_NUM_THREADS=4 \ nicspalla/yambo-gcc_openmp_mkl:latest \ yambo -F yambo.in -J yambo.out
Otherwise (suggested!), copy and paste the code below in a file, i.e called drun.sh:
#!/bin/bash docker run -ti --user $(id -u):$(id -g) \ --mount type=bind,source="$(pwd)",target=/tmpdir \ -e OMP_NUM_THREADS=4 \ nicspalla/yambo-gcc_openmp_mkl:latest $@
then give the file execute privileges:
chmod +x drun.sh
Move (or copy) this file in the directory where you want to use Yambo and use it as prefix of your Yambo calculation:
./drun.sh yambo -F yambo.in -J yambo.out
If the yambo container is working correctly you should obtain:
./drun.sh yambo yambo: cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)
>./drun.sh yambo -h
should provide in output the help for yambo usage.
Install Yambo
If you have some experience with compiling codes, you can get the source and install it. If you never compiled a code, it is better to choose one of the above options as the technical assistance we can offer is limited.
Tutorials
Before starting, get the tutorial files.
Thursday 8 April
14:30 - 17:00 From the DFT ground state to the complete setup of a Many Body calculation using Yambo Davide Sangalli (CNR-ISM, Italy), Pedro Melo (University of Liege, Belgium)
Friday 9 April
13:30 - 16:30 A complete tour through GW simulation in a complex material (from the blackboard to numerical computation: convergence, algorithms, parallel usage) Daniele Varsano (CNR-NANO, Italy), Andrea Ferretti (CNR-NANO, Italy)
Thursday 15 April
13:30 - 15:00 A guided tour through calculations of spectroscopic properties using the BSE approach Fulvio Paleari (CNR-ISM, Italy), Myrta Grüning (Queen's University Belfast, Northern Ireland)
Lectures
Thursday 8 April
10:00 to 10:10 - Welcome & Introduction Andrea Marini
10:10 to 10:30 - Material Science and Yambo, what we can calculate Andrea Marini
10:40 to 11:00 - Introduction to Many Body Perturbation Theory Pedro Melo
11:25 to 11:45 - The linear response theory Claudio Attaccalite
12:00 to 12:20 - From equations to simulations: the hard life of a Materials scientist Myrta Grüning
Friday 9 April
10:00 to 10:20 - from ARPES to quasiparticles Andrea Ferretti
10:30 to 10:50 - The Quasi Particle concept and the GW method Andrea Ferretti & Daniele Varsano
11:20 to 11:40 - GW implementation and common approximations Daniele Varsano
Thursday 15 April
10:00 to 10:20 - Optical properties & excitons Maurizia Palummo
10:30 to 10:50 - Derivation of the Bethe-Salpeter Equation and main physical concepts Claudio Attaccalite
11:20 to 11:40 - BSE implementation and common approximations Davide Sangalli