Second (basic) tutorial¶
The H2 molecule, with convergence studies.¶
This tutorial aims at showing how to get converged values for the following physical properties:
- the bond length
- the atomisation energy
You will learn about the numerical quality of the calculations, then make convergence studies with respect to the number of planewaves and the size of the supercell, and finally consider the effect of the XC functional. The problems related to the use of different pseudopotential are not examined. You will also finish to read the abinit help file.
This tutorial should take about 1 hour.
Note
Supposing you made your own installation of ABINIT, the input files to run the examples are in the ~abinit/tests/ directory where ~abinit is the absolute path of the abinit top-level directory. If you have NOT made your own install, ask your system administrator where to find the package, especially the executable and test files.
In case you work on your own PC or workstation, to make things easier, we suggest you define some handy environment variables by executing the following lines in the terminal:
export ABI_HOME=Replace_with_absolute_path_to_abinit_top_level_dir # Change this line
export PATH=$ABI_HOME/src/98_main/:$PATH # Do not change this line: path to executable
export ABI_TESTS=$ABI_HOME/tests/ # Do not change this line: path to tests dir
export ABI_PSPDIR=$ABI_TESTS/Psps_for_tests/ # Do not change this line: path to pseudos dir
Examples in this tutorial use these shell variables: copy and paste
the code snippets into the terminal (remember to set ABI_HOME first!) or, alternatively,
source the set_abienv.sh
script located in the ~abinit directory:
source ~abinit/set_abienv.sh
The ‘export PATH’ line adds the directory containing the executables to your PATH so that you can invoke the code by simply typing abinit in the terminal instead of providing the absolute path.
To execute the tutorials, create a working directory (Work*
) and
copy there the input files of the lesson.
Most of the tutorials do not rely on parallelism (except specific tutorials on parallelism). However you can run most of the tutorial examples in parallel with MPI, see the topic on parallelism.
Summary of the previous tutorial¶
We studied the H_2 molecule in a big box. We used 10 Ha as cut-off energy, a 10x10x10 Bohr^3 supercell, the local-density approximation (as well as the local-spin-density approximation) in the Perdew-Wang parametrization (ixc = -1012) and a pseudopotential from the pseudodojo http://www.pseudo-dojo.org/.
At this stage, we compared our results:
- bond length: 1.486 Bohr
- atomisation energy at that bond length: 0.1704 Ha = 4.635 eV
with the experimental data (as well as theoretical data using a much more accurate technique than DFT)
- bond length: 1.401 Bohr
- atomisation energy: 4.747 eV
The bond length is rather bad (about 6% off), and the atomisation energy is a bit too low, 2.5% off.
2 The convergence in ecut (I)¶
2.1.a Computing the bond length and corresponding atomisation energy in one run.
Before beginning, you might consider to work in a different subdirectory as for tutorial 1. Why not Work2?
Because we will compute many times the bond length and atomisation energy, it is worth to make a single input file that will do all the associated operations. You should try to use 2 datasets (try to combine $ABI_TESTS/tutorial/Input/tbase1_3.abi with tbase1_5.abi). Do not try to have the same position of the H atom as one of the H_2 atoms in the optimized geometry.
cd $ABI_TESTS/tutorial/Input
mkdir Work2
cd Work2
cp ../tbase2_1.abi .
The input file tbase2_1.abi is an example of file that will do the job,
# H2 molecule in a big box # # This file to optimize the H2 bond length, compute the associated total # energy, then to compute the total energy of the isolated H atom. # ndtset 2 #Definition of the unit cell and ecut, #for which one will have to make a convergence study acell 10 10 10 ecut 10 #First dataset : find the optimal bond length of H2, and associated total energy natom1 2 # There are two atoms ionmov1 2 # Use the modified Broyden algorithm ntime1 10 # Maximum number of Broyden "timesteps" tolmxf1 5.0d-4 # Stopping criterion for the geometry optimization : when # the residual forces are less than tolmxf, the Broyden # algorithm can stop xcart1 -0.7 0.0 0.0 # The starting values of the 0.7 0.0 0.0 # atomic coordinates toldff1 5.0d-5 # Will stop the SCF cycle when, twice in a row, # the difference between two consecutive evaluations of # forces differ by less than toldff (in Hartree/Bohr) nband1 1 # Just one band #Second dataset : get the total energy of the isolated atom natom2 1 # There is one atom nsppol2 2 # Spin-polarized calculation occopt2 2 # Allow occupation numbers to be set by hand nband2 1 1 # Number of bands for spin up and spin down occ2 1.0 0.0 # Occupation numbers for spin up state and spin down state. toldfe2 1.0d-6 # Will stop the SCF cycles when, twice in a row, # the difference between two consecutive evaluations # of total energy differ by less than toldfe (in Hartree) # This value is way too large for most realistic studies of materials xcart2 0.0 0.0 0.0 # The atom is located at the origin spinat2 0.0 0.0 1.0 # Initialisation of spin #rprim 1 0 0 0 1 0 0 0 1 # This line, defining orthogonal primitive vectors, # is commented, because it is precisely the default value of rprim #Definition of the atom types ntypat 1 # There is only one type of atom znucl 1 # The keyword "znucl" refers to the atomic number of the possible type(s) of atom. # Here, the only type is Hydrogen. The pseudopotential(s) # mentioned after the keyword "pseudos" should correspond to this type of atom. pp_dirpath "$ABI_PSPDIR" # This is the path to the directory were pseudopotentials for tests are stored pseudos "Pseudodojo_nc_sr_04_pw_standard_psp8/H.psp8" # Name and location of the pseudopotential # This pseudopotential comes from the pseudodojo site http://www.pseudo-dojo.org/ (NC SR LDA standard), # and was generated using the LDA exchange-correlation functional (PW=Perdew-Wang, ixc=-1012). # By default, abinit uses the same exchange-correlation functional than the one of the input pseudopotential(s) #Definition of the atoms typat 1 1 # For the first dataset, both numbers will be read, # while for the second dataset, only one number will be read #Definition of the k-point grid kptopt 0 # Enter the k points manually nkpt 1 # Only one k point is needed for isolated system, # taken by default to be 0.0 0.0 0.0 #Definition of the SCF procedure nstep 10 # Maximal number of SCF cycles #toldfe is no more defined, as toldff is used above... diemac 2.0 # Although this is not mandatory, it is worth to # precondition the SCF cycle. The model dielectric # function used as the standard preconditioner # is described in the "dielng" input variable section. # Here, we follow the prescriptions for molecules # in a big box ############################################################## # This section is used only for regression testing of ABINIT # ############################################################## #%%<BEGIN TEST_INFO> #%% [setup] #%% executable = abinit #%% [files] #%% files_to_test = #%% tbase2_1.abo, tolnlines= 3, tolabs= 3.000e-10, tolrel= 2.000e-08 #%% [paral_info] #%% max_nprocs = 1 #%% [extra_info] #%% authors = X. Gonze #%% keywords = #%% description = #%% H2 molecule in a big box #%% This file to optimize the H2 bond length, compute the associated total #%% energy, then to compute the total energy of the isolated H atom. #%%<END TEST_INFO>
while tbase2_1.abo is an example of output file:
.Version 10.1.4.5 of ABINIT, released Sep 2024. .(MPI version, prepared for a x86_64_linux_gnu13.2 computer) .Copyright (C) 1998-2024 ABINIT group . ABINIT comes with ABSOLUTELY NO WARRANTY. It is free software, and you are welcome to redistribute it under certain conditions (GNU General Public License, see ~abinit/COPYING or http://www.gnu.org/copyleft/gpl.txt). ABINIT is a project of the Universite Catholique de Louvain, Corning Inc. and other collaborators, see ~abinit/doc/developers/contributors.txt . Please read https://docs.abinit.org/theory/acknowledgments for suggested acknowledgments of the ABINIT effort. For more information, see https://www.abinit.org . .Starting date : Fri 13 Sep 2024. - ( at 19h05 ) - input file -> /home/buildbot/ABINIT3/eos_gnu_13.2_mpich/trunk_merge-10.0/tests/TestBot_MPI1/tutorial_tbase2_1/tbase2_1.abi - output file -> tbase2_1.abo - root for input files -> tbase2_1i - root for output files -> tbase2_1o DATASET 1 : space group P4/m m m (#123); Bravais tP (primitive tetrag.) ================================================================================ Values of the parameters that define the memory need for DATASET 1. intxc = 0 ionmov = 2 iscf = 7 lmnmax = 3 lnmax = 3 mgfft = 30 mpssoang = 2 mqgrid = 3001 natom = 2 nloc_mem = 1 nspden = 1 nspinor = 1 nsppol = 1 nsym = 16 n1xccc = 0 ntypat = 1 occopt = 1 xclevel = 1 - mband = 1 mffmem = 1 mkmem = 1 mpw = 752 nfft = 27000 nkpt = 1 ================================================================================ P This job should need less than 8.700 Mbytes of memory. Rough estimation (10% accuracy) of disk space for files : _ WF disk file : 0.013 Mbytes ; DEN or POT disk file : 0.208 Mbytes. ================================================================================ DATASET 2 : space group Pm -3 m (#221); Bravais cP (primitive cubic) ================================================================================ Values of the parameters that define the memory need for DATASET 2. intxc = 0 ionmov = 0 iscf = 7 lmnmax = 3 lnmax = 3 mgfft = 30 mpssoang = 2 mqgrid = 3001 natom = 1 nloc_mem = 1 nspden = 2 nspinor = 1 nsppol = 2 nsym = 48 n1xccc = 0 ntypat = 1 occopt = 2 xclevel = 1 - mband = 1 mffmem = 1 mkmem = 1 mpw = 752 nfft = 27000 nkpt = 1 ================================================================================ P This job should need less than 12.812 Mbytes of memory. Rough estimation (10% accuracy) of disk space for files : _ WF disk file : 0.025 Mbytes ; DEN or POT disk file : 0.414 Mbytes. ================================================================================ -------------------------------------------------------------------------------- ------------- Echo of variables that govern the present computation ------------ -------------------------------------------------------------------------------- - - outvars: echo of selected default values - iomode0 = 0 , fftalg0 =512 , wfoptalg0 = 0 - - outvars: echo of global parameters not present in the input file - max_nthreads = 0 - -outvars: echo values of preprocessed input variables -------- acell 1.0000000000E+01 1.0000000000E+01 1.0000000000E+01 Bohr amu 1.00794000E+00 bs_loband1 0 bs_loband2 0 0 diemac 2.00000000E+00 ecut 1.00000000E+01 Hartree - fftalg 512 ionmov1 2 ionmov2 0 istwfk 2 ixc -1012 jdtset 1 2 kptopt 0 P mkmem 1 natom1 2 natom2 1 nband1 1 nband2 1 1 ndtset 2 ngfft 30 30 30 nkpt 1 nspden1 1 nspden2 2 nsppol1 1 nsppol2 2 nstep 10 nsym1 16 nsym2 48 ntime1 10 ntime2 1 ntypat 1 occ1 2.000000 occ2 1.000000 0.000000 occopt1 1 occopt2 2 optforces1 1 optforces2 2 spgroup1 123 spgroup2 221 spinat2 0.0000000000E+00 0.0000000000E+00 1.0000000000E+00 symafm1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 symafm2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 symrel1 1 0 0 0 1 0 0 0 1 -1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 -1 0 0 0 1 1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 1 1 0 0 0 0 1 0 1 0 -1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 -1 0 1 0 1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 1 0 symrel2 1 0 0 0 1 0 0 0 1 -1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 -1 0 0 0 1 1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 0 1 0 -1 0 -1 0 0 0 0 -1 0 -1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 1 0 -1 0 -1 0 0 0 0 1 0 1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 -1 0 -1 0 1 0 0 0 0 1 0 0 1 1 0 0 0 1 0 0 0 -1 -1 0 0 0 -1 0 0 0 -1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 1 0 0 0 -1 -1 0 0 0 1 0 0 0 1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 -1 0 0 0 -1 1 0 0 0 1 0 1 0 0 0 0 1 0 1 0 -1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 -1 0 1 0 1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 1 0 0 1 0 0 0 1 1 0 0 0 -1 0 0 0 -1 -1 0 0 0 -1 0 0 0 1 -1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 -1 1 0 0 0 1 0 0 0 1 -1 0 0 0 1 0 0 0 -1 -1 0 0 0 -1 0 0 0 1 1 0 0 0 0 1 0 1 0 1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 -1 0 1 0 0 0 0 1 0 1 0 -1 0 0 0 0 1 0 -1 0 -1 0 0 0 0 -1 0 1 0 1 0 0 tnons1 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 tnons2 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 toldfe1 0.00000000E+00 Hartree toldfe2 1.00000000E-06 Hartree toldff1 5.00000000E-05 toldff2 0.00000000E+00 tolmxf1 5.00000000E-04 tolmxf2 5.00000000E-05 typat1 1 1 typat2 1 xangst1 -3.7042404601E-01 0.0000000000E+00 0.0000000000E+00 3.7042404601E-01 0.0000000000E+00 0.0000000000E+00 xangst2 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 xcart1 -7.0000000000E-01 0.0000000000E+00 0.0000000000E+00 7.0000000000E-01 0.0000000000E+00 0.0000000000E+00 xcart2 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 xred1 -7.0000000000E-02 0.0000000000E+00 0.0000000000E+00 7.0000000000E-02 0.0000000000E+00 0.0000000000E+00 xred2 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 znucl 1.00000 ================================================================================ chkinp: Checking input parameters for consistency, jdtset= 1. chkinp: Checking input parameters for consistency, jdtset= 2. ================================================================================ == DATASET 1 ================================================================== - mpi_nproc: 1, omp_nthreads: -1 (-1 if OMP is not activated) --- !DatasetInfo iteration_state: {dtset: 1, } dimensions: {natom: 2, nkpt: 1, mband: 1, nsppol: 1, nspinor: 1, nspden: 1, mpw: 752, } cutoff_energies: {ecut: 10.0, pawecutdg: -1.0, } electrons: {nelect: 2.00000000E+00, charge: 0.00000000E+00, occopt: 1.00000000E+00, tsmear: 1.00000000E-02, } meta: {optdriver: 0, ionmov: 2, optcell: 0, iscf: 7, paral_kgb: 0, } ... Real(R)+Recip(G) space primitive vectors, cartesian coordinates (Bohr,Bohr^-1): R(1)= 10.0000000 0.0000000 0.0000000 G(1)= 0.1000000 0.0000000 0.0000000 R(2)= 0.0000000 10.0000000 0.0000000 G(2)= 0.0000000 0.1000000 0.0000000 R(3)= 0.0000000 0.0000000 10.0000000 G(3)= 0.0000000 0.0000000 0.1000000 Unit cell volume ucvol= 1.0000000E+03 bohr^3 Angles (23,13,12)= 9.00000000E+01 9.00000000E+01 9.00000000E+01 degrees getcut: wavevector= 0.0000 0.0000 0.0000 ngfft= 30 30 30 ecut(hartree)= 10.000 => boxcut(ratio)= 2.10744 --- Pseudopotential description ------------------------------------------------ - pspini: atom type 1 psp file is /home/buildbot/ABINIT3/eos_gnu_13.2_mpich/trunk_merge-10.0/tests/Psps_for_tests/Pseudodojo_nc_sr_04_pw_standard_psp8/H.psp8 - pspatm: opening atomic psp file /home/buildbot/ABINIT3/eos_gnu_13.2_mpich/trunk_merge-10.0/tests/Psps_for_tests/Pseudodojo_nc_sr_04_pw_standard_psp8/H.psp8 - H ONCVPSP-3.3.0 r_core= 1.00957 0.90680 - 1.00000 1.00000 171101 znucl, zion, pspdat 8 -1012 1 4 300 0.00000 pspcod,pspxc,lmax,lloc,mmax,r2well 2.99000000000000 0.00000000000000 0.00000000000000 rchrg,fchrg,qchrg nproj 2 1 extension_switch 1 pspatm : epsatm= 0.35491505 --- l ekb(1:nproj) --> 0 -1.665338 -0.519510 1 -0.275071 pspatm: atomic psp has been read and splines computed 1.41966018E+00 ecore*ucvol(ha*bohr**3) -------------------------------------------------------------------------------- _setup2: Arith. and geom. avg. npw (full set) are 1503.000 1503.000 ================================================================================ === [ionmov= 2] Broyden-Fletcher-Goldfarb-Shanno method (forces) ================================================================================ --- Iteration: ( 1/10) Internal Cycle: (1/1) -------------------------------------------------------------------------------- ---SELF-CONSISTENT-FIELD CONVERGENCE-------------------------------------------- --- !BeginCycle iteration_state: {dtset: 1, itime: 1, icycle: 1, } solver: {iscf: 7, nstep: 10, nline: 4, wfoptalg: 0, } tolerances: {toldff: 5.00E-05, } ... iter Etot(hartree) deltaE(h) residm vres2 diffor maxfor ETOT 1 -1.1094662760139 -1.109E+00 2.634E-06 1.742E+01 1.649E-03 1.649E-03 ETOT 2 -1.1170451552865 -7.579E-03 1.569E-09 2.639E-01 3.140E-02 2.975E-02 ETOT 3 -1.1171734568401 -1.283E-04 9.871E-07 6.721E-02 3.910E-03 2.584E-02 ETOT 4 -1.1171842840515 -1.083E-05 5.933E-08 6.908E-04 1.127E-03 2.697E-02 ETOT 5 -1.1171843456996 -6.165E-08 2.922E-11 9.525E-06 5.475E-05 2.691E-02 ETOT 6 -1.1171843463486 -6.490E-10 1.734E-12 3.695E-07 1.013E-05 2.690E-02 ETOT 7 -1.1171843463515 -2.882E-12 1.164E-14 2.496E-09 5.222E-07 2.690E-02 At SCF step 7, forces are converged : for the second time, max diff in force= 5.222E-07 < toldff= 5.000E-05 Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= -3.33743819E-06 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 3.45777722E-05 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 3.45777722E-05 sigma(2 1)= 0.00000000E+00 --- !ResultsGS iteration_state: {dtset: 1, itime: 1, icycle: 1, } comment : Summary of ground state results lattice_vectors: - [ 10.0000000, 0.0000000, 0.0000000, ] - [ 0.0000000, 10.0000000, 0.0000000, ] - [ 0.0000000, 0.0000000, 10.0000000, ] lattice_lengths: [ 10.00000, 10.00000, 10.00000, ] lattice_angles: [ 90.000, 90.000, 90.000, ] # degrees, (23, 13, 12) lattice_volume: 1.0000000E+03 convergence: {deltae: -2.882E-12, res2: 2.496E-09, residm: 1.164E-14, diffor: 5.222E-07, } etotal : -1.11718435E+00 entropy : 0.00000000E+00 fermie : -3.69422546E-01 cartesian_stress_tensor: # hartree/bohr^3 - [ -3.33743819E-06, 0.00000000E+00, 0.00000000E+00, ] - [ 0.00000000E+00, 3.45777722E-05, 0.00000000E+00, ] - [ 0.00000000E+00, 0.00000000E+00, 3.45777722E-05, ] pressure_GPa: -6.4548E-01 xred : - [ -7.0000E-02, 0.0000E+00, 0.0000E+00, H] - [ 7.0000E-02, 0.0000E+00, 0.0000E+00, H] cartesian_forces: # hartree/bohr - [ -2.69014153E-02, -0.00000000E+00, -0.00000000E+00, ] - [ 2.69014153E-02, -0.00000000E+00, -0.00000000E+00, ] force_length_stats: {min: 2.69014153E-02, max: 2.69014153E-02, mean: 2.69014153E-02, } ... Integrated electronic density in atomic spheres: ------------------------------------------------ Atom Sphere_radius Integrated_density 1 2.00000 1.44870519 2 2.00000 1.44870519 ---OUTPUT----------------------------------------------------------------------- Cartesian coordinates (xcart) [bohr] -7.00000000000000E-01 0.00000000000000E+00 0.00000000000000E+00 7.00000000000000E-01 0.00000000000000E+00 0.00000000000000E+00 Reduced coordinates (xred) -7.00000000000000E-02 0.00000000000000E+00 0.00000000000000E+00 7.00000000000000E-02 0.00000000000000E+00 0.00000000000000E+00 Cartesian forces (fcart) [Ha/bohr]; max,rms= 2.69014E-02 1.55315E-02 (free atoms) -2.69014153092388E-02 -0.00000000000000E+00 -0.00000000000000E+00 2.69014153092388E-02 -0.00000000000000E+00 -0.00000000000000E+00 Gradient of E wrt nuclear positions in reduced coordinates (gred) 2.69014153092388E-01 0.00000000000000E+00 0.00000000000000E+00 -2.69014153092388E-01 -0.00000000000000E+00 -0.00000000000000E+00 Total energy (etotal) [Ha]= -1.11718434635148E+00 --- Iteration: ( 2/10) Internal Cycle: (1/1) -------------------------------------------------------------------------------- ---SELF-CONSISTENT-FIELD CONVERGENCE-------------------------------------------- --- !BeginCycle iteration_state: {dtset: 1, itime: 2, icycle: 1, } solver: {iscf: 7, nstep: 10, nline: 4, wfoptalg: 0, } tolerances: {toldff: 5.00E-05, } ... iter Etot(hartree) deltaE(h) residm vres2 diffor maxfor ETOT 1 -1.1181341125748 -1.118E+00 1.241E-10 2.638E-02 1.762E-02 9.280E-03 ETOT 2 -1.1181407932581 -6.681E-06 1.460E-12 7.012E-04 1.851E-04 9.094E-03 ETOT 3 -1.1181409439805 -1.507E-07 1.295E-09 1.267E-04 1.571E-04 9.252E-03 ETOT 4 -1.1181409608961 -1.692E-08 9.303E-11 2.737E-06 3.907E-05 9.213E-03 ETOT 5 -1.1181409610935 -1.975E-10 1.625E-13 4.362E-08 2.128E-06 9.215E-03 At SCF step 5, forces are converged : for the second time, max diff in force= 2.128E-06 < toldff= 5.000E-05 Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= 2.38248725E-05 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 3.38307357E-05 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 3.38307357E-05 sigma(2 1)= 0.00000000E+00 --- !ResultsGS iteration_state: {dtset: 1, itime: 2, icycle: 1, } comment : Summary of ground state results lattice_vectors: - [ 10.0000000, 0.0000000, 0.0000000, ] - [ 0.0000000, 10.0000000, 0.0000000, ] - [ 0.0000000, 0.0000000, 10.0000000, ] lattice_lengths: [ 10.00000, 10.00000, 10.00000, ] lattice_angles: [ 90.000, 90.000, 90.000, ] # degrees, (23, 13, 12) lattice_volume: 1.0000000E+03 convergence: {deltae: -1.975E-10, res2: 4.362E-08, residm: 1.625E-13, diffor: 2.128E-06, } etotal : -1.11814096E+00 entropy : 0.00000000E+00 fermie : -3.64704806E-01 cartesian_stress_tensor: # hartree/bohr^3 - [ 2.38248725E-05, 0.00000000E+00, 0.00000000E+00, ] - [ 0.00000000E+00, 3.38307357E-05, 0.00000000E+00, ] - [ 0.00000000E+00, 0.00000000E+00, 3.38307357E-05, ] pressure_GPa: -8.9721E-01 xred : - [ -7.2690E-02, 0.0000E+00, 0.0000E+00, H] - [ 7.2690E-02, 0.0000E+00, 0.0000E+00, H] cartesian_forces: # hartree/bohr - [ -9.21468148E-03, -0.00000000E+00, -0.00000000E+00, ] - [ 9.21468148E-03, -0.00000000E+00, -0.00000000E+00, ] force_length_stats: {min: 9.21468148E-03, max: 9.21468148E-03, mean: 9.21468148E-03, } ... Integrated electronic density in atomic spheres: ------------------------------------------------ Atom Sphere_radius Integrated_density 1 2.00000 1.42692292 2 2.00000 1.42692292 ---OUTPUT----------------------------------------------------------------------- Cartesian coordinates (xcart) [bohr] -7.26901415309239E-01 0.00000000000000E+00 0.00000000000000E+00 7.26901415309239E-01 0.00000000000000E+00 0.00000000000000E+00 Reduced coordinates (xred) -7.26901415309239E-02 0.00000000000000E+00 0.00000000000000E+00 7.26901415309239E-02 0.00000000000000E+00 0.00000000000000E+00 Cartesian forces (fcart) [Ha/bohr]; max,rms= 9.21468E-03 5.32010E-03 (free atoms) -9.21468147889329E-03 -0.00000000000000E+00 -0.00000000000000E+00 9.21468147889329E-03 -0.00000000000000E+00 -0.00000000000000E+00 Gradient of E wrt nuclear positions in reduced coordinates (gred) 9.21468147889329E-02 0.00000000000000E+00 0.00000000000000E+00 -9.21468147889329E-02 -0.00000000000000E+00 -0.00000000000000E+00 Total energy (etotal) [Ha]= -1.11814096109354E+00 Difference of energy with previous step (new-old): Absolute (Ha)=-9.56615E-04 Relative =-8.55907E-04 --- Iteration: ( 3/10) Internal Cycle: (1/1) -------------------------------------------------------------------------------- ---SELF-CONSISTENT-FIELD CONVERGENCE-------------------------------------------- --- !BeginCycle iteration_state: {dtset: 1, itime: 3, icycle: 1, } solver: {iscf: 7, nstep: 10, nline: 4, wfoptalg: 0, } tolerances: {toldff: 5.00E-05, } ... iter Etot(hartree) deltaE(h) residm vres2 diffor maxfor ETOT 1 -1.1182837424476 -1.118E+00 3.386E-11 6.997E-03 7.957E-03 1.258E-03 ETOT 2 -1.1182854883276 -1.746E-06 3.759E-13 1.837E-04 9.001E-05 1.168E-03 ETOT 3 -1.1182855269948 -3.867E-08 3.303E-10 3.295E-05 7.806E-05 1.246E-03 ETOT 4 -1.1182855312527 -4.258E-09 2.342E-11 7.280E-07 1.912E-05 1.227E-03 ETOT 5 -1.1182855313061 -5.335E-11 4.435E-14 1.155E-08 1.119E-06 1.228E-03 At SCF step 5, forces are converged : for the second time, max diff in force= 1.119E-06 < toldff= 5.000E-05 Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= 3.67541841E-05 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 3.35326295E-05 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 3.35326295E-05 sigma(2 1)= 0.00000000E+00 --- !ResultsGS iteration_state: {dtset: 1, itime: 3, icycle: 1, } comment : Summary of ground state results lattice_vectors: - [ 10.0000000, 0.0000000, 0.0000000, ] - [ 0.0000000, 10.0000000, 0.0000000, ] - [ 0.0000000, 0.0000000, 10.0000000, ] lattice_lengths: [ 10.00000, 10.00000, 10.00000, ] lattice_angles: [ 90.000, 90.000, 90.000, ] # degrees, (23, 13, 12) lattice_volume: 1.0000000E+03 convergence: {deltae: -5.335E-11, res2: 1.155E-08, residm: 4.435E-14, diffor: 1.119E-06, } etotal : -1.11828553E+00 entropy : 0.00000000E+00 fermie : -3.62339097E-01 cartesian_stress_tensor: # hartree/bohr^3 - [ 3.67541841E-05, 0.00000000E+00, 0.00000000E+00, ] - [ 0.00000000E+00, 3.35326295E-05, 0.00000000E+00, ] - [ 0.00000000E+00, 0.00000000E+00, 3.35326295E-05, ] pressure_GPa: -1.0182E+00 xred : - [ -7.4092E-02, 0.0000E+00, 0.0000E+00, H] - [ 7.4092E-02, 0.0000E+00, 0.0000E+00, H] cartesian_forces: # hartree/bohr - [ -1.22792030E-03, -0.00000000E+00, -0.00000000E+00, ] - [ 1.22792030E-03, -0.00000000E+00, -0.00000000E+00, ] force_length_stats: {min: 1.22792030E-03, max: 1.22792030E-03, mean: 1.22792030E-03, } ... Integrated electronic density in atomic spheres: ------------------------------------------------ Atom Sphere_radius Integrated_density 1 2.00000 1.41202535 2 2.00000 1.41202535 ---OUTPUT----------------------------------------------------------------------- Cartesian coordinates (xcart) [bohr] -7.40916890172141E-01 0.00000000000000E+00 0.00000000000000E+00 7.40916890172141E-01 0.00000000000000E+00 0.00000000000000E+00 Reduced coordinates (xred) -7.40916890172141E-02 0.00000000000000E+00 0.00000000000000E+00 7.40916890172141E-02 0.00000000000000E+00 0.00000000000000E+00 Cartesian forces (fcart) [Ha/bohr]; max,rms= 1.22792E-03 7.08940E-04 (free atoms) -1.22792029692410E-03 -0.00000000000000E+00 -0.00000000000000E+00 1.22792029692410E-03 -0.00000000000000E+00 -0.00000000000000E+00 Gradient of E wrt nuclear positions in reduced coordinates (gred) 1.22792029692410E-02 0.00000000000000E+00 0.00000000000000E+00 -1.22792029692410E-02 -0.00000000000000E+00 -0.00000000000000E+00 Total energy (etotal) [Ha]= -1.11828553130606E+00 Difference of energy with previous step (new-old): Absolute (Ha)=-1.44570E-04 Relative =-1.29287E-04 --- Iteration: ( 4/10) Internal Cycle: (1/1) -------------------------------------------------------------------------------- ---SELF-CONSISTENT-FIELD CONVERGENCE-------------------------------------------- --- !BeginCycle iteration_state: {dtset: 1, itime: 4, icycle: 1, } solver: {iscf: 7, nstep: 10, nline: 4, wfoptalg: 0, } tolerances: {toldff: 5.00E-05, } ... iter Etot(hartree) deltaE(h) residm vres2 diffor maxfor ETOT 1 -1.1182882721555 -1.118E+00 7.742E-13 1.627E-04 1.156E-03 7.231E-05 ETOT 2 -1.1182883127611 -4.061E-08 8.582E-15 4.242E-06 1.532E-05 5.700E-05 ETOT 3 -1.1182883136634 -9.023E-10 7.671E-12 7.623E-07 1.190E-05 6.890E-05 At SCF step 3, forces are converged : for the second time, max diff in force= 1.190E-05 < toldff= 5.000E-05 Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= 3.86696979E-05 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 3.35003068E-05 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 3.35003068E-05 sigma(2 1)= 0.00000000E+00 --- !ResultsGS iteration_state: {dtset: 1, itime: 4, icycle: 1, } comment : Summary of ground state results lattice_vectors: - [ 10.0000000, 0.0000000, 0.0000000, ] - [ 0.0000000, 10.0000000, 0.0000000, ] - [ 0.0000000, 0.0000000, 10.0000000, ] lattice_lengths: [ 10.00000, 10.00000, 10.00000, ] lattice_angles: [ 90.000, 90.000, 90.000, ] # degrees, (23, 13, 12) lattice_volume: 1.0000000E+03 convergence: {deltae: -9.023E-10, res2: 7.623E-07, residm: 7.671E-12, diffor: 1.190E-05, } etotal : -1.11828831E+00 entropy : 0.00000000E+00 fermie : -3.61966725E-01 cartesian_stress_tensor: # hartree/bohr^3 - [ 3.86696979E-05, 0.00000000E+00, 0.00000000E+00, ] - [ 0.00000000E+00, 3.35003068E-05, 0.00000000E+00, ] - [ 0.00000000E+00, 0.00000000E+00, 3.35003068E-05, ] pressure_GPa: -1.0363E+00 xred : - [ -7.4307E-02, 0.0000E+00, 0.0000E+00, H] - [ 7.4307E-02, 0.0000E+00, 0.0000E+00, H] cartesian_forces: # hartree/bohr - [ -6.88974574E-05, -0.00000000E+00, -0.00000000E+00, ] - [ 6.88974574E-05, -0.00000000E+00, -0.00000000E+00, ] force_length_stats: {min: 6.88974574E-05, max: 6.88974574E-05, mean: 6.88974574E-05, } ... Integrated electronic density in atomic spheres: ------------------------------------------------ Atom Sphere_radius Integrated_density 1 2.00000 1.41060007 2 2.00000 1.41060007 ---OUTPUT----------------------------------------------------------------------- Cartesian coordinates (xcart) [bohr] -7.43071691807383E-01 0.00000000000000E+00 0.00000000000000E+00 7.43071691807383E-01 0.00000000000000E+00 0.00000000000000E+00 Reduced coordinates (xred) -7.43071691807383E-02 0.00000000000000E+00 0.00000000000000E+00 7.43071691807383E-02 0.00000000000000E+00 0.00000000000000E+00 Cartesian forces (fcart) [Ha/bohr]; max,rms= 6.88975E-05 3.97780E-05 (free atoms) -6.88974573554729E-05 -0.00000000000000E+00 -0.00000000000000E+00 6.88974573554729E-05 -0.00000000000000E+00 -0.00000000000000E+00 Gradient of E wrt nuclear positions in reduced coordinates (gred) 6.88974573554729E-04 0.00000000000000E+00 0.00000000000000E+00 -6.88974573554729E-04 -0.00000000000000E+00 -0.00000000000000E+00 Total energy (etotal) [Ha]= -1.11828831366336E+00 Difference of energy with previous step (new-old): Absolute (Ha)=-2.78236E-06 Relative =-2.48805E-06 At Broyd/MD step 4, gradients are converged : max grad (force/stress) = 6.8897E-05 < tolmxf= 5.0000E-04 ha/bohr (free atoms) ================================================================================ ----iterations are completed or convergence reached---- Mean square residual over all n,k,spin= 76.711E-13; max= 76.711E-13 reduced coordinates (array xred) for 2 atoms -0.074307169181 0.000000000000 0.000000000000 0.074307169181 0.000000000000 0.000000000000 rms dE/dt= 3.9778E-04; max dE/dt= 6.8897E-04; dE/dt below (all hartree) 1 0.000688974574 0.000000000000 0.000000000000 2 -0.000688974574 0.000000000000 0.000000000000 cartesian coordinates (angstrom) at end: 1 -0.39321660365288 0.00000000000000 0.00000000000000 2 0.39321660365288 0.00000000000000 0.00000000000000 cartesian forces (hartree/bohr) at end: 1 -0.00006889745736 -0.00000000000000 -0.00000000000000 2 0.00006889745736 -0.00000000000000 -0.00000000000000 frms,max,avg= 3.9777966E-05 6.8897457E-05 0.000E+00 0.000E+00 0.000E+00 h/b cartesian forces (eV/Angstrom) at end: 1 -0.00354284940592 -0.00000000000000 -0.00000000000000 2 0.00354284940592 -0.00000000000000 -0.00000000000000 frms,max,avg= 2.0454651E-03 3.5428494E-03 0.000E+00 0.000E+00 0.000E+00 e/A length scales= 10.000000000000 10.000000000000 10.000000000000 bohr = 5.291772085900 5.291772085900 5.291772085900 angstroms prteigrs : about to open file tbase2_1o_DS1_EIG Fermi (or HOMO) energy (hartree) = -0.36197 Average Vxc (hartree)= -0.07525 Eigenvalues (hartree) for nkpt= 1 k points: kpt# 1, nband= 1, wtk= 1.00000, kpt= 0.0000 0.0000 0.0000 (reduced coord) -0.36197 --- !EnergyTerms iteration_state : {dtset: 1, itime: 4, icycle: 1, } comment : Components of total free energy in Hartree kinetic : 9.77499789727156E-01 hartree : 6.97314914001241E-01 xc : -6.25832290434768E-01 Ewald energy : 1.10201130894712E-01 psp_core : 1.41966018330111E-03 local_psp : -2.12633110264660E+00 non_local_psp : -1.52560415388399E-01 total_energy : -1.11828831366336E+00 total_energy_eV : -3.04301725692457E+01 band_energy : -7.23933449946625E-01 ... rms coord change= 2.4867E-03 atom, delta coord (reduced): 1 -0.004307169181 0.000000000000 0.000000000000 2 0.004307169181 0.000000000000 0.000000000000 Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= 3.86696979E-05 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 3.35003068E-05 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 3.35003068E-05 sigma(2 1)= 0.00000000E+00 -Cartesian components of stress tensor (GPa) [Pressure= -1.0363E+00 GPa] - sigma(1 1)= 1.13770160E+00 sigma(3 2)= 0.00000000E+00 - sigma(2 2)= 9.85612887E-01 sigma(3 1)= 0.00000000E+00 - sigma(3 3)= 9.85612887E-01 sigma(2 1)= 0.00000000E+00 ================================================================================ == DATASET 2 ================================================================== - mpi_nproc: 1, omp_nthreads: -1 (-1 if OMP is not activated) --- !DatasetInfo iteration_state: {dtset: 2, } dimensions: {natom: 1, nkpt: 1, mband: 1, nsppol: 2, nspinor: 1, nspden: 2, mpw: 752, } cutoff_energies: {ecut: 10.0, pawecutdg: -1.0, } electrons: {nelect: 1.00000000E+00, charge: 0.00000000E+00, occopt: 2.00000000E+00, tsmear: 1.00000000E-02, } meta: {optdriver: 0, ionmov: 0, optcell: 0, iscf: 7, paral_kgb: 0, } ... Real(R)+Recip(G) space primitive vectors, cartesian coordinates (Bohr,Bohr^-1): R(1)= 10.0000000 0.0000000 0.0000000 G(1)= 0.1000000 0.0000000 0.0000000 R(2)= 0.0000000 10.0000000 0.0000000 G(2)= 0.0000000 0.1000000 0.0000000 R(3)= 0.0000000 0.0000000 10.0000000 G(3)= 0.0000000 0.0000000 0.1000000 Unit cell volume ucvol= 1.0000000E+03 bohr^3 Angles (23,13,12)= 9.00000000E+01 9.00000000E+01 9.00000000E+01 degrees getcut: wavevector= 0.0000 0.0000 0.0000 ngfft= 30 30 30 ecut(hartree)= 10.000 => boxcut(ratio)= 2.10744 3.54915046E-01 ecore*ucvol(ha*bohr**3) -------------------------------------------------------------------------------- _setup2: Arith. and geom. avg. npw (full set) are 1503.000 1503.000 ================================================================================ --- !BeginCycle iteration_state: {dtset: 2, } solver: {iscf: 7, nstep: 10, nline: 4, wfoptalg: 0, } tolerances: {toldfe: 1.00E-06, } ... iter Etot(hartree) deltaE(h) residm vres2 ETOT 1 -0.47392512431104 -4.739E-01 6.747E-06 4.683E+00 ETOT 2 -0.47392965590756 -4.532E-06 8.633E-13 1.597E-01 ETOT 3 -0.47393081420014 -1.158E-06 6.509E-09 1.777E-02 ETOT 4 -0.47393103574282 -2.215E-07 1.198E-09 4.999E-05 ETOT 5 -0.47393103688359 -1.141E-09 1.856E-12 2.009E-07 At SCF step 5, etot is converged : for the second time, diff in etot= 1.141E-09 < toldfe= 1.000E-06 Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= 1.75098943E-05 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 1.75098943E-05 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 1.75098943E-05 sigma(2 1)= 0.00000000E+00 --- !ResultsGS iteration_state: {dtset: 2, } comment : Summary of ground state results lattice_vectors: - [ 10.0000000, 0.0000000, 0.0000000, ] - [ 0.0000000, 10.0000000, 0.0000000, ] - [ 0.0000000, 0.0000000, 10.0000000, ] lattice_lengths: [ 10.00000, 10.00000, 10.00000, ] lattice_angles: [ 90.000, 90.000, 90.000, ] # degrees, (23, 13, 12) lattice_volume: 1.0000000E+03 convergence: {deltae: -1.141E-09, res2: 2.009E-07, residm: 1.856E-12, diffor: null, } etotal : -4.73931037E-01 entropy : 0.00000000E+00 fermie : -2.66611263E-01 cartesian_stress_tensor: # hartree/bohr^3 - [ 1.75098943E-05, 0.00000000E+00, 0.00000000E+00, ] - [ 0.00000000E+00, 1.75098943E-05, 0.00000000E+00, ] - [ 0.00000000E+00, 0.00000000E+00, 1.75098943E-05, ] pressure_GPa: -5.1516E-01 xred : - [ 0.0000E+00, 0.0000E+00, 0.0000E+00, H] cartesian_forces: # hartree/bohr - [ -0.00000000E+00, -0.00000000E+00, -0.00000000E+00, ] force_length_stats: {min: 0.00000000E+00, max: 0.00000000E+00, mean: 0.00000000E+00, } ... Integrated electronic and magnetization densities in atomic spheres: --------------------------------------------------------------------- Radius=ratsph(iatom), smearing ratsm= 0.0000. Diff(up-dn)=approximate z local magnetic moment. Atom Radius up_density dn_density Total(up+dn) Diff(up-dn) 1 2.00000 0.705948 0.000000 0.705948 0.705948 --------------------------------------------------------------------- Sum: 0.705948 0.000000 0.705948 0.705948 Total magnetization (from the atomic spheres): 0.705948 Total magnetization (exact up - dn): 1.000000 ================================================================================ ----iterations are completed or convergence reached---- Mean square residual over all n,k,spin= 15.159E-13; max= 18.555E-13 reduced coordinates (array xred) for 1 atoms 0.000000000000 0.000000000000 0.000000000000 rms dE/dt= 0.0000E+00; max dE/dt= 0.0000E+00; dE/dt below (all hartree) 1 0.000000000000 0.000000000000 0.000000000000 cartesian coordinates (angstrom) at end: 1 0.00000000000000 0.00000000000000 0.00000000000000 cartesian forces (hartree/bohr) at end: 1 -0.00000000000000 -0.00000000000000 -0.00000000000000 frms,max,avg= 0.0000000E+00 0.0000000E+00 0.000E+00 0.000E+00 0.000E+00 h/b cartesian forces (eV/Angstrom) at end: 1 -0.00000000000000 -0.00000000000000 -0.00000000000000 frms,max,avg= 0.0000000E+00 0.0000000E+00 0.000E+00 0.000E+00 0.000E+00 e/A length scales= 10.000000000000 10.000000000000 10.000000000000 bohr = 5.291772085900 5.291772085900 5.291772085900 angstroms prteigrs : about to open file tbase2_1o_DS2_EIG Fermi (or HOMO) energy (hartree) = -0.26661 Average Vxc (hartree)= -0.06841 Eigenvalues (hartree) for nkpt= 1 k points, SPIN UP: kpt# 1, nband= 1, wtk= 1.00000, kpt= 0.0000 0.0000 0.0000 (reduced coord) -0.26661 Eigenvalues (hartree) for nkpt= 1 k points, SPIN DOWN: kpt# 1, nband= 1, wtk= 1.00000, kpt= 0.0000 0.0000 0.0000 (reduced coord) -0.11113 --- !EnergyTerms iteration_state : {dtset: 2, } comment : Components of total free energy in Hartree kinetic : 4.14382372269276E-01 hartree : 1.50459020296560E-01 xc : -2.65640701207868E-01 Ewald energy : -1.41864873974033E-01 psp_core : 3.54915045825276E-04 local_psp : -5.80289532817019E-01 non_local_psp : -5.13322364963362E-02 total_energy : -4.73931036883594E-01 total_energy_eV : -1.28963193678073E+01 band_energy : -2.66611263131906E-01 ... Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= 1.75098943E-05 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 1.75098943E-05 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 1.75098943E-05 sigma(2 1)= 0.00000000E+00 -Cartesian components of stress tensor (GPa) [Pressure= -5.1516E-01 GPa] - sigma(1 1)= 5.15158790E-01 sigma(3 2)= 0.00000000E+00 - sigma(2 2)= 5.15158790E-01 sigma(3 1)= 0.00000000E+00 - sigma(3 3)= 5.15158790E-01 sigma(2 1)= 0.00000000E+00 == END DATASET(S) ============================================================== ================================================================================ -outvars: echo values of variables after computation -------- acell 1.0000000000E+01 1.0000000000E+01 1.0000000000E+01 Bohr amu 1.00794000E+00 bs_loband1 0 bs_loband2 0 0 diemac 2.00000000E+00 ecut 1.00000000E+01 Hartree etotal1 -1.1182883137E+00 etotal2 -4.7393103688E-01 fcart1 -6.8897457355E-05 -0.0000000000E+00 -0.0000000000E+00 6.8897457355E-05 -0.0000000000E+00 -0.0000000000E+00 fcart2 -0.0000000000E+00 -0.0000000000E+00 -0.0000000000E+00 - fftalg 512 ionmov1 2 ionmov2 0 istwfk 2 ixc -1012 jdtset 1 2 kptopt 0 P mkmem 1 natom1 2 natom2 1 nband1 1 nband2 1 1 ndtset 2 ngfft 30 30 30 nkpt 1 nspden1 1 nspden2 2 nsppol1 1 nsppol2 2 nstep 10 nsym1 16 nsym2 48 ntime1 10 ntime2 1 ntypat 1 occ1 2.000000 occ2 1.000000 0.000000 occopt1 1 occopt2 2 optforces1 1 optforces2 2 spgroup1 123 spgroup2 221 spinat2 0.0000000000E+00 0.0000000000E+00 1.0000000000E+00 strten1 3.8669697927E-05 3.3500306750E-05 3.3500306750E-05 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 strten2 1.7509894313E-05 1.7509894313E-05 1.7509894313E-05 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 symafm1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 symafm2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 symrel1 1 0 0 0 1 0 0 0 1 -1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 -1 0 0 0 1 1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 1 1 0 0 0 0 1 0 1 0 -1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 -1 0 1 0 1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 1 0 symrel2 1 0 0 0 1 0 0 0 1 -1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 -1 0 0 0 1 1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 0 1 0 -1 0 -1 0 0 0 0 -1 0 -1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 1 0 -1 0 -1 0 0 0 0 1 0 1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 -1 0 -1 0 1 0 0 0 0 1 0 0 1 1 0 0 0 1 0 0 0 -1 -1 0 0 0 -1 0 0 0 -1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 1 0 0 0 -1 -1 0 0 0 1 0 0 0 1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 -1 0 0 0 -1 1 0 0 0 1 0 1 0 0 0 0 1 0 1 0 -1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 -1 0 1 0 1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 1 0 0 1 0 0 0 1 1 0 0 0 -1 0 0 0 -1 -1 0 0 0 -1 0 0 0 1 -1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 -1 1 0 0 0 1 0 0 0 1 -1 0 0 0 1 0 0 0 -1 -1 0 0 0 -1 0 0 0 1 1 0 0 0 0 1 0 1 0 1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 -1 0 1 0 0 0 0 1 0 1 0 -1 0 0 0 0 1 0 -1 0 -1 0 0 0 0 -1 0 1 0 1 0 0 tnons1 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 tnons2 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 toldfe1 0.00000000E+00 Hartree toldfe2 1.00000000E-06 Hartree toldff1 5.00000000E-05 toldff2 0.00000000E+00 tolmxf1 5.00000000E-04 tolmxf2 5.00000000E-05 typat1 1 1 typat2 1 xangst1 -3.9321660365E-01 0.0000000000E+00 0.0000000000E+00 3.9321660365E-01 0.0000000000E+00 0.0000000000E+00 xangst2 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 xcart1 -7.4307169181E-01 0.0000000000E+00 0.0000000000E+00 7.4307169181E-01 0.0000000000E+00 0.0000000000E+00 xcart2 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 xred1 -7.4307169181E-02 0.0000000000E+00 0.0000000000E+00 7.4307169181E-02 0.0000000000E+00 0.0000000000E+00 xred2 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 znucl 1.00000 ================================================================================ - Timing analysis has been suppressed with timopt=0 ================================================================================ Suggested references for the acknowledgment of ABINIT usage. The users of ABINIT have little formal obligations with respect to the ABINIT group (those specified in the GNU General Public License, http://www.gnu.org/copyleft/gpl.txt). However, it is common practice in the scientific literature, to acknowledge the efforts of people that have made the research possible. In this spirit, please find below suggested citations of work written by ABINIT developers, corresponding to implementations inside of ABINIT that you have used in the present run. Note also that it will be of great value to readers of publications presenting these results, to read papers enabling them to understand the theoretical formalism and details of the ABINIT implementation. For information on why they are suggested, see also https://docs.abinit.org/theory/acknowledgments. - - [1] Libxc: A library of exchange and correlation functionals for density functional theory. - M.A.L. Marques, M.J.T. Oliveira, T. Burnus, Computer Physics Communications 183, 2227 (2012). - Comment: to be cited when LibXC is used (negative value of ixc) - Strong suggestion to cite this paper. - DOI and bibtex: see https://docs.abinit.org/theory/bibliography/#marques2012 - - [2] The Abinit project: Impact, environment and recent developments. - Computer Phys. Comm. 248, 107042 (2020). - X.Gonze, B. Amadon, G. Antonius, F.Arnardi, L.Baguet, J.-M.Beuken, - J.Bieder, F.Bottin, J.Bouchet, E.Bousquet, N.Brouwer, F.Bruneval, - G.Brunin, T.Cavignac, J.-B. Charraud, Wei Chen, M.Cote, S.Cottenier, - J.Denier, G.Geneste, Ph.Ghosez, M.Giantomassi, Y.Gillet, O.Gingras, - D.R.Hamann, G.Hautier, Xu He, N.Helbig, N.Holzwarth, Y.Jia, F.Jollet, - W.Lafargue-Dit-Hauret, K.Lejaeghere, M.A.L.Marques, A.Martin, C.Martins, - H.P.C. Miranda, F.Naccarato, K. Persson, G.Petretto, V.Planes, Y.Pouillon, - S.Prokhorenko, F.Ricci, G.-M.Rignanese, A.H.Romero, M.M.Schmitt, M.Torrent, - M.J.van Setten, B.Van Troeye, M.J.Verstraete, G.Zerah and J.W.Zwanzig - Comment: the fifth generic paper describing the ABINIT project. - Note that a version of this paper, that is not formatted for Computer Phys. Comm. - is available at https://www.abinit.org/sites/default/files/ABINIT20.pdf . - The licence allows the authors to put it on the Web. - DOI and bibtex: see https://docs.abinit.org/theory/bibliography/#gonze2020 - - [3] Optimized norm-conserving Vanderbilt pseudopotentials. - D.R. Hamann, Phys. Rev. B 88, 085117 (2013). - Comment: Some pseudopotential generated using the ONCVPSP code were used. - DOI and bibtex: see https://docs.abinit.org/theory/bibliography/#hamann2013 - - [4] ABINIT: Overview, and focus on selected capabilities - J. Chem. Phys. 152, 124102 (2020). - A. Romero, D.C. Allan, B. Amadon, G. Antonius, T. Applencourt, L.Baguet, - J.Bieder, F.Bottin, J.Bouchet, E.Bousquet, F.Bruneval, - G.Brunin, D.Caliste, M.Cote, - J.Denier, C. Dreyer, Ph.Ghosez, M.Giantomassi, Y.Gillet, O.Gingras, - D.R.Hamann, G.Hautier, F.Jollet, G. Jomard, - A.Martin, - H.P.C. Miranda, F.Naccarato, G.Petretto, N.A. Pike, V.Planes, - S.Prokhorenko, T. Rangel, F.Ricci, G.-M.Rignanese, M.Royo, M.Stengel, M.Torrent, - M.J.van Setten, B.Van Troeye, M.J.Verstraete, J.Wiktor, J.W.Zwanziger, and X.Gonze. - Comment: a global overview of ABINIT, with focus on selected capabilities . - Note that a version of this paper, that is not formatted for J. Chem. Phys - is available at https://www.abinit.org/sites/default/files/ABINIT20_JPC.pdf . - The licence allows the authors to put it on the Web. - DOI and bibtex: see https://docs.abinit.org/theory/bibliography/#romero2020 - - [5] Recent developments in the ABINIT software package. - Computer Phys. Comm. 205, 106 (2016). - X.Gonze, F.Jollet, F.Abreu Araujo, D.Adams, B.Amadon, T.Applencourt, - C.Audouze, J.-M.Beuken, J.Bieder, A.Bokhanchuk, E.Bousquet, F.Bruneval - D.Caliste, M.Cote, F.Dahm, F.Da Pieve, M.Delaveau, M.Di Gennaro, - B.Dorado, C.Espejo, G.Geneste, L.Genovese, A.Gerossier, M.Giantomassi, - Y.Gillet, D.R.Hamann, L.He, G.Jomard, J.Laflamme Janssen, S.Le Roux, - A.Levitt, A.Lherbier, F.Liu, I.Lukacevic, A.Martin, C.Martins, - M.J.T.Oliveira, S.Ponce, Y.Pouillon, T.Rangel, G.-M.Rignanese, - A.H.Romero, B.Rousseau, O.Rubel, A.A.Shukri, M.Stankovski, M.Torrent, - M.J.Van Setten, B.Van Troeye, M.J.Verstraete, D.Waroquier, J.Wiktor, - B.Xu, A.Zhou, J.W.Zwanziger. - Comment: the fourth generic paper describing the ABINIT project. - Note that a version of this paper, that is not formatted for Computer Phys. Comm. - is available at https://www.abinit.org/sites/default/files/ABINIT16.pdf . - The licence allows the authors to put it on the Web. - DOI and bibtex: see https://docs.abinit.org/theory/bibliography/#gonze2016 - - Proc. 0 individual time (sec): cpu= 1.1 wall= 2.3 ================================================================================ Calculation completed. .Delivered 27 WARNINGs and 5 COMMENTs to log file. +Overall time at end (sec) : cpu= 1.1 wall= 2.3
Execute the code with:
abinit tbase2_1.abi > log &
The run should take less than one minute.
You should obtain the values:
etotal1 -1.1182883137E+00
etotal2 -4.7393103688E-01
and
xcart1 -7.4307169181E-01 0.0000000000E+00 0.0000000000E+00
7.4307169181E-01 0.0000000000E+00 0.0000000000E+00
These are similar to those determined in tutorial 1,
although they have been obtained in one run.
You can also check that the residual forces are lower than 5.0d-4
.
Convergence issues are discussed in section 6 of the abinit help file, on numerical quality.
You should read it.
By the way, you have read many parts of the abinit help file!
You are missing the sections (or part of) 2, 5, 6.
You are also missing the description of many input variables. We suggest that you finish reading entirely the abinit help file now, while the knowledge of the input variables will come in the long run.
2.1.b Many convergence parameters have already been identified. We will focus only on ecut and acell. This is because
-
the convergence of the SCF cycle and geometry determination are well under control thanks to toldfe, toldff and tolmxf (this might not be the case for other physical properties)
-
there is no k point convergence study to be done for an isolated system in a big box: no additional information is gained by adding a k-point beyond one
-
the boxcut value (see boxcutmin) is automatically chosen larger than 2 by ABINIT, see the determination of the input variable ngfft by preprocessing
-
we are using ionmov = 2 for the determination of the geometry.
3 The convergence in ecut (II)¶
For the check of convergence with respect to ecut, you have the choice between doing different runs of the tbase2_1.abi file with different values of ecut, or doing a double loop of datasets, as proposed in $ABI_TESTS/tutorial/Input/tbase2_2.abi. The values of ecut have been chosen between 10 Ha and 35 Ha, by step of 5 Ha. If you want to make a double loop, you might benefit of reading again the double-loop section of the abinit_help file.
2.2.a You have likely seen a big increase of the CPU time needed to do the calculation. You should also look at the increase of the memory needed to do the calculation (go back to the beginning of the output file). The output data are as follows:
etotal11 -1.1182883137E+00
etotal12 -4.7393103688E-01
etotal21 -1.1325211211E+00
etotal22 -4.7860857539E-01
etotal31 -1.1374371581E+00
etotal32 -4.8027186429E-01
etotal41 -1.1389569555E+00
etotal42 -4.8083335144E-01
etotal51 -1.1394234882E+00
etotal52 -4.8101478048E-01
etotal61 -1.1395511942E+00
etotal62 -4.8107063412E-01
xcart11 -7.4307169181E-01 0.0000000000E+00 0.0000000000E+00
7.4307169181E-01 0.0000000000E+00 0.0000000000E+00
xcart12 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
xcart21 -7.3687974546E-01 0.0000000000E+00 0.0000000000E+00
7.3687974546E-01 0.0000000000E+00 0.0000000000E+00
xcart22 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
xcart31 -7.3014665027E-01 0.0000000000E+00 0.0000000000E+00
7.3014665027E-01 0.0000000000E+00 0.0000000000E+00
xcart32 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
xcart41 -7.2642579309E-01 0.0000000000E+00 0.0000000000E+00
7.2642579309E-01 0.0000000000E+00 0.0000000000E+00
xcart42 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
xcart51 -7.2563260546E-01 0.0000000000E+00 0.0000000000E+00
7.2563260546E-01 0.0000000000E+00 0.0000000000E+00
xcart52 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
xcart61 -7.2554339763E-01 0.0000000000E+00 0.0000000000E+00
7.2554339763E-01 0.0000000000E+00 0.0000000000E+00
xcart62 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
The corresponding atomisation energies and interatomic distances are:
ecut (Ha) | atomisation energy (Ha) | interatomic distance (Bohr) |
---|---|---|
10 | .1704 | 1.486 |
15 | .1753 | 1.474 |
20 | .1769 | 1.460 |
25 | .1773 | 1.453 |
30 | .1774 | 1.451 |
35 | .1774 | 1.451 |
In order to obtain 0.2% relative accuracy on the bond length or atomisation energy, one should use a kinetic cut-off energy of 25 Ha. We will keep in mind this value for the final run.
4 The convergence in acell¶
The same technique as for ecut should be now used for the convergence in acell.
We will explore acell starting from 8 8 8
to 18 18 18
, by step of 2 2 2
.
We keep ecut 10 for this study. Indeed, it is a rather general rule that there is
little cross-influence between the convergence of ecut and the convergence of acell.
The file $ABI_TESTS/tutorial/Input/tbase2_3.abi can be used as an example.
# H2 molecule in a big box # # This file to optimize the H2 bond length, compute the associated total # energy, then to compute the total energy of the isolated H atom. # Here, a double loop has been used. # ndtset 12 udtset 6 2 #Definition of the unit cell and ecut, #for which one will have to make a convergence study acell:? 8 8 8 acell+? 2 2 2 ecut 10 #First dataset : find the optimal bond length of H2, and associated total energy natom?1 2 # There are two atoms ionmov?1 2 # Use the modified Broyden algorithm ntime?1 10 # Maximum number of Broyden "timesteps" tolmxf?1 5.0d-4 # Stopping criterion for the geometry optimization : when # the residual forces are less than tolmxf, the Broyden # algorithm can stop xcart?1 -0.7 0.0 0.0 # The starting values of the 0.7 0.0 0.0 # atomic coordinates toldff?1 5.0d-5 # Will stop the SCF cycle when, twice in a row, # the difference between two consecutive evaluations of # forces differ by less than toldff (in Hartree/Bohr) nband?1 1 # Just one band #Second dataset : get the total energy of the isolated atom natom?2 1 # There is one atom nsppol?2 2 # Spin-polarized calculation occopt?2 2 # Allow occupation numbers to be set by hand nband?2 1 1 # Number of bands for spin up and spin down occ?2 1.0 0.0 # Occupation numbers for spin up state and spin down state. toldfe?2 1.0d-6 # Will stop the SCF cycles when, twice in a row, # the difference between two consecutive evaluations # of total energy differ by less than toldfe (in Hartree) # This value is way too large for most realistic studies of materials xcart?2 0.0 0.0 0.0 # The atom is located at the origin spinat?2 0.0 0.0 1.0 # Initialisation of spin #rprim 1 0 0 0 1 0 0 0 1 # This line, defining orthogonal primitive vectors, # is commented, because it is precisely the default value of rprim #Definition of the atom types ntypat 1 # There is only one type of atom znucl 1 # The keyword "znucl" refers to the atomic number of the possible type(s) of atom. # Here, the only type is Hydrogen. The pseudopotential(s) # mentioned after the keyword "pseudos" should correspond to this type of atom. pp_dirpath "$ABI_PSPDIR" # This is the path to the directory were pseudopotentials for tests are stored pseudos "Pseudodojo_nc_sr_04_pw_standard_psp8/H.psp8" # Name and location of the pseudopotential # This pseudopotential comes from the pseudodojo site http://www.pseudo-dojo.org/ (NC SR LDA standard), # and was generated using the LDA exchange-correlation functional (PW=Perdew-Wang, ixc=-1012). # By default, abinit uses the same exchange-correlation functional than the one of the input pseudopotential(s) #Definition of the atoms typat 1 1 # For the first dataset, both numbers will be read, # while for the second dataset, only one number will be read #Definition of the k-point grid kptopt 0 # Enter the k points manually nkpt 1 # Only one k point is needed for isolated system, # taken by default to be 0.0 0.0 0.0 #Definition of the SCF procedure nstep 10 # Maximal number of SCF cycles #toldfe is no more defined, as toldff is used above... diemac 2.0 # Although this is not mandatory, it is worth to # precondition the SCF cycle. The model dielectric # function used as the standard preconditioner # is described in the "dielng" input variable section. # Here, we follow the prescriptions for molecules # in a big box ############################################################## # This section is used only for regression testing of ABINIT # ############################################################## #%%<BEGIN TEST_INFO> #%% [setup] #%% executable = abinit #%% [files] #%% files_to_test = #%% tbase2_3.abo, tolnlines= 0, tolabs= 0.000e+00, tolrel= 0.000e+00, fld_options=-medium #%% [paral_info] #%% max_nprocs = 1 #%% [extra_info] #%% authors = X. Gonze #%% keywords = #%% description = #%% H2 molecule in a big box #%% This file to optimize the H2 bond length, compute the associated total #%% energy, then to compute the total energy of the isolated H atom. #%% Here, a double loop has been used. #%%<END TEST_INFO>
The output results in $ABI_TESTS/tutorial/Refs/tbase2_3.abo are as follows:
etotal11 -1.1305202335E+00
etotal12 -4.8429570903E-01
etotal21 -1.1182883137E+00
etotal22 -4.7393103688E-01
etotal31 -1.1165450484E+00
etotal32 -4.7158917506E-01
etotal41 -1.1165327748E+00
etotal42 -4.7136118536E-01
etotal51 -1.1167740301E+00
etotal52 -4.7128698890E-01
etotal61 -1.1168374331E+00
etotal62 -4.7129589330E-01
xcart11 -7.6471149217E-01 0.0000000000E+00 0.0000000000E+00
7.6471149217E-01 0.0000000000E+00 0.0000000000E+00
xcart12 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
xcart21 -7.4307169181E-01 0.0000000000E+00 0.0000000000E+00
7.4307169181E-01 0.0000000000E+00 0.0000000000E+00
xcart22 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
xcart31 -7.3778405090E-01 0.0000000000E+00 0.0000000000E+00
7.3778405090E-01 0.0000000000E+00 0.0000000000E+00
xcart32 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
xcart41 -7.3794243127E-01 0.0000000000E+00 0.0000000000E+00
7.3794243127E-01 0.0000000000E+00 0.0000000000E+00
xcart42 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
xcart51 -7.3742475720E-01 0.0000000000E+00 0.0000000000E+00
7.3742475720E-01 0.0000000000E+00 0.0000000000E+00
xcart52 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
xcart61 -7.3733248368E-01 0.0000000000E+00 0.0000000000E+00
7.3733248368E-01 0.0000000000E+00 0.0000000000E+00
xcart62 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
The corresponding atomisation energies and interatomic distances are:
acell (Bohr) | atomisation energy (Ha) | interatomic distance (Bohr) |
---|---|---|
8 | .1619 | 1.529 |
10 | .1704 | 1.486 |
12 | .1734 | 1.476 |
14 | .1738 | 1.478 |
16 | .1742 | 1.475 |
18 | .1742 | 1.475 |
In order to reach 0.2% convergence on the atomisation energy and interatomic distance one needs acell 16 16 16
.
We will use acell 16 16 16
for the final run.
For most solids the size of the unit cell will be smaller than that. We are treating a lot of vacuum in this supercell ! So, the H_2 study, with this pseudopotential, turns out to be not really easy. Of course, the number of states to be treated is minimal! This allows to have reasonable CPU time still.
5 The final calculation in Local (Spin) Density Approximation¶
We now use the correct values of both ecut and acell.
Well, you should modify the tbase2_3.abi file to make a calculation with acell 16 16 16
and ecut 25
.
You can still use the double loop feature with udtset 1 2
(which reduces to a single loop), to minimize the modifications to the file.
The file $ABI_TESTS/tutorial/Input/tbase2_4.abi can be taken as an example of input file:
# H2 molecule in a big box # # This file to optimize the H2 bond length, compute the associated total # energy, then to compute the total energy of the isolated H atom. # Here, the ecut and acell are fixed : the double loop reduces # effectively to a single loop. ndtset 2 udtset 1 2 #Definition of the unit cell and ecut, #for which one will have to make a convergence study acell:? 16 16 16 acell+? 2 2 2 ecut 25 #First dataset : find the optimal bond length of H2, and associated total energy natom?1 2 # There are two atoms ionmov?1 2 # Use the modified Broyden algorithm ntime?1 10 # Maximum number of Broyden "timesteps" tolmxf?1 5.0d-4 # Stopping criterion for the geometry optimization : when # the residual forces are less than tolmxf, the Broyden # algorithm can stop xcart?1 -0.7 0.0 0.0 # The starting values of the 0.7 0.0 0.0 # atomic coordinates toldff?1 5.0d-5 # Will stop the SCF cycle when, twice in a row, # the difference between two consecutive evaluations of # forces differ by less than toldff (in Hartree/Bohr) nband?1 1 # Just one band #Second dataset : get the total energy of the isolated atom natom?2 1 # There is one atom nsppol?2 2 # Spin-polarized calculation occopt?2 2 # Allow occupation numbers to be set by hand nband?2 1 1 # Number of bands for spin up and spin down occ?2 1.0 0.0 # Occupation numbers for spin up state and spin down state. toldfe?2 1.0d-6 # Will stop the SCF cycles when, twice in a row, # the difference between two consecutive evaluations # of total energy differ by less than toldfe (in Hartree) # This value is way too large for most realistic studies of materials xcart?2 0.0 0.0 0.0 # The atom is located at the origin spinat?2 0.0 0.0 1.0 # Initialisation of spin #rprim 1 0 0 0 1 0 0 0 1 # This line, defining orthogonal primitive vectors, # is commented, because it is precisely the default value of rprim #Definition of the atom types ntypat 1 # There is only one type of atom znucl 1 # The keyword "znucl" refers to the atomic number of the possible type(s) of atom. # Here, the only type is Hydrogen. The pseudopotential(s) # mentioned after the keyword "pseudos" should correspond to this type of atom. pp_dirpath "$ABI_PSPDIR" # This is the path to the directory were pseudopotentials for tests are stored pseudos "Pseudodojo_nc_sr_04_pw_standard_psp8/H.psp8" # Name and location of the pseudopotential # This pseudopotential comes from the pseudodojo site http://www.pseudo-dojo.org/ (NC SR LDA standard), # and was generated using the LDA exchange-correlation functional (PW=Perdew-Wang, ixc=-1012). # By default, abinit uses the same exchange-correlation functional than the one of the input pseudopotential(s) #Definition of the atoms typat 1 1 # For the first dataset, both numbers will be read, # while for the second dataset, only one number will be read #Definition of the k-point grid kptopt 0 # Enter the k points manually nkpt 1 # Only one k point is needed for isolated system, # taken by default to be 0.0 0.0 0.0 #Definition of the SCF procedure nstep 10 # Maximal number of SCF cycles #toldfe is no more defined, as toldff is used above... diemac 1.0 # Although this is not mandatory, it is worth to # precondition the SCF cycle. The model dielectric # function used as the standard preconditioner # is described in the "dielng" input variable section. # Here, we follow the prescriptions for molecules # in a big box ############################################################## # This section is used only for regression testing of ABINIT # ############################################################## #%%<BEGIN TEST_INFO> #%% [setup] #%% executable = abinit #%% [files] #%% files_to_test = #%% tbase2_4.abo, tolnlines= 0, tolabs= 0.000e+00, tolrel= 0.000e+00, fld_options=-medium #%% [paral_info] #%% max_nprocs = 1 #%% [extra_info] #%% authors = X. Gonze #%% keywords = #%% description = #%% H2 molecule in a big box #%% This file to optimize the H2 bond length, compute the associated total #%% energy, then to compute the total energy of the isolated H atom. #%% Here, the ecut and acell are fixed : the double loop reduces #%% effectively to a single loop. #%%<END TEST_INFO>
while $ABI_TESTS/tutorial/Refs/tbase2_4.abo is as an example of output file:
.Version 10.1.4.5 of ABINIT, released Sep 2024. .(MPI version, prepared for a x86_64_linux_gnu13.2 computer) .Copyright (C) 1998-2024 ABINIT group . ABINIT comes with ABSOLUTELY NO WARRANTY. It is free software, and you are welcome to redistribute it under certain conditions (GNU General Public License, see ~abinit/COPYING or http://www.gnu.org/copyleft/gpl.txt). ABINIT is a project of the Universite Catholique de Louvain, Corning Inc. and other collaborators, see ~abinit/doc/developers/contributors.txt . Please read https://docs.abinit.org/theory/acknowledgments for suggested acknowledgments of the ABINIT effort. For more information, see https://www.abinit.org . .Starting date : Fri 13 Sep 2024. - ( at 19h05 ) - input file -> /home/buildbot/ABINIT3/eos_gnu_13.2_mpich/trunk_merge-10.0/tests/TestBot_MPI1/tutorial_tbase2_4/tbase2_4.abi - output file -> tbase2_4.abo - root for input files -> tbase2_4i - root for output files -> tbase2_4o DATASET 11 : space group P4/m m m (#123); Bravais tP (primitive tetrag.) ================================================================================ Values of the parameters that define the memory need for DATASET 11. intxc = 0 ionmov = 2 iscf = 7 lmnmax = 3 lnmax = 3 mgfft = 75 mpssoang = 2 mqgrid = 3602 natom = 2 nloc_mem = 1 nspden = 1 nspinor = 1 nsppol = 1 nsym = 16 n1xccc = 0 ntypat = 1 occopt = 1 xclevel = 1 - mband = 1 mffmem = 1 mkmem = 1 mpw = 12203 nfft = 421875 nkpt = 1 ================================================================================ P This job should need less than 128.289 Mbytes of memory. Rough estimation (10% accuracy) of disk space for files : _ WF disk file : 0.188 Mbytes ; DEN or POT disk file : 3.221 Mbytes. ================================================================================ DATASET 12 : space group Pm -3 m (#221); Bravais cP (primitive cubic) ================================================================================ Values of the parameters that define the memory need for DATASET 12. intxc = 0 ionmov = 0 iscf = 7 lmnmax = 3 lnmax = 3 mgfft = 75 mpssoang = 2 mqgrid = 3602 natom = 1 nloc_mem = 1 nspden = 2 nspinor = 1 nsppol = 2 nsym = 48 n1xccc = 0 ntypat = 1 occopt = 2 xclevel = 1 - mband = 1 mffmem = 1 mkmem = 1 mpw = 12203 nfft = 421875 nkpt = 1 ================================================================================ P This job should need less than 192.649 Mbytes of memory. Rough estimation (10% accuracy) of disk space for files : _ WF disk file : 0.374 Mbytes ; DEN or POT disk file : 6.439 Mbytes. ================================================================================ -------------------------------------------------------------------------------- ------------- Echo of variables that govern the present computation ------------ -------------------------------------------------------------------------------- - - outvars: echo of selected default values - iomode0 = 0 , fftalg0 =512 , wfoptalg0 = 0 - - outvars: echo of global parameters not present in the input file - max_nthreads = 0 - -outvars: echo values of preprocessed input variables -------- acell 1.6000000000E+01 1.6000000000E+01 1.6000000000E+01 Bohr amu 1.00794000E+00 bs_loband11 0 bs_loband12 0 0 diemac 1.00000000E+00 ecut 2.50000000E+01 Hartree - fftalg 512 ionmov11 2 ionmov12 0 istwfk 2 ixc -1012 jdtset 11 12 kptopt 0 P mkmem 1 natom11 2 natom12 1 nband11 1 nband12 1 1 ndtset 2 ngfft 75 75 75 nkpt 1 nspden11 1 nspden12 2 nsppol11 1 nsppol12 2 nstep 10 nsym11 16 nsym12 48 ntime11 10 ntime12 1 ntypat 1 occ11 2.000000 occ12 1.000000 0.000000 occopt11 1 occopt12 2 optforces11 1 optforces12 2 spgroup11 123 spgroup12 221 spinat12 0.0000000000E+00 0.0000000000E+00 1.0000000000E+00 symafm11 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 symafm12 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 symrel11 1 0 0 0 1 0 0 0 1 -1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 -1 0 0 0 1 1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 1 1 0 0 0 0 1 0 1 0 -1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 -1 0 1 0 1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 1 0 symrel12 1 0 0 0 1 0 0 0 1 -1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 -1 0 0 0 1 1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 0 1 0 -1 0 -1 0 0 0 0 -1 0 -1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 1 0 -1 0 -1 0 0 0 0 1 0 1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 -1 0 -1 0 1 0 0 0 0 1 0 0 1 1 0 0 0 1 0 0 0 -1 -1 0 0 0 -1 0 0 0 -1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 1 0 0 0 -1 -1 0 0 0 1 0 0 0 1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 -1 0 0 0 -1 1 0 0 0 1 0 1 0 0 0 0 1 0 1 0 -1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 -1 0 1 0 1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 1 0 0 1 0 0 0 1 1 0 0 0 -1 0 0 0 -1 -1 0 0 0 -1 0 0 0 1 -1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 -1 1 0 0 0 1 0 0 0 1 -1 0 0 0 1 0 0 0 -1 -1 0 0 0 -1 0 0 0 1 1 0 0 0 0 1 0 1 0 1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 -1 0 1 0 0 0 0 1 0 1 0 -1 0 0 0 0 1 0 -1 0 -1 0 0 0 0 -1 0 1 0 1 0 0 tnons11 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 tnons12 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 toldfe11 0.00000000E+00 Hartree toldfe12 1.00000000E-06 Hartree toldff11 5.00000000E-05 toldff12 0.00000000E+00 tolmxf11 5.00000000E-04 tolmxf12 5.00000000E-05 typat11 1 1 typat12 1 xangst11 -3.7042404601E-01 0.0000000000E+00 0.0000000000E+00 3.7042404601E-01 0.0000000000E+00 0.0000000000E+00 xangst12 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 xcart11 -7.0000000000E-01 0.0000000000E+00 0.0000000000E+00 7.0000000000E-01 0.0000000000E+00 0.0000000000E+00 xcart12 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 xred11 -4.3750000000E-02 0.0000000000E+00 0.0000000000E+00 4.3750000000E-02 0.0000000000E+00 0.0000000000E+00 xred12 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 znucl 1.00000 ================================================================================ chkinp: Checking input parameters for consistency, jdtset= 11. chkinp: Checking input parameters for consistency, jdtset= 12. ================================================================================ == DATASET 11 ================================================================== - mpi_nproc: 1, omp_nthreads: -1 (-1 if OMP is not activated) --- !DatasetInfo iteration_state: {dtset: 11, } dimensions: {natom: 2, nkpt: 1, mband: 1, nsppol: 1, nspinor: 1, nspden: 1, mpw: 12203, } cutoff_energies: {ecut: 25.0, pawecutdg: -1.0, } electrons: {nelect: 2.00000000E+00, charge: 0.00000000E+00, occopt: 1.00000000E+00, tsmear: 1.00000000E-02, } meta: {optdriver: 0, ionmov: 2, optcell: 0, iscf: 7, paral_kgb: 0, } ... Real(R)+Recip(G) space primitive vectors, cartesian coordinates (Bohr,Bohr^-1): R(1)= 16.0000000 0.0000000 0.0000000 G(1)= 0.0625000 0.0000000 0.0000000 R(2)= 0.0000000 16.0000000 0.0000000 G(2)= 0.0000000 0.0625000 0.0000000 R(3)= 0.0000000 0.0000000 16.0000000 G(3)= 0.0000000 0.0000000 0.0625000 Unit cell volume ucvol= 4.0960000E+03 bohr^3 Angles (23,13,12)= 9.00000000E+01 9.00000000E+01 9.00000000E+01 degrees getcut: wavevector= 0.0000 0.0000 0.0000 ngfft= 75 75 75 ecut(hartree)= 25.000 => boxcut(ratio)= 2.05483 --- Pseudopotential description ------------------------------------------------ - pspini: atom type 1 psp file is /home/buildbot/ABINIT3/eos_gnu_13.2_mpich/trunk_merge-10.0/tests/Psps_for_tests/Pseudodojo_nc_sr_04_pw_standard_psp8/H.psp8 - pspatm: opening atomic psp file /home/buildbot/ABINIT3/eos_gnu_13.2_mpich/trunk_merge-10.0/tests/Psps_for_tests/Pseudodojo_nc_sr_04_pw_standard_psp8/H.psp8 - H ONCVPSP-3.3.0 r_core= 1.00957 0.90680 - 1.00000 1.00000 171101 znucl, zion, pspdat 8 -1012 1 4 300 0.00000 pspcod,pspxc,lmax,lloc,mmax,r2well 2.99000000000000 0.00000000000000 0.00000000000000 rchrg,fchrg,qchrg nproj 2 1 extension_switch 1 pspatm : epsatm= 0.35491505 --- l ekb(1:nproj) --> 0 -1.665338 -0.519510 1 -0.275071 pspatm: atomic psp has been read and splines computed 1.41966018E+00 ecore*ucvol(ha*bohr**3) -------------------------------------------------------------------------------- _setup2: Arith. and geom. avg. npw (full set) are 24405.000 24405.000 ================================================================================ === [ionmov= 2] Broyden-Fletcher-Goldfarb-Shanno method (forces) ================================================================================ --- Iteration: ( 1/10) Internal Cycle: (1/1) -------------------------------------------------------------------------------- ---SELF-CONSISTENT-FIELD CONVERGENCE-------------------------------------------- --- !BeginCycle iteration_state: {dtset: 11, itime: 1, icycle: 1, } solver: {iscf: 7, nstep: 10, nline: 4, wfoptalg: 0, } tolerances: {toldff: 5.00E-05, } ... iter Etot(hartree) deltaE(h) residm vres2 diffor maxfor ETOT 1 -1.1279313886576 -1.128E+00 3.983E-05 1.389E+02 1.065E-02 1.065E-02 ETOT 2 -1.1355445228888 -7.613E-03 3.637E-09 1.528E+01 3.754E-02 2.688E-02 ETOT 3 -1.1366018139351 -1.057E-03 9.172E-07 1.364E-02 1.054E-02 1.635E-02 ETOT 4 -1.1366025272647 -7.133E-07 4.408E-09 1.801E-03 3.319E-04 1.668E-02 ETOT 5 -1.1366025453954 -1.813E-08 8.859E-12 9.058E-05 3.108E-05 1.665E-02 ETOT 6 -1.1366025458023 -4.069E-10 3.217E-13 4.536E-07 6.477E-06 1.664E-02 At SCF step 6, forces are converged : for the second time, max diff in force= 6.477E-06 < toldff= 5.000E-05 Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= -5.04037536E-06 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 8.08977900E-07 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 8.08977900E-07 sigma(2 1)= 0.00000000E+00 --- !ResultsGS iteration_state: {dtset: 11, itime: 1, icycle: 1, } comment : Summary of ground state results lattice_vectors: - [ 16.0000000, 0.0000000, 0.0000000, ] - [ 0.0000000, 16.0000000, 0.0000000, ] - [ 0.0000000, 0.0000000, 16.0000000, ] lattice_lengths: [ 16.00000, 16.00000, 16.00000, ] lattice_angles: [ 90.000, 90.000, 90.000, ] # degrees, (23, 13, 12) lattice_volume: 4.0960000E+03 convergence: {deltae: -4.069E-10, res2: 4.536E-07, residm: 3.217E-13, diffor: 6.477E-06, } etotal : -1.13660255E+00 entropy : 0.00000000E+00 fermie : -3.75312171E-01 cartesian_stress_tensor: # hartree/bohr^3 - [ -5.04037536E-06, 0.00000000E+00, 0.00000000E+00, ] - [ 0.00000000E+00, 8.08977900E-07, 0.00000000E+00, ] - [ 0.00000000E+00, 0.00000000E+00, 8.08977900E-07, ] pressure_GPa: 3.3564E-02 xred : - [ -4.3750E-02, 0.0000E+00, 0.0000E+00, H] - [ 4.3750E-02, 0.0000E+00, 0.0000E+00, H] cartesian_forces: # hartree/bohr - [ -1.66422144E-02, -0.00000000E+00, -0.00000000E+00, ] - [ 1.66422144E-02, -0.00000000E+00, -0.00000000E+00, ] force_length_stats: {min: 1.66422144E-02, max: 1.66422144E-02, mean: 1.66422144E-02, } ... Integrated electronic density in atomic spheres: ------------------------------------------------ Atom Sphere_radius Integrated_density 1 2.00000 1.47800448 2 2.00000 1.47800448 ---OUTPUT----------------------------------------------------------------------- Cartesian coordinates (xcart) [bohr] -7.00000000000000E-01 0.00000000000000E+00 0.00000000000000E+00 7.00000000000000E-01 0.00000000000000E+00 0.00000000000000E+00 Reduced coordinates (xred) -4.37500000000000E-02 0.00000000000000E+00 0.00000000000000E+00 4.37500000000000E-02 0.00000000000000E+00 0.00000000000000E+00 Cartesian forces (fcart) [Ha/bohr]; max,rms= 1.66422E-02 9.60839E-03 (free atoms) -1.66422144315653E-02 -0.00000000000000E+00 -0.00000000000000E+00 1.66422144315653E-02 -0.00000000000000E+00 -0.00000000000000E+00 Gradient of E wrt nuclear positions in reduced coordinates (gred) 2.66275430905044E-01 0.00000000000000E+00 0.00000000000000E+00 -2.66275430905044E-01 -0.00000000000000E+00 -0.00000000000000E+00 Total energy (etotal) [Ha]= -1.13660254580232E+00 --- Iteration: ( 2/10) Internal Cycle: (1/1) -------------------------------------------------------------------------------- ---SELF-CONSISTENT-FIELD CONVERGENCE-------------------------------------------- --- !BeginCycle iteration_state: {dtset: 11, itime: 2, icycle: 1, } solver: {iscf: 7, nstep: 10, nline: 4, wfoptalg: 0, } tolerances: {toldff: 5.00E-05, } ... iter Etot(hartree) deltaE(h) residm vres2 diffor maxfor ETOT 1 -1.1369464929852 -1.137E+00 1.223E-10 8.367E-02 1.296E-02 3.684E-03 ETOT 2 -1.1369486132624 -2.120E-06 1.464E-12 3.833E-03 5.319E-04 4.216E-03 ETOT 3 -1.1369488674957 -2.542E-07 2.484E-09 6.338E-05 1.848E-04 4.401E-03 ETOT 4 -1.1369488721332 -4.638E-09 3.228E-12 2.618E-06 1.550E-05 4.386E-03 ETOT 5 -1.1369488721392 -5.919E-12 2.196E-14 4.830E-07 4.836E-07 4.386E-03 At SCF step 5, forces are converged : for the second time, max diff in force= 4.836E-07 < toldff= 5.000E-05 Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= -9.41147979E-07 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 7.88303135E-07 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 7.88303135E-07 sigma(2 1)= 0.00000000E+00 --- !ResultsGS iteration_state: {dtset: 11, itime: 2, icycle: 1, } comment : Summary of ground state results lattice_vectors: - [ 16.0000000, 0.0000000, 0.0000000, ] - [ 0.0000000, 16.0000000, 0.0000000, ] - [ 0.0000000, 0.0000000, 16.0000000, ] lattice_lengths: [ 16.00000, 16.00000, 16.00000, ] lattice_angles: [ 90.000, 90.000, 90.000, ] # degrees, (23, 13, 12) lattice_volume: 4.0960000E+03 convergence: {deltae: -5.919E-12, res2: 4.830E-07, residm: 2.196E-14, diffor: 4.836E-07, } etotal : -1.13694887E+00 entropy : 0.00000000E+00 fermie : -3.72225829E-01 cartesian_stress_tensor: # hartree/bohr^3 - [ -9.41147979E-07, 0.00000000E+00, 0.00000000E+00, ] - [ 0.00000000E+00, 7.88303135E-07, 0.00000000E+00, ] - [ 0.00000000E+00, 0.00000000E+00, 7.88303135E-07, ] pressure_GPa: -6.2319E-03 xred : - [ -4.4790E-02, 0.0000E+00, 0.0000E+00, H] - [ 4.4790E-02, 0.0000E+00, 0.0000E+00, H] cartesian_forces: # hartree/bohr - [ -4.38618046E-03, -0.00000000E+00, -0.00000000E+00, ] - [ 4.38618046E-03, -0.00000000E+00, -0.00000000E+00, ] force_length_stats: {min: 4.38618046E-03, max: 4.38618046E-03, mean: 4.38618046E-03, } ... Integrated electronic density in atomic spheres: ------------------------------------------------ Atom Sphere_radius Integrated_density 1 2.00000 1.46295372 2 2.00000 1.46295372 ---OUTPUT----------------------------------------------------------------------- Cartesian coordinates (xcart) [bohr] -7.16642214431565E-01 0.00000000000000E+00 0.00000000000000E+00 7.16642214431565E-01 0.00000000000000E+00 0.00000000000000E+00 Reduced coordinates (xred) -4.47901384019728E-02 0.00000000000000E+00 0.00000000000000E+00 4.47901384019728E-02 0.00000000000000E+00 0.00000000000000E+00 Cartesian forces (fcart) [Ha/bohr]; max,rms= 4.38618E-03 2.53236E-03 (free atoms) -4.38618045879041E-03 -0.00000000000000E+00 -0.00000000000000E+00 4.38618045879041E-03 -0.00000000000000E+00 -0.00000000000000E+00 Gradient of E wrt nuclear positions in reduced coordinates (gred) 7.01788873406465E-02 0.00000000000000E+00 0.00000000000000E+00 -7.01788873406465E-02 -0.00000000000000E+00 -0.00000000000000E+00 Total energy (etotal) [Ha]= -1.13694887213917E+00 Difference of energy with previous step (new-old): Absolute (Ha)=-3.46326E-04 Relative =-3.04657E-04 --- Iteration: ( 3/10) Internal Cycle: (1/1) -------------------------------------------------------------------------------- ---SELF-CONSISTENT-FIELD CONVERGENCE-------------------------------------------- --- !BeginCycle iteration_state: {dtset: 11, itime: 3, icycle: 1, } solver: {iscf: 7, nstep: 10, nline: 4, wfoptalg: 0, } tolerances: {toldff: 5.00E-05, } ... iter Etot(hartree) deltaE(h) residm vres2 diffor maxfor ETOT 1 -1.1369763910470 -1.137E+00 1.393E-11 1.061E-02 4.323E-03 6.363E-05 ETOT 2 -1.1369766553017 -2.643E-07 1.810E-13 4.765E-04 1.867E-04 2.503E-04 ETOT 3 -1.1369766868582 -3.156E-08 3.091E-10 8.142E-06 6.487E-05 3.152E-04 ETOT 4 -1.1369766874507 -5.925E-10 4.112E-13 3.232E-07 5.537E-06 3.096E-04 ETOT 5 -1.1369766874515 -8.205E-13 2.609E-15 5.988E-08 1.663E-07 3.098E-04 At SCF step 5, forces are converged : for the second time, max diff in force= 1.663E-07 < toldff= 5.000E-05 Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= 4.67645526E-07 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 7.81156659E-07 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 7.81156659E-07 sigma(2 1)= 0.00000000E+00 --- !ResultsGS iteration_state: {dtset: 11, itime: 3, icycle: 1, } comment : Summary of ground state results lattice_vectors: - [ 16.0000000, 0.0000000, 0.0000000, ] - [ 0.0000000, 16.0000000, 0.0000000, ] - [ 0.0000000, 0.0000000, 16.0000000, ] lattice_lengths: [ 16.00000, 16.00000, 16.00000, ] lattice_angles: [ 90.000, 90.000, 90.000, ] # degrees, (23, 13, 12) lattice_volume: 4.0960000E+03 convergence: {deltae: -8.205E-13, res2: 5.988E-08, residm: 2.609E-15, diffor: 1.663E-07, } etotal : -1.13697669E+00 entropy : 0.00000000E+00 fermie : -3.71140276E-01 cartesian_stress_tensor: # hartree/bohr^3 - [ 4.67645526E-07, 0.00000000E+00, 0.00000000E+00, ] - [ 0.00000000E+00, 7.81156659E-07, 0.00000000E+00, ] - [ 0.00000000E+00, 0.00000000E+00, 7.81156659E-07, ] pressure_GPa: -1.9908E-02 xred : - [ -4.5162E-02, 0.0000E+00, 0.0000E+00, H] - [ 4.5162E-02, 0.0000E+00, 0.0000E+00, H] cartesian_forces: # hartree/bohr - [ -3.09804682E-04, -0.00000000E+00, -0.00000000E+00, ] - [ 3.09804682E-04, -0.00000000E+00, -0.00000000E+00, ] force_length_stats: {min: 3.09804682E-04, max: 3.09804682E-04, mean: 3.09804682E-04, } ... Integrated electronic density in atomic spheres: ------------------------------------------------ Atom Sphere_radius Integrated_density 1 2.00000 1.45646305 2 2.00000 1.45646305 ---OUTPUT----------------------------------------------------------------------- Cartesian coordinates (xcart) [bohr] -7.22598117939411E-01 0.00000000000000E+00 0.00000000000000E+00 7.22598117939411E-01 0.00000000000000E+00 0.00000000000000E+00 Reduced coordinates (xred) -4.51623823712132E-02 0.00000000000000E+00 0.00000000000000E+00 4.51623823712132E-02 0.00000000000000E+00 0.00000000000000E+00 Cartesian forces (fcart) [Ha/bohr]; max,rms= 3.09805E-04 1.78866E-04 (free atoms) -3.09804681571842E-04 -0.00000000000000E+00 -0.00000000000000E+00 3.09804681571842E-04 -0.00000000000000E+00 -0.00000000000000E+00 Gradient of E wrt nuclear positions in reduced coordinates (gred) 4.95687490514948E-03 0.00000000000000E+00 0.00000000000000E+00 -4.95687490514948E-03 -0.00000000000000E+00 -0.00000000000000E+00 Total energy (etotal) [Ha]= -1.13697668745154E+00 Difference of energy with previous step (new-old): Absolute (Ha)=-2.78153E-05 Relative =-2.44646E-05 At Broyd/MD step 3, gradients are converged : max grad (force/stress) = 3.0980E-04 < tolmxf= 5.0000E-04 ha/bohr (free atoms) ================================================================================ ----iterations are completed or convergence reached---- Mean square residual over all n,k,spin= 26.094E-16; max= 26.094E-16 reduced coordinates (array xred) for 2 atoms -0.045162382371 0.000000000000 0.000000000000 0.045162382371 0.000000000000 0.000000000000 rms dE/dt= 2.8619E-03; max dE/dt= 4.9569E-03; dE/dt below (all hartree) 1 0.004956874905 0.000000000000 0.000000000000 2 -0.004956874905 0.000000000000 0.000000000000 cartesian coordinates (angstrom) at end: 1 -0.38238245498357 0.00000000000000 0.00000000000000 2 0.38238245498357 0.00000000000000 0.00000000000000 cartesian forces (hartree/bohr) at end: 1 -0.00030980468157 -0.00000000000000 -0.00000000000000 2 0.00030980468157 -0.00000000000000 -0.00000000000000 frms,max,avg= 1.7886582E-04 3.0980468E-04 0.000E+00 0.000E+00 0.000E+00 h/b cartesian forces (eV/Angstrom) at end: 1 -0.01593079591303 -0.00000000000000 -0.00000000000000 2 0.01593079591303 -0.00000000000000 -0.00000000000000 frms,max,avg= 9.1976493E-03 1.5930796E-02 0.000E+00 0.000E+00 0.000E+00 e/A length scales= 16.000000000000 16.000000000000 16.000000000000 bohr = 8.466835337440 8.466835337440 8.466835337440 angstroms prteigrs : about to open file tbase2_4o_DS11_EIG Fermi (or HOMO) energy (hartree) = -0.37114 Average Vxc (hartree)= -0.02171 Eigenvalues (hartree) for nkpt= 1 k points: kpt# 1, nband= 1, wtk= 1.00000, kpt= 0.0000 0.0000 0.0000 (reduced coord) -0.37114 --- !EnergyTerms iteration_state : {dtset: 11, itime: 3, icycle: 1, } comment : Components of total free energy in Hartree kinetic : 1.05944317580717E+00 hartree : 9.30771998116918E-01 xc : -6.44847788947150E-01 Ewald energy : 3.38366273163225E-01 psp_core : 3.46596724438746E-04 local_psp : -2.63681111864246E+00 non_local_psp : -1.84245823673684E-01 total_energy : -1.13697668745154E+00 total_energy_eV : -3.09387090821151E+01 band_energy : -7.42280551339315E-01 ... rms coord change= 8.1544E-04 atom, delta coord (reduced): 1 -0.001412382371 0.000000000000 0.000000000000 2 0.001412382371 0.000000000000 0.000000000000 Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= 4.67645526E-07 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 7.81156659E-07 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 7.81156659E-07 sigma(2 1)= 0.00000000E+00 -Cartesian components of stress tensor (GPa) [Pressure= -1.9908E-02 GPa] - sigma(1 1)= 1.37586041E-02 sigma(3 2)= 0.00000000E+00 - sigma(2 2)= 2.29824185E-02 sigma(3 1)= 0.00000000E+00 - sigma(3 3)= 2.29824185E-02 sigma(2 1)= 0.00000000E+00 ================================================================================ == DATASET 12 ================================================================== - mpi_nproc: 1, omp_nthreads: -1 (-1 if OMP is not activated) --- !DatasetInfo iteration_state: {dtset: 12, } dimensions: {natom: 1, nkpt: 1, mband: 1, nsppol: 2, nspinor: 1, nspden: 2, mpw: 12203, } cutoff_energies: {ecut: 25.0, pawecutdg: -1.0, } electrons: {nelect: 1.00000000E+00, charge: 0.00000000E+00, occopt: 2.00000000E+00, tsmear: 1.00000000E-02, } meta: {optdriver: 0, ionmov: 0, optcell: 0, iscf: 7, paral_kgb: 0, } ... Real(R)+Recip(G) space primitive vectors, cartesian coordinates (Bohr,Bohr^-1): R(1)= 16.0000000 0.0000000 0.0000000 G(1)= 0.0625000 0.0000000 0.0000000 R(2)= 0.0000000 16.0000000 0.0000000 G(2)= 0.0000000 0.0625000 0.0000000 R(3)= 0.0000000 0.0000000 16.0000000 G(3)= 0.0000000 0.0000000 0.0625000 Unit cell volume ucvol= 4.0960000E+03 bohr^3 Angles (23,13,12)= 9.00000000E+01 9.00000000E+01 9.00000000E+01 degrees getcut: wavevector= 0.0000 0.0000 0.0000 ngfft= 75 75 75 ecut(hartree)= 25.000 => boxcut(ratio)= 2.05483 3.54915046E-01 ecore*ucvol(ha*bohr**3) -------------------------------------------------------------------------------- _setup2: Arith. and geom. avg. npw (full set) are 24405.000 24405.000 ================================================================================ --- !BeginCycle iteration_state: {dtset: 12, } solver: {iscf: 7, nstep: 10, nline: 4, wfoptalg: 0, } tolerances: {toldfe: 1.00E-06, } ... iter Etot(hartree) deltaE(h) residm vres2 ETOT 1 -0.47825682777799 -4.783E-01 4.873E-05 1.627E+01 ETOT 2 -0.47827524298257 -1.842E-05 2.987E-12 2.668E-02 ETOT 3 -0.47827554622780 -3.032E-07 7.066E-09 6.162E-04 ETOT 4 -0.47827555034588 -4.118E-09 9.034E-11 1.569E-06 At SCF step 4, etot is converged : for the second time, diff in etot= 4.118E-09 < toldfe= 1.000E-06 Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= 2.95966548E-07 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 2.95966548E-07 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 2.95966548E-07 sigma(2 1)= 0.00000000E+00 --- !ResultsGS iteration_state: {dtset: 12, } comment : Summary of ground state results lattice_vectors: - [ 16.0000000, 0.0000000, 0.0000000, ] - [ 0.0000000, 16.0000000, 0.0000000, ] - [ 0.0000000, 0.0000000, 16.0000000, ] lattice_lengths: [ 16.00000, 16.00000, 16.00000, ] lattice_angles: [ 90.000, 90.000, 90.000, ] # degrees, (23, 13, 12) lattice_volume: 4.0960000E+03 convergence: {deltae: -4.118E-09, res2: 1.569E-06, residm: 9.034E-11, diffor: null, } etotal : -4.78275550E-01 entropy : 0.00000000E+00 fermie : -2.67322060E-01 cartesian_stress_tensor: # hartree/bohr^3 - [ 2.95966548E-07, 0.00000000E+00, 0.00000000E+00, ] - [ 0.00000000E+00, 2.95966548E-07, 0.00000000E+00, ] - [ 0.00000000E+00, 0.00000000E+00, 2.95966548E-07, ] pressure_GPa: -8.7076E-03 xred : - [ 0.0000E+00, 0.0000E+00, 0.0000E+00, H] cartesian_forces: # hartree/bohr - [ -0.00000000E+00, -0.00000000E+00, -0.00000000E+00, ] force_length_stats: {min: 0.00000000E+00, max: 0.00000000E+00, mean: 0.00000000E+00, } ... Integrated electronic and magnetization densities in atomic spheres: --------------------------------------------------------------------- Radius=ratsph(iatom), smearing ratsm= 0.0000. Diff(up-dn)=approximate z local magnetic moment. Atom Radius up_density dn_density Total(up+dn) Diff(up-dn) 1 2.00000 0.726779 0.000000 0.726779 0.726779 --------------------------------------------------------------------- Sum: 0.726779 0.000000 0.726779 0.726779 Total magnetization (from the atomic spheres): 0.726779 Total magnetization (exact up - dn): 1.000000 ================================================================================ ----iterations are completed or convergence reached---- Mean square residual over all n,k,spin= 49.031E-12; max= 90.344E-12 reduced coordinates (array xred) for 1 atoms 0.000000000000 0.000000000000 0.000000000000 rms dE/dt= 0.0000E+00; max dE/dt= 0.0000E+00; dE/dt below (all hartree) 1 0.000000000000 0.000000000000 0.000000000000 cartesian coordinates (angstrom) at end: 1 0.00000000000000 0.00000000000000 0.00000000000000 cartesian forces (hartree/bohr) at end: 1 -0.00000000000000 -0.00000000000000 -0.00000000000000 frms,max,avg= 0.0000000E+00 0.0000000E+00 0.000E+00 0.000E+00 0.000E+00 h/b cartesian forces (eV/Angstrom) at end: 1 -0.00000000000000 -0.00000000000000 -0.00000000000000 frms,max,avg= 0.0000000E+00 0.0000000E+00 0.000E+00 0.000E+00 0.000E+00 e/A length scales= 16.000000000000 16.000000000000 16.000000000000 bohr = 8.466835337440 8.466835337440 8.466835337440 angstroms prteigrs : about to open file tbase2_4o_DS12_EIG Fermi (or HOMO) energy (hartree) = -0.26732 Average Vxc (hartree)= -0.02159 Eigenvalues (hartree) for nkpt= 1 k points, SPIN UP: kpt# 1, nband= 1, wtk= 1.00000, kpt= 0.0000 0.0000 0.0000 (reduced coord) -0.26732 Eigenvalues (hartree) for nkpt= 1 k points, SPIN DOWN: kpt# 1, nband= 1, wtk= 1.00000, kpt= 0.0000 0.0000 0.0000 (reduced coord) -0.09528 --- !EnergyTerms iteration_state : {dtset: 12, } comment : Components of total free energy in Hartree kinetic : 4.56605200421430E-01 hartree : 2.10826539417328E-01 xc : -2.77388055776760E-01 Ewald energy : -8.86655462337693E-02 psp_core : 8.66491811096866E-05 local_psp : -7.17357677397901E-01 non_local_psp : -6.23826599573187E-02 total_energy : -4.78275550345882E-01 total_energy_eV : -1.30145395913145E+01 band_energy : -2.67322059595405E-01 ... Cartesian components of stress tensor (hartree/bohr^3) sigma(1 1)= 2.95966548E-07 sigma(3 2)= 0.00000000E+00 sigma(2 2)= 2.95966548E-07 sigma(3 1)= 0.00000000E+00 sigma(3 3)= 2.95966548E-07 sigma(2 1)= 0.00000000E+00 -Cartesian components of stress tensor (GPa) [Pressure= -8.7076E-03 GPa] - sigma(1 1)= 8.70763500E-03 sigma(3 2)= 0.00000000E+00 - sigma(2 2)= 8.70763500E-03 sigma(3 1)= 0.00000000E+00 - sigma(3 3)= 8.70763500E-03 sigma(2 1)= 0.00000000E+00 == END DATASET(S) ============================================================== ================================================================================ -outvars: echo values of variables after computation -------- acell 1.6000000000E+01 1.6000000000E+01 1.6000000000E+01 Bohr amu 1.00794000E+00 bs_loband11 0 bs_loband12 0 0 diemac 1.00000000E+00 ecut 2.50000000E+01 Hartree etotal11 -1.1369766875E+00 etotal12 -4.7827555035E-01 fcart11 -3.0980468157E-04 -0.0000000000E+00 -0.0000000000E+00 3.0980468157E-04 -0.0000000000E+00 -0.0000000000E+00 fcart12 -0.0000000000E+00 -0.0000000000E+00 -0.0000000000E+00 - fftalg 512 ionmov11 2 ionmov12 0 istwfk 2 ixc -1012 jdtset 11 12 kptopt 0 P mkmem 1 natom11 2 natom12 1 nband11 1 nband12 1 1 ndtset 2 ngfft 75 75 75 nkpt 1 nspden11 1 nspden12 2 nsppol11 1 nsppol12 2 nstep 10 nsym11 16 nsym12 48 ntime11 10 ntime12 1 ntypat 1 occ11 2.000000 occ12 1.000000 0.000000 occopt11 1 occopt12 2 optforces11 1 optforces12 2 spgroup11 123 spgroup12 221 spinat12 0.0000000000E+00 0.0000000000E+00 1.0000000000E+00 strten11 4.6764552619E-07 7.8115665869E-07 7.8115665869E-07 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 strten12 2.9596654784E-07 2.9596654784E-07 2.9596654784E-07 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 symafm11 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 symafm12 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 symrel11 1 0 0 0 1 0 0 0 1 -1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 -1 0 0 0 1 1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 1 1 0 0 0 0 1 0 1 0 -1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 -1 0 1 0 1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 1 0 symrel12 1 0 0 0 1 0 0 0 1 -1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 -1 0 0 0 1 1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 -1 -1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 0 1 0 -1 0 -1 0 0 0 0 -1 0 -1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 1 0 -1 0 -1 0 0 0 0 1 0 1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 -1 0 -1 0 1 0 0 0 0 1 0 0 1 1 0 0 0 1 0 0 0 -1 -1 0 0 0 -1 0 0 0 -1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 1 0 0 0 -1 -1 0 0 0 1 0 0 0 1 1 0 0 0 -1 0 0 0 1 -1 0 0 0 -1 0 0 0 -1 1 0 0 0 1 0 1 0 0 0 0 1 0 1 0 -1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 -1 0 1 0 1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 1 0 1 0 0 1 0 0 0 1 1 0 0 0 -1 0 0 0 -1 -1 0 0 0 -1 0 0 0 1 -1 0 0 0 1 0 0 0 -1 1 0 0 0 -1 0 0 0 -1 1 0 0 0 1 0 0 0 1 -1 0 0 0 1 0 0 0 -1 -1 0 0 0 -1 0 0 0 1 1 0 0 0 0 1 0 1 0 1 0 0 0 0 -1 0 -1 0 -1 0 0 0 0 -1 0 1 0 -1 0 0 0 0 1 0 -1 0 1 0 0 0 0 -1 0 -1 0 1 0 0 0 0 1 0 1 0 -1 0 0 0 0 1 0 -1 0 -1 0 0 0 0 -1 0 1 0 1 0 0 tnons11 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 tnons12 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 toldfe11 0.00000000E+00 Hartree toldfe12 1.00000000E-06 Hartree toldff11 5.00000000E-05 toldff12 0.00000000E+00 tolmxf11 5.00000000E-04 tolmxf12 5.00000000E-05 typat11 1 1 typat12 1 xangst11 -3.8238245498E-01 0.0000000000E+00 0.0000000000E+00 3.8238245498E-01 0.0000000000E+00 0.0000000000E+00 xangst12 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 xcart11 -7.2259811794E-01 0.0000000000E+00 0.0000000000E+00 7.2259811794E-01 0.0000000000E+00 0.0000000000E+00 xcart12 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 xred11 -4.5162382371E-02 0.0000000000E+00 0.0000000000E+00 4.5162382371E-02 0.0000000000E+00 0.0000000000E+00 xred12 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00 znucl 1.00000 ================================================================================ - Timing analysis has been suppressed with timopt=0 ================================================================================ Suggested references for the acknowledgment of ABINIT usage. The users of ABINIT have little formal obligations with respect to the ABINIT group (those specified in the GNU General Public License, http://www.gnu.org/copyleft/gpl.txt). However, it is common practice in the scientific literature, to acknowledge the efforts of people that have made the research possible. In this spirit, please find below suggested citations of work written by ABINIT developers, corresponding to implementations inside of ABINIT that you have used in the present run. Note also that it will be of great value to readers of publications presenting these results, to read papers enabling them to understand the theoretical formalism and details of the ABINIT implementation. For information on why they are suggested, see also https://docs.abinit.org/theory/acknowledgments. - - [1] Libxc: A library of exchange and correlation functionals for density functional theory. - M.A.L. Marques, M.J.T. Oliveira, T. Burnus, Computer Physics Communications 183, 2227 (2012). - Comment: to be cited when LibXC is used (negative value of ixc) - Strong suggestion to cite this paper. - DOI and bibtex: see https://docs.abinit.org/theory/bibliography/#marques2012 - - [2] The Abinit project: Impact, environment and recent developments. - Computer Phys. Comm. 248, 107042 (2020). - X.Gonze, B. Amadon, G. Antonius, F.Arnardi, L.Baguet, J.-M.Beuken, - J.Bieder, F.Bottin, J.Bouchet, E.Bousquet, N.Brouwer, F.Bruneval, - G.Brunin, T.Cavignac, J.-B. Charraud, Wei Chen, M.Cote, S.Cottenier, - J.Denier, G.Geneste, Ph.Ghosez, M.Giantomassi, Y.Gillet, O.Gingras, - D.R.Hamann, G.Hautier, Xu He, N.Helbig, N.Holzwarth, Y.Jia, F.Jollet, - W.Lafargue-Dit-Hauret, K.Lejaeghere, M.A.L.Marques, A.Martin, C.Martins, - H.P.C. Miranda, F.Naccarato, K. Persson, G.Petretto, V.Planes, Y.Pouillon, - S.Prokhorenko, F.Ricci, G.-M.Rignanese, A.H.Romero, M.M.Schmitt, M.Torrent, - M.J.van Setten, B.Van Troeye, M.J.Verstraete, G.Zerah and J.W.Zwanzig - Comment: the fifth generic paper describing the ABINIT project. - Note that a version of this paper, that is not formatted for Computer Phys. Comm. - is available at https://www.abinit.org/sites/default/files/ABINIT20.pdf . - The licence allows the authors to put it on the Web. - DOI and bibtex: see https://docs.abinit.org/theory/bibliography/#gonze2020 - - [3] Optimized norm-conserving Vanderbilt pseudopotentials. - D.R. Hamann, Phys. Rev. B 88, 085117 (2013). - Comment: Some pseudopotential generated using the ONCVPSP code were used. - DOI and bibtex: see https://docs.abinit.org/theory/bibliography/#hamann2013 - - [4] ABINIT: Overview, and focus on selected capabilities - J. Chem. Phys. 152, 124102 (2020). - A. Romero, D.C. Allan, B. Amadon, G. Antonius, T. Applencourt, L.Baguet, - J.Bieder, F.Bottin, J.Bouchet, E.Bousquet, F.Bruneval, - G.Brunin, D.Caliste, M.Cote, - J.Denier, C. Dreyer, Ph.Ghosez, M.Giantomassi, Y.Gillet, O.Gingras, - D.R.Hamann, G.Hautier, F.Jollet, G. Jomard, - A.Martin, - H.P.C. Miranda, F.Naccarato, G.Petretto, N.A. Pike, V.Planes, - S.Prokhorenko, T. Rangel, F.Ricci, G.-M.Rignanese, M.Royo, M.Stengel, M.Torrent, - M.J.van Setten, B.Van Troeye, M.J.Verstraete, J.Wiktor, J.W.Zwanziger, and X.Gonze. - Comment: a global overview of ABINIT, with focus on selected capabilities . - Note that a version of this paper, that is not formatted for J. Chem. Phys - is available at https://www.abinit.org/sites/default/files/ABINIT20_JPC.pdf . - The licence allows the authors to put it on the Web. - DOI and bibtex: see https://docs.abinit.org/theory/bibliography/#romero2020 - - [5] Recent developments in the ABINIT software package. - Computer Phys. Comm. 205, 106 (2016). - X.Gonze, F.Jollet, F.Abreu Araujo, D.Adams, B.Amadon, T.Applencourt, - C.Audouze, J.-M.Beuken, J.Bieder, A.Bokhanchuk, E.Bousquet, F.Bruneval - D.Caliste, M.Cote, F.Dahm, F.Da Pieve, M.Delaveau, M.Di Gennaro, - B.Dorado, C.Espejo, G.Geneste, L.Genovese, A.Gerossier, M.Giantomassi, - Y.Gillet, D.R.Hamann, L.He, G.Jomard, J.Laflamme Janssen, S.Le Roux, - A.Levitt, A.Lherbier, F.Liu, I.Lukacevic, A.Martin, C.Martins, - M.J.T.Oliveira, S.Ponce, Y.Pouillon, T.Rangel, G.-M.Rignanese, - A.H.Romero, B.Rousseau, O.Rubel, A.A.Shukri, M.Stankovski, M.Torrent, - M.J.Van Setten, B.Van Troeye, M.J.Verstraete, D.Waroquier, J.Wiktor, - B.Xu, A.Zhou, J.W.Zwanziger. - Comment: the fourth generic paper describing the ABINIT project. - Note that a version of this paper, that is not formatted for Computer Phys. Comm. - is available at https://www.abinit.org/sites/default/files/ABINIT16.pdf . - The licence allows the authors to put it on the Web. - DOI and bibtex: see https://docs.abinit.org/theory/bibliography/#gonze2016 - - Proc. 0 individual time (sec): cpu= 5.4 wall= 5.4 ================================================================================ Calculation completed. .Delivered 22 WARNINGs and 5 COMMENTs to log file. +Overall time at end (sec) : cpu= 5.4 wall= 5.4
Since we are doing the calculation at a single (ecut, acell) pair, the total CPU time is not as much as for the previous determinations of optimal values through series calculations. However, the memory needs have still increased a bit.
The output data are:
etotal11 -1.1369766875E+00
etotal12 -4.7827555035E-01
xcart11 -7.2259811794E-01 0.0000000000E+00 0.0000000000E+00
7.2259811794E-01 0.0000000000E+00 0.0000000000E+00
xcart12 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
- The corresponding atomisation energy is
0.1804 Ha = 4.910 eV
- The interatomic distance is 1.445 Bohr.
- These are our final data for the local (spin) density approximation.
Without our choice of pseudopotential, the value of ixc was -1012, corresponding to the Perdew-Wang [Perdew1992a] parameterization of the LDA XC functional. It is in principle the same as using ixc = 1. Other expressions for the local (spin) density approximation ixc=[2, 3 … 7] are possible. The values 1, 2, 3 and 7 should give about the same results, since they all start from the XC energy of the homogeneous electron gas, as determined by Quantum Monte Carlo calculations. Other possibilities (ixc = 4, 5, 6) are older local density functionals, that could not rely on these data.
6 The use of the Generalized Gradient Approximation¶
We will use the Perdew-Burke-Ernzerhof functional proposed in [Perdew1996]
For GGA, we use another pseudopotential than for LDA. In principle we should redo the ecut convergence test, possibly coming to the conclusion that another value of ecut should be used. However, for the special case of Hydrogen, and in general pseudopotentials with a very small core (including only the 1s orbital), pseudopotentials issued from the LDA and from the GGA are very similar. So, we will not redo an ecut convergence test.
Important
ecut is often characteristic of the pseudopotentials that are used in a calculation.
Independently of the pseudopotential, an acell convergence test should not be done again, since the vacuum is treated similarly in LDA or GGA.
So, our final values within GGA will be easily obtained by changing the pseudopotential with respect to the one used in tbase2_4.abi.
# H2 molecule in a big box # # Like tbase2_4.abi, except that GGA is used instead of LDA. # ndtset 2 udtset 1 2 # Use the Perdew-Burke-Ernzerhof GGA, defined through the pseudopotential pseudos "Pseudodojo_nc_sr_04_pbe_standard_psp8/H.psp8" # Name and location of the pseudopotential # This pseudopotential comes from the pseudodojo site http://www.pseudo-dojo.org/ (NC SR PBE standard), # and was generated using the GGA-PBE exchange-correlation functional # (GGA-PBE=Generalized Gradient Approximation - Perdew-Burke-Ernzerhof, ixc=-1012). # By default, abinit uses the same exchange-correlation functional than the one of the input pseudopotential(s) # In tbase2_4.in the following pseudo was used # pseudos "Pseudodojo_nc_sr_04_pw_standard_psp8/H.psp8" #Definition of the unit cell and ecut, #for which one will have to make a convergence study acell:? 16 16 16 acell+? 2 2 2 ecut 25 #First dataset : find the optimal bond length of H2, and associated total energy natom?1 2 # There are two atoms ionmov?1 2 # Use the modified Broyden algorithm ntime?1 10 # Maximum number of Broyden "timesteps" tolmxf?1 5.0d-4 # Stopping criterion for the geometry optimization : when # the residual forces are less than tolmxf, the Broyden # algorithm can stop xcart?1 -0.7 0.0 0.0 # The starting values of the 0.7 0.0 0.0 # atomic coordinates toldff?1 5.0d-5 # Will stop the SCF cycle when, twice in a row, # the difference between two consecutive evaluations of # forces differ by less than toldff (in Hartree/Bohr) nband?1 1 # Just one band #Second dataset : get the total energy of the isolated atom natom?2 1 # There is one atom nsppol?2 2 # Spin-polarized calculation occopt?2 2 # Allow occupation numbers to be set by hand nband?2 1 1 # Number of bands for spin up and spin down occ?2 1.0 0.0 # Occupation numbers for spin up state and spin down state. toldfe?2 1.0d-6 # Will stop the SCF cycles when, twice in a row, # the difference between two consecutive evaluations # of total energy differ by less than toldfe (in Hartree) # This value is way too large for most realistic studies of materials xcart?2 0.0 0.0 0.0 # The atom is located at the origin spinat?2 0.0 0.0 1.0 # Initialisation of spin #rprim 1 0 0 0 1 0 0 0 1 # This line, defining orthogonal primitive vectors, # is commented, because it is precisely the default value of rprim #Definition of the atom types ntypat 1 # There is only one type of atom znucl 1 # The keyword "znucl" refers to the atomic number of the possible type(s) of atom. # Here, the only type is Hydrogen. The pseudopotential(s) # mentioned after the keyword "pseudos" should correspond to this type of atom. pp_dirpath "$ABI_PSPDIR" # This is the path to the directory were pseudopotentials for tests are stored #Definition of the atoms typat 1 1 # For the first dataset, both numbers will be read, # while for the second dataset, only one number will be read #Definition of the k-point grid kptopt 0 # Enter the k points manually nkpt 1 # Only one k point is needed for isolated system, # taken by default to be 0.0 0.0 0.0 #Definition of the SCF procedure nstep 10 # Maximal number of SCF cycles #toldfe is no more defined, as toldff is used above... diemac 2.0 # Although this is not mandatory, it is worth to # precondition the SCF cycle. The model dielectric # function used as the standard preconditioner # is described in the "dielng" input variable section. # Here, we follow the prescriptions for molecules # in a big box ############################################################## # This section is used only for regression testing of ABINIT # ############################################################## #%%<BEGIN TEST_INFO> #%% [setup] #%% executable = abinit #%% [files] #%% files_to_test = #%% tbase2_5.abo, tolnlines= 0, tolabs= 3.681e-09, tolrel= 2.000e-04, fld_options = -medium #%% [paral_info] #%% max_nprocs = 1 #%% [extra_info] #%% authors = X. Gonze #%% keywords = #%% description = #%% H2 molecule in a big box #%% Like tbase2_4.abi, except that GGA is used instead of LDA. #%%<END TEST_INFO>
etotal11 -1.1658082573E+00
etotal12 -4.9940910146E-01
xcart11 -7.0870975055E-01 -2.3009273766E-32 -6.6702161522E-32
7.0870975055E-01 2.3009273766E-32 6.6702161522E-32
xcart12 0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
- The corresponding atomisation energy is 0.1670 Ha = 4.544 eV
- The interatomic distance is 1.417 Bohr.
- These are our final data for the generalized gradient approximation.
Once more, here are the experimental data:
- bond length: 1.401 Bohr
- atomisation energy: 4.747 eV
In GGA, we are within 2% of the experimental bond length, but 5% of the experimental atomisation energy. In LDA, we were within 3% of the experimental bond length, and about 3.5% of the experimental atomisation energy.
Important
Do not forget that the typical accuracy of LDA and GGA varies with the class of materials studied. Usually, LDA gives too small lattice parameters, by 1…3%, while GGA gives too large lattice parameters, by 1…3% as well, but there might be classes of materials for which the deviation is larger. See e.g. [Lejaeghere2014].