Commit Graph

468 Commits

Author SHA1 Message Date
degironc 4bd82d234d phonon with vdW-DF/vdw-DF2/rVV10 added.
make.depend updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12296 c92efa57-630b-4861-b058-cf58834340f0
2016-04-11 15:40:37 +00:00
giannozz 78830ab2c8 Neither OpenMP nor MPI was properly working in the routine just added. The
latter was actually a pre-existing bug: some variables related to the 
treatment of van der Waals interactions were neither set nor properly 
broadcast. Not a big deal until the day you want to use them.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12275 c92efa57-630b-4861-b058-cf58834340f0
2016-04-02 07:44:22 +00:00
giannozz 92564d98a4 Phonons with DFT+D2. May or may not work.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12274 c92efa57-630b-4861-b058-cf58834340f0
2016-04-02 06:43:47 +00:00
degironc 620330f595 -npot flag to deal with potential parallelization (recently suppressed) mapped into image parallelization
a few more flags needed for ACFDT added to acfdtest.f90 (hopefully soon to be removed)
 makedeps.sh adapted to the new LR_Modules structure 



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12247 c92efa57-630b-4861-b058-cf58834340f0
2016-03-24 19:14:59 +00:00
timrov 613ee5577a Several changes:
1) Added a flag dpsi_computed in the subroutine orthogonalize.f90 in LR_Modules. The meaning of this flag is described in the header of that routine. It was needed to generalize this subroutine. In short, this flag controls whether S*evq was already computed before or it must be computed inside of orthogonalize. If this idea does not look good for someone, then a better strategy should be found. I decided to introduce this new flag in order to make minimal changes in the PHonon code. 
2) TDDFPT: The use of lr_ortho (which is a modified version of orthogonalize.f90) was replaced in several places by orthogonalize. Still in several places of the turboDavidson code there are calls to lr_ortho, which should be replaced by orthogonalize if possible. In the future lr_ortho should be removed and orthogonalize should be used instead. This is done for the sake of unification of the linear response codes in QE.
3) TDDFPT: The orthogonalization to the valence states manifold (orthogonalize) has been moved from lr_lanczos to lr_apply_liouvillian, which is now in correspondance with the definition of the Liouvillian superoperator implemented in lr_apply_liouvillian. USPP is a special case, and hence the property S^-1 P_c^+ = P_c S^-1 has been used to make such a move of the call to orthogonalize (old call to lr_ortho).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12225 c92efa57-630b-4861-b058-cf58834340f0
2016-03-19 19:04:05 +00:00
giannozz 2c88ed349b Minor changes for clarity; misplaced comment clarified and moved to a more
appropriate place


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12207 c92efa57-630b-4861-b058-cf58834340f0
2016-03-13 10:37:22 +00:00
dceresoli c9460fdffa Allow to switch off symmetry and time reversal, by setting nosym=.true.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12201 c92efa57-630b-4861-b058-cf58834340f0
2016-03-09 10:40:20 +00:00
giannozz 0b1fffd2a2 EXX with k-point parallelization: removal of a useless variable
--- This line, and those below, will be ignored--

M    PHonon/PH/phq_init.f90
M    PHonon/PH/elphon.f90
M    PW/src/xk_wk_collect.f90
M    PW/src/exx.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12193 c92efa57-630b-4861-b058-cf58834340f0
2016-03-05 15:24:02 +00:00
timrov f68259ade0 Deleting the old copy of setqmod.f90 from PHonon
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12182 c92efa57-630b-4861-b058-cf58834340f0
2016-02-28 14:07:43 +00:00
timrov 3f9627005d Minor changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12180 c92efa57-630b-4861-b058-cf58834340f0
2016-02-28 14:02:30 +00:00
timrov fe77de94f8 Deleting old copies of qdipol_cryst.f90 and adddvepsi_us.f90 in PHonon, and
updating Makefile and make.depend.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12178 c92efa57-630b-4861-b058-cf58834340f0
2016-02-28 13:42:43 +00:00
timrov f1be423d66 Moved the variables dpqq and dpqq_so from "phus" to "lrus".
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12175 c92efa57-630b-4861-b058-cf58834340f0
2016-02-28 13:04:42 +00:00
timrov 1b8c581d5f Moved parts of the PHonon code, which compute nbnd_occ and alpha_pv,
from phq_setup.f90 to separate subroutines setup_nbnd_occ.f90 
and setup_alpha_pv.f90 in LR_Modules. The reason for this is always the same:
these parts of PH were duplicated eslewhere (in TDDFPT) and now it is
time to merge them and move to LR_Modules.
Also some small changes in TDDFPT: removing the dependencies on PH variables.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12172 c92efa57-630b-4861-b058-cf58834340f0
2016-02-28 10:58:15 +00:00
timrov 51c86d33ad Moved a part of the PHonon code (which computes the derivative of the XC potential)
from the routine PHonon/PH/phq_setup.f90 to a new routine "setup_dmuxc.f90"
in LR_Modules. The reason for this action is that the same duplicated part of the
code was present in TDDFPT. Now both PHonon and TDDFPT use the same routine in
LR_Modules/setup_dmuxc.f90. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12167 c92efa57-630b-4861-b058-cf58834340f0
2016-02-27 16:33:33 +00:00
timrov a289e4337e Update Makefile, make.depend and remove old copies of setup_dgc.f90 and compute_vsgga.f90 from PHonon/PH
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12166 c92efa57-630b-4861-b058-cf58834340f0
2016-02-27 15:41:03 +00:00
timrov a82139b05a Minor changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12163 c92efa57-630b-4861-b058-cf58834340f0
2016-02-27 15:24:59 +00:00
timrov 495cc700c9 The phonon "mode" is no longer needed in the input for dv_of_drho. Some documentation.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12155 c92efa57-630b-4861-b058-cf58834340f0
2016-02-21 11:29:59 +00:00
timrov d3e18b7863 Update the Makefiles and remove the routines "dv_of_drho" and "dgradcorr" from PHonon.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12154 c92efa57-630b-4861-b058-cf58834340f0
2016-02-20 18:53:40 +00:00
timrov 48fdd07972 Moved the call to the routine "addcore" out from the routine "dv_of_drho",
in order to make dv_of_drho independent from the PHonon-specific routines.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12151 c92efa57-630b-4861-b058-cf58834340f0
2016-02-20 18:39:27 +00:00
timrov 25518dd073 Minor changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12150 c92efa57-630b-4861-b058-cf58834340f0
2016-02-20 17:43:07 +00:00
timrov 96e5da1539 Moved the "lrpa" variable from the module "control_ph" to the module "control_lr".
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12149 c92efa57-630b-4861-b058-cf58834340f0
2016-02-20 17:34:35 +00:00
timrov 7effe72502 Merged the "nlcc_any" of the "nlcc_ph" module with the "nlcc_any" of the "uspp" module.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12148 c92efa57-630b-4861-b058-cf58834340f0
2016-02-20 17:16:16 +00:00
giannozz c09c7b071e Unwanted space in makefile + max_second in example that shouldn't be there
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12147 c92efa57-630b-4861-b058-cf58834340f0
2016-02-19 19:53:27 +00:00
giannozz 59ab969721 More unexpected side effects of recent changes - better fixes will come later
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12144 c92efa57-630b-4861-b058-cf58834340f0
2016-02-17 15:46:35 +00:00
paulatto ff2a4ddc98 Subroutine generalized to take a q-vector as input, renamed to addcore_ofq
The old subroutine name is used for a wrapper that takes the variables from modules and calls the new one



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12136 c92efa57-630b-4861-b058-cf58834340f0
2016-02-15 14:09:39 +00:00
timrov e229d98f56 Removed the routine "lr_dv_of_drho_eels", which was a modified duplicate of the PHonon routine "dv_of_drho.f90". Now the turboEELS code uses the original PHonon routine. Also removed the obsolete variables "eps" and "clfe". Slightly improved the readability of the routine "dv_of_drho.f90".
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12126 c92efa57-630b-4861-b058-cf58834340f0
2016-02-14 14:27:41 +00:00
timrov 58a9714ce3 Porting minor updates of my previous commits to addusdbec.f90 and addusdbec_nc.f90 which are inside LR_Modules,
and deleting the obsolete copies of these routines in PH.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12124 c92efa57-630b-4861-b058-cf58834340f0
2016-02-14 13:13:49 +00:00
timrov 10e4b669c6 Removing two subroutines from PH, because they were copied to LR_Modules. Update Makefiles correspondingly.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12123 c92efa57-630b-4861-b058-cf58834340f0
2016-02-14 13:04:35 +00:00
timrov 707e58243f TDDFPT routines, which compute the response density, now use the original PH routines, which allows us to delete the duplicated parts of the code. Some documentation of the PH routines.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12120 c92efa57-630b-4861-b058-cf58834340f0
2016-02-14 12:41:19 +00:00
calandra 5774002093 A . was missing .AND..NOT.
MCB


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12090 c92efa57-630b-4861-b058-cf58834340f0
2016-02-02 21:03:35 +00:00
calandra 3bef188624 Without this change the routine was overwriting the dynq0
in the case of Wannier interpolation of the electron-phonon
matrix element.

MCB


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12089 c92efa57-630b-4861-b058-cf58834340f0
2016-02-02 21:02:16 +00:00
calandra d37af743f4 could not link due to missing dependency LRMODS
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12087 c92efa57-630b-4861-b058-cf58834340f0
2016-02-02 10:37:59 +00:00
giannozz 33ec1a8646 A few minor things left out of last commit
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12074 c92efa57-630b-4861-b058-cf58834340f0
2016-01-26 13:06:44 +00:00
giannozz 1fea499fae Since we are in the process of moving stuff around, I think it is a good
moment to get rid of flib/, whose usefulness is far from obvious. The content
of flib/ is now in Modules/. Many makefiles updated and little more. 

Packages using QE routines should just remove links to flib/flib.a.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12072 c92efa57-630b-4861-b058-cf58834340f0
2016-01-26 12:51:02 +00:00
paulatto 2ea559a48b Missing argument can cause crashes and eisenbugs
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12070 c92efa57-630b-4861-b058-cf58834340f0
2016-01-26 10:57:59 +00:00
ccavazzoni b9da770dff - Changes for LAXlib
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12062 c92efa57-630b-4861-b058-cf58834340f0
2016-01-23 20:10:10 +00:00
degironc e54f9a79d6 updated dependencies for addusdbec*.f90 move
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12050 c92efa57-630b-4861-b058-cf58834340f0
2016-01-22 03:57:01 +00:00
degironc f997c42b5a set_dbecsum_nc and set_int3_nc extracted from PHonon/PH/set_int12_nc.f90 and moved to LR_Modules as separated files
transform_dbecsum_so.f90 and transform_dbecsum_nc.f90 appendened to set_dbecsum_nc.f90 that calls them
transform_int3_so extracted from PHonon/PH/transform_int_so.f90 and appended to set_int3_nc.f90 that calls it
transform_int3_nc extracted from PHonon/PH/transform_int_nc.f90 and appended to set_int3_nc.f90 that calls it
dependencies updated



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12047 c92efa57-630b-4861-b058-cf58834340f0
2016-01-22 03:00:30 +00:00
degironc 521686bbd6 becp1 variable moved form phus -> lrus
addvscf.f90 moved in LR_Modules (done in previous commit)
updated dependencies and USE statements 



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12046 c92efa57-630b-4861-b058-cf58834340f0
2016-01-22 01:50:14 +00:00
degironc 91c8818bfd set_small_group_of_q delated by mistake, restored
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12044 c92efa57-630b-4861-b058-cf58834340f0
2016-01-21 16:04:55 +00:00
degironc a29d278e13 git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12043 c92efa57-630b-4861-b058-cf58834340f0 2016-01-21 00:57:35 +00:00
degironc 701d3932d5 index of the perturbation moved as las index in int3
now it is

  int3(nhm,nhm,nat,nspin,npert) =  \int Delta V_Hxc Q d^3r

  and similarly for int3_nc, int3_paw
  


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12041 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 23:42:39 +00:00
degironc 3030e37f01 cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12039 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 22:17:19 +00:00
giannozz 452fe345cd Missing variable in serial case + updated make.depend
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12038 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 21:04:20 +00:00
degironc 2d4e3fda5a module modes in phcom.f90 split in modes + lr_symm_base in LR_Modules/lrcom.f90
dependencies updated



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12033 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 14:53:42 +00:00
degironc 101e401714 iit was not a good idea... yet
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12031 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 13:02:44 +00:00
degironc 6e2d87da8f cg_ph renamed cg_lr and moved to LR_Modules/lrcom.f90
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12029 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 11:09:35 +00:00
degironc 6c27413b23 that was easy too...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12027 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 10:16:34 +00:00
degironc d5c10b6dce that was easy... just updating some dependencies
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12025 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 09:22:29 +00:00
degironc 7edc6821df moving run_nscf to LR_Modules was not such a good idea.. too many dependencies
a few updated dependendces



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12023 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 09:00:31 +00:00