quantum-espresso/PP/examples
Pietro Delugas f184591e9f uploaded one pseudo to the website
new pseudo also added also to clean_ps list.
References to the pseudo in PP/examples/ForceTheorem_example/run_example
changed accordingly.
2018-09-11 11:09:00 +02:00
..
BGW_example Added simple test for pw2bgw.x, courtesy Georgy Samsonidze 2018-01-17 18:41:30 +01:00
CLS_FS_example updated examples for post-processing 2017-02-08 10:45:16 +00:00
CLS_IS_example updated examples for post-processing 2017-02-08 10:45:16 +00:00
ForceTheorem_example uploaded one pseudo to the website 2018-09-11 11:09:00 +02: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 Updated example scripts 2014-03-28 16:25:38 +00:00
WannierHam_example updated examples for post-processing 2017-02-08 10:45:16 +00:00
WorkFct_example Example for Work Function updated to reflect new format of average.x 2017-06-06 16:50:44 +00:00
dipole_example read_file_new reads input variables from data-file-schema.xml 2018-03-10 13:27:49 +00:00
example01 updated examples for post-processing 2017-02-08 10:45:16 +00:00
example02 Way too large files replaced by compressed versions 2017-02-11 19:25:49 +00:00
example03 updated examples for post-processing 2017-02-08 10:45:16 +00:00
example04 updated examples for post-processing 2017-02-08 10:45:16 +00:00
example05 MAJOR restructuring of the FFTXlib library 2017-08-01 20:31:02 +00:00
example06 MAJOR restructuring of the FFTXlib library 2017-08-01 20:31:02 +00:00
fermisurf_example Option "-in file" for fermi_proj.x and fermi_velocity.x was not working in 2017-11-10 15:05:24 +00:00
pw2gw_example Added example for pw2gw, courtesy Olivia PUlci and Davide Grassano 2018-02-08 22:30:56 +01:00
README Added simple test for pw2bgw.x, courtesy Georgy Samsonidze 2018-01-17 18:41:30 +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.

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.

Additional feature-specific examples:

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