quantum-espresso/PP/examples
Paolo Giannozzi b4fb27a050 example05 restricted to usage of poormanwannier, since projected bands are now
treated in a separate example and those in example05 were not adding anything
2020-01-25 12:21:16 +01:00
..
ACF_example Calculate vdW kernel on the fly: fourth commit 2019-09-23 14:50:52 -04:00
BGW_example More cleanup of obsolete variables in examples 2019-02-22 22:20:39 +01:00
CLS_FS_example [Skip-CI] ATOMIC_POSITIONS and CELL_PARAMETERS cards without units are 2019-02-23 22:45:29 +01:00
CLS_IS_example [Skip-CI] ATOMIC_POSITIONS and CELL_PARAMETERS cards without units are 2019-02-23 22:45:29 +01:00
ForceTheorem_example "Force theorem" disentangled from calculation of projections 2019-11-05 22:23:17 +01:00
MolDos_example updated examples for post-processing 2017-02-08 10:45:16 +00:00
W90_open_grid_example Example for using wannier90 with open_grid.x, bypassing the nscf calculation 2018-04-04 20:06:30 +00:00
WAN90_example *.in files should not be in reference/ directory 2019-03-01 16:29:23 +01:00
WannierHam_example Two bugs in WannierHam, courtesy Ruixiang Zhou 2019-05-16 15:58:54 +02:00
WorkFct_example [Skip-CI] ATOMIC_POSITIONS and CELL_PARAMETERS cards without units are 2019-02-23 22:45:29 +01:00
dipole_example [Skip-CI] ATOMIC_POSITIONS and CELL_PARAMETERS cards without units are 2019-02-23 22:45:29 +01:00
example01 [Skip-CI] ATOMIC_POSITIONS and CELL_PARAMETERS cards without units are 2019-02-23 22:45:29 +01:00
example02 Removed no longer needed reference files 2020-01-25 09:44:59 +01:00
example03 [Skip-CI] ATOMIC_POSITIONS and CELL_PARAMETERS cards without units are 2019-02-23 22:45:29 +01:00
example04 Some examples updated 2019-11-12 17:47:22 +00:00
example05 example05 restricted to usage of poormanwannier, since projected bands are now 2020-01-25 12:21:16 +01:00
example06 [Skip-CI] ATOMIC_POSITIONS and CELL_PARAMETERS cards without units are 2019-02-23 22:45:29 +01:00
fermisurf_example Two problem (See below) related to the atomic-proj.xml were fixed (write_proj.f90). 2020-01-24 21:53:14 +09:00
projected_bands_example New "fat bands" example 2020-01-25 09:40:52 +01:00
pw2gw_example More cleanup of obsolete variables in examples 2019-02-22 22:20:39 +01:00
README New "fat bands" example 2020-01-25 09:40:52 +01:00
clean_all The cleaning system of the atomic code was no more compatible with the 2012-08-19 16:18:50 +00:00
run_all_examples MAJOR restructuring of the FFTXlib library 2017-08-01 20:31:02 +00:00

README

These are instructions on how to run the examples for some PostProc
programs included in the Quantum ESPRESSO distribution.
These examples try to exercise all the programs and features
of the PP package.
If you find that any relevant feature isn't being tested,
please contact us (or even better, write and send us a new example).
To run the examples, you should follow this procedure:

1) Edit the "environment_variables" file from the main 
   ESPRESSO directory, setting the following variables as needed:

     BIN_DIR = directory where ESPRESSO executables reside
     PSEUDO_DIR = directory where pseudopotential files reside
     TMP_DIR = directory to be used as temporary storage area

   If you have downloaded the full ESPRESSO distribution, you may set
   BIN_DIR=$TOPDIR/bin and PSEUDO_DIR=$TOPDIR/pseudo, where $TOPDIR is
   the root of the ESPRESSO source tree.

   TMP_DIR must be a directory you have read and write access to, with
   enough available space to host the temporary files produced by the
   example runs, and possibly offering high I/O performance (i.e.,
   don't use an NFS-mounted directory).

2) If you want to test the parallel version of ESPRESSO, you will 
   usually have to specify a driver program (such as "poe" or "mpirun")
   and the number of processors. This can be done by editing PARA_PREFIX
   and PARA_POSTFIX variables (in the "environment_variables" file).
   Parallel executables will be run by a command like this:

     $PARA_PREFIX pp.x $PARA_POSTFIX < file.in > file.out

   For example, if the command line is like this (as for an IBM SP):

     poe pp.x -procs 4 < file.in > file.out

   you should set PARA_PREFIX="poe", PARA_POSTFIX="-procs 4".

   See section "Running on parallel machines" of the user guide for details.
   Furthermore, if your machine does not support interactive use, you
   must run the commands specified below through the batch queueing
   system installed on that machine.  Ask your system administrator
   for instructions.

3) To run a single example, go to the corresponding directory (for
   instance, "example/example01") and execute:

     ./run_example

   This will create a subdirectory "results", containing the input and
   output files generated by the calculation.

   Some examples take only a few seconds to run, while others may
   require several minutes depending on your system.

4) In each example's directory, the "reference" subdirectory contains
   verified output files, that you can check your results against.

   The reference results were generated on a Linux PC with Intel compiler.
   On different architectures the precise numbers could be slightly
   different, in particular if different FFT dimensions are
   automatically selected.  For this reason, a plain "diff" of your
   results against the reference data doesn't work, or at least, it 
   requires human inspection of the results.

-----------------------------------------------------------------------

                   LIST AND CONTENT OF THE EXAMPLES

example01:
    This example shows how to use pw.x and postprocessing codes to
    make a contour plot in the [110] plane of the charge density for
    Si, and to plot the band structure of Si.

example02:
    This example shows how to use pw.x to calculate the DOS of Ni
    and how to plot the Fermi Surface using XCrysDen

example03:
    This example shows a calculation of STM maps.

example04:
    This example shows how to use bands.x to check the band symmetry
    of fcc-Pt with a fully relativistic pseudo-potential including 
    spin-orbit coupling, and to compute the projected DOS.

example05:
    This example shows how to use pmw.x to generate better projectors for
    LDA+U calculation on FeO. Read file README for more details

example06:
    This example calculates the band structure of ferromagnetic bcc-Fe
    in the noncollinear spin-orbit case.

projected_bands_example:
    This example shows how to produce projected ("fat") band plots

dipole_example:
    This example will calculate the water dipole and calculate the work
    function on a Ni slab with a CO molecule adsorbed using the dipole
    correction.

CLS_IS_example, CLS_FS_example
    These examples show how to calculate initial-state (IS) and final-state (FS)
    core-level-shift (CLS) using the core-excited pseudo-potential technique.

WorkFct_example:
    This example shows how to use pw.x, pp.x, and average.x to
    compute the work function of a metal using the slab-supercell
    approximation.  This example is of a 4 layer unrelaxed Al(100) slab
    with 5 equivalent layers of vacuum between the surfaces.

WAN90_example:
    This example shows how to use pw2wannier90.x in conjunction with
    Wannier90 (http://www.wannier.org) to obtain maximally-localised
    Wannier functions (MLWFs) for the valence bands of diamond.

WannierHam_example:
    This example shows how to generate a model Hamiltonian in a
    Wannier functions basis, using pw.x and wannier_ham.x.

MolDos_example:
    This example calculates the projection of the density of states of
    a system, containing a molecule, on the molecular orbitals of the
    molecule (separately computed).

ForceTheorem_example:

    This example shows how to compute the magnetic anisotropy energy (MAE) 
    with the "Force Theorem" method (Phys. Rev. B 90, 205409 (2014), and to
    get its local decomposition over atomic orbitals using projwfc.x.

fermisurf_example:
    This example generate input files for FermiSurfer 
    (http://osdn.jp/projects/fermisurfer/) to display Fermi surfaces with 
    color plots of the magnitude of the Fermi velocity and orbital characters.

BGW_example:
    This example generates output files for BerkeleyGW using the pw2bgw.x
    utility

ACF_example:
    This example tests the ppacf.x utility
    Y. Jiao, E. Schr\"oder, and P. Hyldgaard, Phys. Rev. B 97, 085115 (2018);
    Y. Jiao, E. Schr\"oder, P. Hyldgaard, J. Chem. Phys. 148, 194115 (2018).