Commit Graph

881 Commits

Author SHA1 Message Date
Paolo Giannozzi 067c27a0e1 Cleanup after latest merge 2019-01-17 10:01:56 +01:00
giannozz 6019388cf0 Merge branch 'develop' into 'develop'
merge develop with new lsda

See merge request QEF/q-e!258
2019-01-16 20:17:01 +00:00
giannozz d1d4fbdb0b Merge branch 'requests' into 'develop'
bugfix

See merge request QEF/q-e!259
2019-01-16 15:10:51 +00:00
Lorenzo Paulatto (naquite) 3efbab61dd bugfix 2019-01-16 16:03:04 +01:00
fabrizio22 f3114d67e1 merge develop with rho_updw_mz 2019-01-14 11:40:47 +01:00
Samuel Ponce 7a0369fdc8 Bug in PH/dvqpsi_us
The variable ikk was used before being defined.
2019-01-11 17:38:28 +00:00
Iurii Timrov 6bb3eb6008 Bugfix in DFPT+U and HP: there was a small bug
when checking the number of states in the Hubbard
manifold (nwfcU). Thanks to Hao Zeng for reporting the issue.
2018-11-29 12:32:02 +01:00
Iurii Timrov c7d828019d Update the DFPT+U example after the bugfix. 2018-11-23 15:06:15 +01:00
Iurii Timrov bc8d9d9260 Bugfix in DFPT+U: the array wgg is real, not complex.
This bug was mistakenly introduced during ithe porting of DFPT+U
from QE 5.0.2 to the latest QE. Interestingly, this stupid bug
was found only when computing phononsi+U for bulk Fe using
Fe.pbe-spn-rrkjus_psl.0.2.1.UPF (the bug did not show up when using
e.g. fe_pbe_v1.5.uspp.F.UPF). The benchmark was done with the
frozen phonon approach using phonopy. Moreover, in other tests
(for bulk Si, Al, Ni) this bug also did not show up.
2018-11-23 14:32:42 +01:00
Iurii Timrov 112d8c6760 Minor changes in DFPT+U
1) DFPT+U with ortho-atomic orbitals is disables,
because it is more complicated than it was expected.
First, Hubbard forces in pw.x must be extended to ortho-atomic orbitals
and then DFPT+U must be reconsidered.
2) Update the reference files for example18 for DFPT+U
3) Various minor changes
2018-11-08 14:16:19 +01:00
Paolo Giannozzi 43c2c5b69b Miscellanous updates to documentation and dependencies; new checks in the
phonon code to prevent execution in non-implemented cases (NOT YET WORKING
because variables lxdm and dft_d3 are not properly set when file is read!);
removal of unused variables
2018-11-08 10:47:14 +01:00
Alberto Otero de la Roza 3afb67ac23 increase precision of phDOS output (frequency and total DOS) in matdyn.x 2018-11-05 16:16:13 +01:00
Iurii Timrov 52a67b19a5 1) Implementation of the PHonon+U code (A. Floris, S. de Gironcoli, E.K.U. Gross,
I. Timrov, B. Himmetoglu, N. Marzari, M. Cococcioni). The code was ported
from QE 5.0.2 to the latest version of QE, by I. Timrov with the help of
A. Floris and M. Cococcioni. Many thanks for the discussions with P. Giannozzi,
P. Delugas, A. Dal Corso, M. Calandra, L. Paulatto about various issues
during the porting. Sorry if I forgot to mention someone.
2) Some small modifications in the HP code in order to be consistent
with the porting of PHonon+U and changes in LR_Modules.
2018-10-30 16:20:32 +01:00
giannozz 240526cc33 Merge branch 'hp' into 'develop'
Implementation of the new code hp.x to compute Hubbard U from DFPT

See merge request QEF/q-e!164
2018-08-29 21:02:14 +00:00
Iurii Timrov 0bc76d8100 Implementation of the new code hp.x to compute Hubbard U from DFPT.
Iurii Timrov, Nicola Marzari, and Matteo Cococcioni,
Phys. Rev. B 98, 085127 (2018); arXiv:1805.01805
2018-08-29 14:54:42 +02:00
Paolo Giannozzi e90f03133e Following Uli Aschauer's example: uniform au to angstrom conversion constant 2018-08-23 22:09:15 +02:00
Paolo Giannozzi 6f7bbdf452 More Makefile cleanup: targets pwlibs, phlibs added in order to avoid much
uneeded relinking; the mysterious "tldeps" machinery modified accordingly;
added explicit dependencies to GWW targets to prevent (once again) problems
with make -j (seems to work now). make.depend updated (once again).
2018-08-21 17:14:04 +02:00
Paolo Giannozzi f3edd5884d Calculation of atomic rho in reciprocal space extracted from routine atomic_rho
Will be useful later. Some more cleanup: obsolete I/O variables moved into
soon-to-become obsolete routines
2018-08-16 16:29:04 +02:00
Stefano De Gironcoli d0ceafaf92 a single libks_solvers.a library is created.
Makefiles of the children codes are updated to use it.
2018-08-14 07:42:30 +02:00
Paolo Giannozzi c353e656f1 Some utility routines moved out from xml_io_base into io_files; useless
references to xml_io_base deleted. Now xml_io-base contains only obsolete
routines for reading and writing wfcs and rho, to be deleted soon.
2018-08-13 09:46:06 +02:00
Paolo Giannozzi d39682046d Merge branch 'develop' of gitlab.com:QEF/q-e into develop 2018-08-07 21:49:58 +02:00
Stefano de Gironcoli 97f68ff314 routine h_1psi renamed hs_1psi because this is what it does ! 2018-08-07 20:45:56 +02:00
Paolo Giannozzi f759fd5a79 Old-style I/O deleted. Everything should work as in 6.2 and 6.3 with default
options, but some codes that have not been updated, notably cppp.x and
bgw2pw.x, are broken for good; some exotic options may also be broken.
2018-08-07 19:43:21 +02:00
Stefano De Gironcoli 3c5389add6 more changes to add a ppcg option to c_bands.f90 diagonalization 2018-08-03 04:15:56 +02:00
Iurii Timrov 239bdc1a44 Moving some routines from PH to LR_Modules 2018-08-01 09:24:48 +00:00
Paolo Giannozzi 45fc53b530 Merge branch 'develop' of gitlab.com:QEF/q-e into develop 2018-07-18 18:04:37 +02:00
giannozz 54abe91aa3 Merge branch 'feature/RefactorWfcModuleName' into 'develop'
Rename module wavefunctions_module to wavefunctions

See merge request QEF/q-e!118
2018-07-18 15:58:00 +00:00
Paolo Giannozzi 19347413c5 Obsolete and misleading comment removed 2018-07-17 15:07:49 +02:00
Miguel Carvajal 68ee7b5e87 Rename module wavefunctions_module to wavefunctions 2018-07-12 16:11:48 +02:00
Paolo Giannozzi 7f32483fff IN all Makefiles, LIBS replaced by QELIBS, to prevent unlikely but not
impossible clashes with LIBS as defined by the OS or as used by the configure's
of external libraries (e.g. FoX, for which one such problem has been reported)
2018-07-11 19:58:41 +02:00
Paolo Giannozzi a929525d7b No valid reason to re-defined IFLAGS inside Makefiles 2018-07-04 16:42:12 +02:00
Samuel Ponce 73371a59c5 Improved robustness of EPW (S. Ponce and C. Verdi)
Explaintion:
The Wigner-Seitz construction in EPW was done by constructing a cell
centred unit cell. This is fine for electronic properties (this is what is done in wannier90).
However for phonon or electron-phonon properties, one can have issues when the cell
is tilded for example.
The proper way is to construct a set of WS vectors centred on pairs of atoms (phonons)
or atoms (el-ph).
In the matdyn code, a FT grid is constructed with weigths centred on pairs of atoms
and zeros everywhere else.
EPW now reproduced exactly the results of matdyn for the interpolated phonons at a
lower computation cost. Indeed we minimize the number of zeros by keeping the union
of values between all the cells.
In both cases this is very fast anyway but is important for el-ph properties.

A Wigner module was created to deal with this.

In addition, the subroutine cdiagh2 from PHonon/PH/rigid.f90 has been made public to
avoid code duplication in EPW
2018-07-01 12:12:38 +01:00
Pietro Delugas 0898e563d4 updated dates on user_guides 2018-06-29 17:49:14 +02:00
Pietro Delugas 57e83c2a93 removed "-IFLAG=" from Makefiles
the IFLAG obtained from configure is now imported from make.inc to
Makefiles of PHonon and PP source directories.
2018-06-29 14:13:15 +02:00
giannozz 4fb1d4e998 Merge branch 'fix_xkstarting' into 'develop'
fix in case of lgamma ph computation with collected wavefunctions

See merge request QEF/q-e!100
2018-06-29 05:38:22 +00:00
Pietro Delugas cff9b833bc fix in case of lgamma ph computation with collected wave
functions

in case the starting computation has been done twfcollect=.true.
run_nscf saves the wave functions in tmp_dir_phq and not in tmp_dir.
We have to find a way to have them in the same place in both cases.
Not now because release is tomorrow (29 june 2018).
Dirty fix if open_buffer fails in tmp_dir go back to tmp_dir_phq and try
again.
2018-06-28 19:23:00 +02:00
Paolo Giannozzi 696ed9571f make.depend updated 2018-06-28 19:06:54 +02:00
Paolo Giannozzi 8458bf0e81 Minor updates to examples 2018-06-28 16:44:22 +02:00
Pietro Delugas c73dd9dcd8 when twfcollect is false ph do not revert to scf dir for lgamma case. 2018-06-27 18:31:05 +02:00
Paolo Giannozzi ae635622db Added compiled documentation files in *.pdf. *txt, *html format.
Since github and gitlab just distribute a snapshot of the git repository,
these files must be in the repository as well. NOTA BENE:
All changes MUST GO TO *.tex or *.def FILES, NOT to these files!
Also note that the "make doc" machinery produces also *.xml files and
latex2html converted html versions of latex files. I don't think they belong
to the repository (latex files should maybe be replaced by md files)
2018-06-22 17:41:44 +02:00
Samsonidze Georgy (CR/RTC2.2-NA) b77613de7a EPA method. 2018-06-13 13:13:46 -07:00
Lorenzo Paulatto (naquite) 3e3b8bf12c Trying to disable XML dynamical matrix without adding any more changes 2018-06-11 11:14:34 +02:00
Lorenzo Paulatto (naquite) 300d18b41d Stop forcing XML dynamical matrix when using GGA with non-colinear magnetization 2018-06-11 11:08:47 +02:00
Paolo Giannozzi 71a61c005d make.depend updated 2018-05-28 18:31:21 +02:00
Paolo Giannozzi 7fe403528b Again cleanup of / everywhere. Reminder: directory names must have a / (or a \)
at the end; to that purpose, function trimcheck can be used
2018-05-28 10:47:56 +02:00
Paolo Giannozzi 4e252e6947 Some more cleanup of / and \ 2018-05-28 09:58:35 +02:00
giannozz d4e43418a1 Merge branch 'develop' into 'develop'
Misc changes for compilation and execution on WIndows

See merge request QEF/q-e!67
2018-05-27 17:36:37 +00:00
Paolo Giannozzi 09bd1dfe4b Some more fixes for I/O in Windows 2018-05-27 19:34:55 +02:00
giannozz adf683b672 Merge branch 'develop' into 'develop'
Some iotk removal, Makefile simplified

See merge request QEF/q-e!64
2018-05-16 04:57:52 +00:00
Paolo Giannozzi 042bbe5449 Simplified Makefiles: removed uneeded "touch-dummy" targets.
May still need some tweaking and the addition of .PHONY directive in Makefile
2018-05-15 21:50:31 +02:00