2018-05-04 22:21:59 +08:00
|
|
|
# Copyright (C) 2001 Quantum ESPRESSO
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License. See the file `License' in the root directory
|
2017-02-19 02:51:07 +08:00
|
|
|
# of the present distribution.
|
2015-12-27 03:40:22 +08:00
|
|
|
|
2017-02-19 02:51:07 +08:00
|
|
|
TEST-SUITE v6.1
|
2015-12-27 03:40:22 +08:00
|
|
|
------------------
|
|
|
|
|
2016-10-03 01:04:38 +08:00
|
|
|
Type 'make' for the list of possible options. Currently only PW, CP and EPW
|
|
|
|
are supported.
|
2015-12-27 03:40:22 +08:00
|
|
|
|
2016-10-03 01:04:38 +08:00
|
|
|
'make compare' compare the latest run of tests (SERIAL or PARALLEl) and
|
|
|
|
redirect the output to a file called "out.XXX.`date +%Y%m%d_%H%M%S`"
|
|
|
|
'XXX' is replaced by the name of the package ('PW', 'CP', 'EPW')
|
2015-12-27 03:40:22 +08:00
|
|
|
|
2016-10-03 01:04:38 +08:00
|
|
|
Clean all test files and leave only benchmark reference via 'make clean'
|
|
|
|
command
|
2016-01-08 18:57:27 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
REFERENCE OUTPUTS
|
|
|
|
-----------------
|
|
|
|
|
2016-10-03 01:04:38 +08:00
|
|
|
All reference outputs have been computed using GCC 4.8.5
|
2016-01-08 23:56:03 +08:00
|
|
|
|
2016-10-03 01:04:38 +08:00
|
|
|
The following configure options have been used:
|
2016-04-25 04:41:57 +08:00
|
|
|
|
2017-02-06 05:19:46 +08:00
|
|
|
./configure --enable-openmp --disable-parallel --with-netlib
|
2016-01-08 23:56:03 +08:00
|
|
|
|
2016-10-03 01:04:38 +08:00
|
|
|
DFLAGS = -D__OPENMP -D__GFORTRAN -D__STD_F95 -D__FFTW
|
|
|
|
CFLAGS = -O3 $(DFLAGS) $(IFLAGS)
|
|
|
|
F90FLAGS = $(FFLAGS) -x f95-cpp-input -fopenmp
|
|
|
|
FFLAGS = -O3 -g -fopenmp
|
|
|
|
FFLAGS_NOOPT = -O0 -g
|
|
|
|
LD = gfortran
|
|
|
|
LDFLAGS = -g -pthread -fopenmp
|
2017-02-06 05:19:46 +08:00
|
|
|
|
|
|
|
|
|
|
|
During execution:
|
|
|
|
|
|
|
|
OMP_NUM_THREADS = 4
|
2018-05-04 22:21:59 +08:00
|
|
|
|
|
|
|
#################################################################################################
|
|
|
|
# TEST DESCRIPTIONS and what is tested.
|
|
|
|
#################################################################################################
|
|
|
|
|
2018-05-05 00:15:36 +08:00
|
|
|
#################################################################################################
|
|
|
|
# PWSCF tests
|
|
|
|
#################################################################################################
|
|
|
|
######################
|
|
|
|
# pw_atom : O and Ni #
|
|
|
|
######################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- occupancies from input, also with spin polarization
|
|
|
|
- PBE and spin-polarized PBE
|
|
|
|
- PBE and s-PBE stress
|
|
|
|
- atomic occupations: Ni d8s2 and d9s1
|
|
|
|
|
|
|
|
#####################
|
|
|
|
# pw_berry : PbTiO3 #
|
|
|
|
#####################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- scf: Q function in real space (tqr=.true.)
|
|
|
|
- nscf: Berry phase calculation (with and without empty bands)
|
|
|
|
|
|
|
|
##################
|
|
|
|
# pw_b3lyp-O : O #
|
|
|
|
##################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- B3LYP hybrid functional (spin polarized), Gamma
|
|
|
|
|
|
|
|
##################
|
|
|
|
# pw_b3lyp-h2o : H2O #
|
|
|
|
##################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- structural optimization with B3LYP, unpolarized, Gamma
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# pw_cluster : N and NH4 and H2O #
|
|
|
|
##################################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Martyna-Tuckermann method for isolated systems
|
|
|
|
- Makov-Payne correction for isolated systems
|
|
|
|
|
|
|
|
###############
|
|
|
|
# pw_dft : Si #
|
|
|
|
###############
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Various flavours of XC (GGA, no hybrid-meta-nonlocal XC)
|
|
|
|
|
|
|
|
#########################
|
|
|
|
# pw_dipole : CO and Ni #
|
|
|
|
#########################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- dipole field correction
|
|
|
|
|
|
|
|
#####################
|
|
|
|
# pw_electric : Si #
|
|
|
|
#####################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- finite electric field using Berry's phase approach
|
|
|
|
|
|
|
|
#######################
|
|
|
|
# pw_eval_infix : Si #
|
|
|
|
#######################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- parser
|
|
|
|
|
|
|
|
###################
|
|
|
|
# pw_gau-pbe : Si #
|
|
|
|
###################
|
|
|
|
The following features of the code are tested:
|
|
|
|
-GAU-PBE functional
|
|
|
|
|
|
|
|
###############
|
|
|
|
# pw_hse : Si #
|
|
|
|
###############
|
|
|
|
The following features of the code are tested:
|
|
|
|
- HSE hybrid functional, nq=1
|
|
|
|
- HSE hybrid functional, nq=2
|
|
|
|
- HSE hybrid functional, nq=4
|
|
|
|
|
|
|
|
####################
|
|
|
|
# pw_langevin : H2 #
|
|
|
|
####################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Langevin dynamics, Smart Monte Carlo algorithm
|
|
|
|
|
|
|
|
###################
|
|
|
|
# pw_lattice : H2 #
|
|
|
|
###################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- all bravais lattices, CELL_PARAMETERS, a b c parameters
|
|
|
|
- Gamma and automatic k-points
|
|
|
|
|
|
|
|
##################
|
|
|
|
# pw_lda+U : FeO #
|
|
|
|
##################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- LDA+U with standard and user-defined occupancies
|
|
|
|
- forces and stresses, gamma-only case
|
|
|
|
|
|
|
|
####################
|
|
|
|
# pw_lsda : Ni fcc #
|
|
|
|
####################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- LSDA with starting magnetization and free occupancies
|
|
|
|
- core corrections
|
|
|
|
- davidson and cg diagonalizations
|
|
|
|
- simple, TF, local-TF mixing, ndim=4,8
|
|
|
|
- constrained occupancies: tot_magnetization, nelup+neldw
|
|
|
|
- LSDA stress
|
|
|
|
- non-scf calculation
|
|
|
|
|
|
|
|
###############
|
|
|
|
# pw_md : Si #
|
|
|
|
###############
|
|
|
|
The following features of the code are tested:
|
|
|
|
- verlet algorithm
|
|
|
|
- potential extrapolation
|
|
|
|
- wavefunction extrapolation
|
|
|
|
|
|
|
|
#####################
|
|
|
|
# pw_metaGGA : C4H6 #
|
|
|
|
#####################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- meta-GGA
|
|
|
|
|
|
|
|
#####################
|
|
|
|
# pw_metal : Al fcc #
|
|
|
|
#####################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- occupancies: all smearing schemes, tetrahedra
|
|
|
|
- stress in metals
|
|
|
|
- non-scf calculation with smearing and tetrahedra
|
|
|
|
|
|
|
|
########################
|
|
|
|
# pw_noncolin : Fe bcc #
|
|
|
|
########################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- noncollinear magnetization
|
|
|
|
- davidson and cg diagonalizations
|
|
|
|
- constraints: atomic, atomic direction, total magnetization
|
|
|
|
- noncollinear stress
|
|
|
|
- non-scf calculation, tetrahedra
|
|
|
|
- hybrid functionals (norm-conserving)
|
|
|
|
|
|
|
|
##########################
|
|
|
|
# pw_paw-atom : O and Cu #
|
|
|
|
##########################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- PAW
|
|
|
|
|
|
|
|
#####################
|
|
|
|
# pw_paw-bfgs : H2O #
|
|
|
|
#####################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- PAW with bfgs
|
|
|
|
|
|
|
|
#######################
|
|
|
|
# pw_paw-vcbfgs : H2O #
|
|
|
|
#######################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- PAW with variable-cell bfgs
|
|
|
|
|
|
|
|
##################
|
|
|
|
# pw_pbeq2d : Cu #
|
|
|
|
##################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Modified PBE functional PBEQ2D
|
|
|
|
|
|
|
|
###############
|
|
|
|
# pw_pbe : Si #
|
|
|
|
###############
|
|
|
|
The following features of the code are tested:
|
|
|
|
- BE0 hybrid functional, nq=1
|
|
|
|
- BE0 hybrid functional, nq=2
|
|
|
|
- BE0 hybrid functional, nq=4
|
|
|
|
|
|
|
|
#########################
|
|
|
|
# pw_plugin-pw2casino : #
|
|
|
|
#########################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- interface with CASINO
|
|
|
|
|
|
|
|
#################
|
|
|
|
# pw_relax : CO #
|
|
|
|
#################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- forces
|
|
|
|
- bfgs and damped dynamics
|
|
|
|
- energies, forces, bfgs with saw-like electric field
|
|
|
|
- bfgs with external forces
|
|
|
|
|
|
|
|
##################
|
|
|
|
# pw_relax2 : Al #
|
|
|
|
##################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- forces in metals
|
|
|
|
- bfgs_ndim=3
|
|
|
|
|
|
|
|
###################
|
|
|
|
# pw_scf : Si fcc #
|
|
|
|
###################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- davidson and cg diagonalizations
|
|
|
|
- simple, TF, local-TF mixing, ndim=4,8
|
|
|
|
- Gamma, automatic, list of k-points (tpiba, crystal, tpiba_b)
|
|
|
|
- wf_collect, disk_io, force_symmorphic, use_all_frac options
|
|
|
|
- stress with k-points and at Gamma
|
|
|
|
- non-scf calculation
|
|
|
|
- old "ncpp" format for pseudopotentials
|
|
|
|
|
|
|
|
#########################
|
|
|
|
# pw_spinorbit : Pt fcc #
|
|
|
|
#########################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- spin-orbit + noncollinear magnetization
|
|
|
|
- spin-orbit stress
|
|
|
|
- non-scf calculation, tetrahedra
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
# pw_uspp : Cu fcc and H2O and Ni fcc #
|
|
|
|
#######################################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- US PP, both single and double grid
|
|
|
|
- davidson and cg diagonalizations
|
|
|
|
- simple, TF, local-TF mixing, ndim=4,8
|
|
|
|
- stress with single and double grid
|
|
|
|
- non-scf calculation
|
|
|
|
- hybrid functionals (pbe0/hse, gamma/k, real/G-space)
|
|
|
|
- old Vanderbilt format for pseudopotentials
|
|
|
|
- Fake coulombian (1/r) pseudopotential
|
|
|
|
- core corrections
|
|
|
|
- stress with core corrections
|
|
|
|
- non-scf calculation
|
|
|
|
|
|
|
|
####################
|
|
|
|
# pw_vc-relax : As #
|
|
|
|
####################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Variable-cell optimization (both damped dynamics and bfgs) at zero pressure and under an external pressure
|
|
|
|
|
|
|
|
#################
|
|
|
|
# pw_vc-md : As #
|
|
|
|
#################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Variable-cell dynamics (Wentzcovitch dynamics) at zero pressure and under an external pressure
|
|
|
|
|
|
|
|
##############
|
|
|
|
# pw_vdw : C #
|
|
|
|
##############
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Dispersion (van der Waals) interactions with DFT-D (Grimme)
|
|
|
|
- As above, with vdW-DF[1-4] (nonlocal) functionals
|
|
|
|
- As above, with vdW-DF-C09 (nonlocal) functionals
|
|
|
|
- As above, Tkatchenko-Scheffler
|
|
|
|
|
|
|
|
##############
|
|
|
|
# pw_xdm : C #
|
|
|
|
##############
|
|
|
|
The following features of the code are tested:
|
|
|
|
- XDM dispersion correction.
|
|
|
|
|
|
|
|
|
2018-05-04 22:21:59 +08:00
|
|
|
#################################################################################################
|
|
|
|
# EPW tests
|
|
|
|
#################################################################################################
|
|
|
|
#############################
|
|
|
|
# epw_base: B-doped diamond #
|
|
|
|
#############################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Correct unfolding from IBZ to full BZ
|
|
|
|
- Correct Wannier interpolation
|
|
|
|
- Phonon & electron self-energy
|
|
|
|
- Eliashberg a2F
|
|
|
|
- Homogeneous fine k and q-grid integration
|
|
|
|
- Test nesting function
|
|
|
|
- Test spectral function
|
|
|
|
- Test parallel_k (epw1.in)
|
|
|
|
- Test parallel_q (epw2.in)
|
|
|
|
- Test restart feature epwread = .true. (epw2.in)
|
|
|
|
- Test band_plot (epw3.in)
|
|
|
|
- Test iverbosity = 1 (epw4.in)
|
|
|
|
- Test phonon spectral function (epw5.in)
|
|
|
|
- Test band parallelism, etf_mem 2 (epw6.in)
|
|
|
|
- Test restart feature (epw7.in)
|
|
|
|
- Test cumulant (epw8.in)
|
|
|
|
|
|
|
|
#################
|
|
|
|
# epw_metal: Pb #
|
|
|
|
#################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Test metals (epw.in)
|
|
|
|
- Test crystal ASR (epw2.in)
|
|
|
|
|
|
|
|
###############
|
|
|
|
# epw_mob: Si #
|
|
|
|
###############
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Test crystal ASR and etf_mem 1 (epw1.in)
|
|
|
|
- Test scattering rates and mobility (epw2.in)
|
|
|
|
- Test restart option, same input as epw2.in (epw3.in)
|
|
|
|
- Test indirect absortpion (epw4.in)
|
|
|
|
|
|
|
|
##############
|
|
|
|
# epw_pl: Si #
|
|
|
|
##############
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Test plasmon spectral functions (epw1.in)
|
|
|
|
|
|
|
|
##################
|
|
|
|
# epw_polar: SiC #
|
|
|
|
##################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Test the polar Wannier interpolation (epw1.in)
|
|
|
|
- Test band parallelism with polar (epw2.in)
|
|
|
|
- Test screening (epw3.in)
|
|
|
|
|
|
|
|
###############
|
|
|
|
# epw_soc: Pb #
|
|
|
|
###############
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Test SOC (epw.in)
|
|
|
|
- Test crystal ASR with SOC (epw2.in)
|
|
|
|
|
|
|
|
###################
|
|
|
|
# epw_super: MgB2 #
|
|
|
|
###################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Test isotropic Eliashberg superconductivity (epw_iso.in)
|
|
|
|
- Test anisotropic Eliashberg superconductivity (epw_aniso.in)
|
|
|
|
|
|
|
|
#################
|
|
|
|
# epw_trev: SiC #
|
|
|
|
#################
|
|
|
|
The following features of the code are tested:
|
|
|
|
- Time-reversal symmetry when inversion sym. is not part of the small group of q. (epw.in)
|
|
|
|
|
|
|
|
|
|
|
|
################
|
2018-05-09 05:12:47 +08:00
|
|
|
# not_epw_comp: Si #
|
2018-05-04 22:21:59 +08:00
|
|
|
################
|
|
|
|
This test is to compare electron-phonon matrix element produced directly by the phonon code
|
|
|
|
and by EPW. It requires modification to the phonon code.
|
|
|
|
Note that this folder is NOT tested in the test-suite but is here as it can be useful.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|