Tutorial

The following tutorial should be done in SCTK/examples/Al/.

SCF calculation of the charge density

Input file: scf.in
Program: pw.x (QuantumESPRESSO)

$ export OMP_NUM_THREADS=1
$ mpiexec -np 29 PATH/pw.x -nk 29 -in scf.in > scf.out
    
Important parameters
note: Either of the following two steps, Calculations of phonon and electron-phonon interaction and Calculation of screened Coulomb interaction/Spin-fluctuation, can be performed first.

Calculations of phonon and electron-phonon interaction

Calculation of phonon frequency and deformation potential

Input file: ph.in
Program: ph.x (QuantumESPRESSO)

$ mpiexec -np 29 PATH/ph.x -nk 29 -in ph.in > ph.out
    
Important parameters

Calculation of electron-phonon interaction

Input file: epmat.in
Program: ph.x (QuantumESPRESSO)

$ mpiexec -np 8 PATH/ph.x -nk 8 -in epmat.in > epmat.out
    
Important parameters

Calculation of screened Coulomb interaction/Spin-fluctuation

Non-SCF calculation with a dense k grid

Input file: nscf.in
Program: pw.x (QuantumESPRESSO)

$ mpiexec -np 32 PATH/pw.x -nk 32 -in nscf.in > nscf.out
    
Important parameters

Calculation of wave functions for the screened Coulomb interaction

Input file: twin.in
Program: pw.x (QuantumESPRESSO)

$ bash PATH/twingrid.x 4 4 4 >> twin.in
$ mpiexec -np 32 PATH/pw.x -nk 32 -in twin.in > twin.out
    
Important parameters

Calculation of screened Coulomb interaction

Input file: sctk.in
Program: sctk.x

$ mpiexec -np 32 PATH/sctk.x -nk 32 -in sctk.in > kel.out
    
Important parameters

SCDFT SCF calculation

After all calculations in Calculations of phonon and electron-phonon interaction and Calculation of screened Coulomb interaction/Spin-fluctuation are finished, we can start the SCDFT calculation. Input file: sctk.in (Should be modified)
Program: sctk.x

$ export OMP_NUM_THREADS=32
$ mpiexec -np 1 PATH/sctk.x < sctk.in > tc.out
    
Important parameters

Further analysis

By changing the parameter calculation, we can perform the following analyses.
Input file: sctk.in (Should be modified)
Program: sctk.x

$ mpiexec -np 1 PATH/sctk.x < sctk.in
    
Important parameters

note:

There is another tutorial in SCTK/examples/MgB2/. Please note that in these tutorials, the number of k points and bands and the pseudopotentials are not sufficient for the production level.

New: user-contributed examples of Pb with production-level parameters are provided in SCTK/examples/Pb. Large computing resources are needed for running these contributions.