Commit Graph

540 Commits

Author SHA1 Message Date
Iurii Timrov e473bc92e4 Changed examples 6 and 7 in HP from LiCoO2 to Ni2MnGa,
because putting U on O-2p states is questionable.
It is better to avoid providing examples with U on O-2p.
2019-02-04 15:56:43 +01:00
Oleksandr Motornyi 6fa063902e Update lr_apply_liouvillian_eels.f90 to fix the performance issue with ultrasoft pseudopotentials 2019-02-04 10:43:30 +00:00
Paolo Giannozzi 11d764fddf Removal of obsolete lkpoint_dir variable 2019-01-28 22:26:32 +01:00
Paolo Giannozzi da041348d1 twfcollect variable deleted. It is still mentioned here and there, still written
into xml files, listed among input variables, but it is never used and no longer
useful. In case, it is easy and quick to reintroduce it, in a less confusing way
2019-01-26 18:26:16 +01:00
Paolo Giannozzi 9f46b253cd make.depend updated 2018-10-02 17:34:19 +02:00
Iurii Timrov a0ae1121eb Modifications in TDDFPT and HP modules:
1) Remove PP files from examples of TDDFPT, use an automatic
download of PPs from the QE web site;
2) TDDFPT examples are now in the standard format of QE
(using run_example scripts);
3) Fix the bug in TDDFPT+EXX due to recent changes in PW (fft_fact);
4) The ecutfock parameter in TDDFPT+EXX is now read from XML and
cannot be specified from the input of TDDFPT;
5) In TDDFPT the oscillator strength (absorption coefficient)
is now written in a separate file (and not in the same file
where \chi is written);
6) HP examples use PPs from the Pslibrary by an automatic
download from the QE website.
2018-09-07 16:26:46 +02: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 88d9f52ed4 TDDFPT: the variables tqr and real_space are read from the XML file.
Now TDDFPT with tqr=.true. is working (there were missing
initializations - added a call to generate_qpointlist).
Also added the example "Benzene-Rspace" which benchmarks the use
of TDDFPT with USPP and tqr=.true.
2018-08-29 15:15:48 +02: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
Iurii Timrov e546178649 TDDFPT: tqr and real_space are no longer set up in TDDFPT but
instead they are read from the XML file produced by PWscf (not working yet).
2018-08-27 13:10:07 +02:00
Paolo Giannozzi 1dbe0ebdea Variable "real_space_debug" deleted from realus module. In TDDFPT, input
variables "auto_rs" (and "real_space_debug") deleted. TDDFPT still reads
"tqr" and "real_space" from input (TODO: read them from data file instead).
"make.depend" updated, TDDFPT no longer depends upon iotk
2018-08-22 12:50:05 +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
Stefano de Gironcoli 9bcad68eba wrong reference to libks_solvers.a corrected 2018-08-14 13:50:06 +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 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 b8f879e0d7 timing using start_clock/stop_clock 2018-08-03 09:27:57 +02:00
Stefano de Gironcoli bc59e529d8 more missing dependencies for libppcg.a added to Makefiles 2018-08-03 04:15:56 +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
Oscar Baseggio a38b5c99e8 Reorder gamma and k functions
Description in k1d_term_gamma function
insert if in lr_apply_liouvillin to protect without hybrid
2018-07-27 11:34:19 +02:00
Oscar Baseggio 2afba88e4b restore h_psi, and switch off/on exx_is_active in lr_apply_liouvillian
before and after call h_psi
2018-07-26 13:56:51 +02:00
Oscar Baseggio d03004d8fe correct wavefunction module name, thanks 2018-07-25 14:21:19 +02:00
Oscar Baseggio e0c3d0b043 Cleanup and changes suggested by Iurii 2018-07-25 10:33:03 +02:00
Oscar Baseggio 1b19c2af05 optimized usage of Hybrid functionals in TDDFPT codes
reorganized do loops in k1d_term_gamma functions

in h_psi vexx is skipped for TDDFPT using Gamma

k2d_term_gamma function became k2d_vexx_term_gamma calculates k2d
and vexx terms on the same cycle of the loop
2018-07-24 16:56:52 +02:00
Paolo Giannozzi 315ef30c44 Merge branch 'timrov/q-e-develop' into develop 2018-07-21 17:22:18 +02:00
timrov 0d8ac8eede Bugfix in TDDFPT: The restart option in turboEELS (turbo_eels.x)
with ultrasoft pseudopotentials was not working.
2018-07-20 11:30:20 +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
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 e165d5cf88 Deleted draft of CPC paper 2018-07-06 09:26:57 +02:00
Paolo Giannozzi a929525d7b No valid reason to re-defined IFLAGS inside Makefiles 2018-07-04 16:42:12 +02:00
Oliviero Andreussi 2459f3a479 updated make.depend files 2018-06-29 17:01:30 -05:00
Oliviero Andreussi d019f73610 updated TDDFPT examples with Environ 2018-06-29 17:00:16 -05:00
Oliviero Andreussi 1f690d9233 fixed a bug in lr_readin.f90, wrong arguments in call to plugin_scf_potential 2018-06-28 15:17:34 -05:00
Oliviero Andreussi 783b46b55c fixed a stupid bug in plugin in td 2018-06-28 00:32:32 -05:00
Oliviero Andreussi 4ed16b009f fixed a couple of bugs on patches and revert scripts 2018-06-27 14:47:36 -05:00
Oliviero Andreussi 0cf3a89c74 Merge branch 'master' into tdplugin 2018-06-26 16:43:28 -05:00
Oliviero Andreussi e924223475 first attempt at pluginization of TD 2018-06-26 16:39:57 -05: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
Iurii Timrov 60c95cdf18 TDDFPT+USPP with k-points (turbo_lanczos.x) is not fully implemented.
This part of the code was always disabled, just addind an error message
in one routine.
2018-06-12 14:27:09 +02:00
Iurii Timrov bd1af31608 Bugfix: TDDFPT+USPP (turbo_lanczos.x and turbo_davidson.x)
was not working correctly after a change of logic how the
USPP part of the density is computed and added to the normal part
(PW/src/addusdens.f90)
2018-06-12 12:15:25 +02: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
Paolo Giannozzi 84d09bcc20 With the latest change, clean_pw, used in many places, depend upon dft-d3/.
Makefiles modified accordingly.

I am not at all happy about this "solution": unneeded dependencies should be
avoided, but this would need to change the way things are deallocated at the
end of a run (clean_pw does too many things at the same time)
2018-05-10 08:27:14 +02:00
Paolo Giannozzi e498ee3f2c check_para_diag is a function but was called as a subroutine in three cases.
Noticed by Satomichi Nishihara. Minor cleanup. Should work exactly as before.
2018-04-10 16:15:15 +02:00
Paolo Giannozzi 99515484f3 Some general-purpose routines for file and directory handling:
create_directory, check_tempdir, check_file_exist, clean_tempdir,
moved from input.f90 or xml_io_base into module "io_files"
2018-03-14 21:23:26 +01:00
Paolo Giannozzi 390a836b5c More EXX restructuring: routines specific for band parallelization moved to
file exx_band.f90; make.depend updated accordingly. Module exx now needs
modules exx_base and exx_band. Next: all general variables and routines
moved to exx_base.
2018-03-07 18:06:27 +01:00
Paolo Giannozzi 5ce04b2c23 Beginning of exx.f90 reordering: all quantities and routines related to
k+q grid, symmetry, treatment of limit q => 0, moved to exx_base.f90.
Everything exactly as before, but beware the following changes:
- exx_reinit modified. moved to lr_exx_reinit in TDDFPT/src/lr_exx_kernel.f90
- exx_grid_reinit replaced by modified exx_grid_init and exx_gvec_reinit
2018-03-05 09:49:34 +01:00
Stefano de Gironcoli cd2e99c523 Merge branch 'master' of https://gitlab.com/QEF/q-e
Conflicts:
	PW/src/sum_band.f90
2018-01-10 14:58:38 +01:00
Stefano de Gironcoli 4c4c93c257 define a generic interface for fft_interpolate and move the correspondig routine to FFTXlib 2018-01-08 23:02:08 +01:00
Paolo Giannozzi 9af0317f8d Once again, a problem with modules in Makefiles. In order to simplify things,
after the proliferarion of modules and libraries, I have collected into a
single variable BASEMOD_FLAGS, defined in make.inc, the list of directories
for modules, to be included by all codes. IMPORTANT NOTICE: re-run "configure",
the new Makefiles work in conjunction with the new make.inc
2018-01-08 22:28:48 +01:00
Paolo Giannozzi 524e7193a6 Release-notes and make.depend updated, misspells corrected 2018-01-03 09:23:48 +01:00