Commit Graph

615 Commits

Author SHA1 Message Date
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
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 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
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
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
Paolo Giannozzi 5cb72fd2ef Fixes for two potential out-of-bound errors - Mitsuaki Kawamura 2018-05-15 14:03:33 +02:00
Paolo Giannozzi fdc299d023 Missing initialization to false of new variable loto_2d broke dynmat.x 2018-03-19 20:43:22 +01: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 da290b9cad Cleanup of unused or avoidable fixed dimension nsx, make.depend updated 2018-03-02 18:37:09 +01:00
Paolo Giannozzi 94c6e16d1e Atom-projected phonon DOS in matdyn.x; minor changes to the format of file
containing Eliashberg functions to allow plotting with gnuplot for each mode
separately. Contributed by Mitsuaki Kawamura. Note: uses a fixed format with
a lot of fields (1000) per line.
2018-02-23 13:59:41 +01:00
Paolo Giannozzi 663e3f1d69 Two more routines computing gradients collected into gradutils, duplicated
versions deleted: "fft_qgradient" and "fft_qgraddot". These are the versions
of fft_gradient_r2r and fft_graddot for complex arrays with exp(iqr) behavior,
fr usage in the phonon code (gradient of Delta rho at finite q). Note that in
phonon, indices of drho_gradient have been reversed as well in vdW-DF routines,
and that the call to dgradcorr has been changed (dfftp is passed as argument)
2018-01-18 15:08:46 +01:00
Paolo Giannozzi fdbe1f8153 Just in case: better to disable phonons with meta-GGA 2018-01-16 18:29:18 +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
Stefano de Gironcoli 9ed8602b5a mispelled variable desc$have_task_groups corrected to desc%has_task_group 2018-01-03 01:38:48 +01:00
Stefano de Gironcoli 407a1c444a routine cinterpolate replaced by fft_interpolate_complex
similar to fft_interpolate_real
2018-01-03 00:50:24 +01:00
Stefano de Gironcoli 41e91c0dac new interface to fft calls
three types of calls are possibles :  'Rho', 'Wave', 'tgWave'

   In order to enable an fft-type for a given grid the corresponding clock_labels must be set.
   One gives a name to desc%rho_clock_lable for 'Rho' type fft and a name to
   desc%wave_clock_lable for 'Wave' and 'tgWave' types. Whether tg is
   possible depends of the already defined value of desc%have_task_groups variable (mispell to be corrected soon).

   definining
      dffts%rho_clock_label='ffts', dffts%wave_clock_label='fftw',
      dfftp%rho_clock_label='fft', dfftt%rho_clock_label='fftc' and
      dfftt%wave_clock_label='fftcw'
   and changing
      'Dense'->'Rho', 'Smooth'->'Rho', 'Custom'->'Rho', 'CustomWave'->'Wave'
   the same clock names and the same overall behavior as with the old interface is obtained.
2018-01-02 17:45:45 +01:00
Paolo Giannozzi d6ff342a29 Cleanup: release-notes and make.depend updated, a few commented lines and
useless routine deallocate_gvecs deleted
2017-12-26 19:42:09 +01:00
Carlo Cavazzoni c23a49e7f9 nl indexes now in fft type 2017-12-24 15:43:44 +01:00
Paolo Giannozzi 8c4a92cdc5 Second copy of "set_bgrp_index" replaced by generic routine "divide" 2017-12-23 22:28:53 +01:00
Lorenzo Paulatto 1d8654b673 Revert "I do not like to use xml dyn mat"
This reverts commit 78e8854289
2017-12-14 10:16:51 +00:00
Lorenzo Paulatto (naquite) 710336fc70 Avoid printing the q attached to the number 2017-12-13 14:33:04 +01:00
Lorenzo Paulatto (naquite) 78e8854289 I do not like to use xml dyn mat 2017-12-12 17:23:23 +01:00
giannozz 34be634901 Ooops ...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@14036 c92efa57-630b-4861-b058-cf58834340f0
2017-12-10 16:32:52 +00:00
giannozz 587c5771eb Minor final details
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@14035 c92efa57-630b-4861-b058-cf58834340f0
2017-12-09 21:35:25 +00:00
pietrodelugas 82cb20b366 in new xml format qnorm is not written the xml file any more in case of restart and it must be initialized again before calling read_file which also does allocations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@14034 c92efa57-630b-4861-b058-cf58834340f0
2017-12-09 20:52:54 +00:00
giannozz 6712a70407 Added fix for phonon restart with tetrahedra (Mitsuaki Kawamura),
release-notes and release script updated for would-be v.6.2.1.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@14029 c92efa57-630b-4861-b058-cf58834340f0
2017-12-08 08:51:22 +00:00
giannozz 96120c0b1c Simple q2r.x wasn't working any longer due to bad initialization of a file name
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@14002 c92efa57-630b-4861-b058-cf58834340f0
2017-11-20 14:32:22 +00:00
giannozz d93cbbb7fc Electron-phonon case was not reading its own files for ibrav=0
Minor documentation and make.depend updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13999 c92efa57-630b-4861-b058-cf58834340f0
2017-11-18 08:21:50 +00:00
giannozz e67dd36163 Ooops ... forgot to add this file
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13998 c92efa57-630b-4861-b058-cf58834340f0
2017-11-16 06:40:56 +00:00
giannozz bbcf3f1195 q2r.f90 split sothat it can be directly called by "matdyn" (Sasha Fonari)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13997 c92efa57-630b-4861-b058-cf58834340f0
2017-11-15 14:15:45 +00:00
giannozz 6c45539bb4 Misc spelling errors
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13957 c92efa57-630b-4861-b058-cf58834340f0
2017-10-25 20:08:57 +00:00
paulatto 9e337f3ba9 New code to compute total energy and phonons in 2D materials by enforcing 2D periodic boundary conditions. Inter-layer Coulomb interaction is truncated. Vacuum space need to be larger than the layer size. Also check phonon example17 and input documentation.
Developed by Thibault Sohier, Matteo Calandra, Francesco Mauri



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13952 c92efa57-630b-4861-b058-cf58834340f0
2017-10-25 10:40:59 +00:00