Commit Graph

1822 Commits

Author SHA1 Message Date
dalcorso 6c008beb71 The data-file.xml is not removed in a band structure calculation.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6335 c92efa57-630b-4861-b058-cf58834340f0
2010-01-30 12:59:04 +00:00
dalcorso a45094651e Apparently there is a problem with the character tables of the S_4 double
group. Please report any problem that you might find with S_4.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6334 c92efa57-630b-4861-b058-cf58834340f0
2010-01-30 12:40:11 +00:00
dalcorso ebc6fbb7a5 The quantization axis in compute_rho is now chosen compatible with the
point group symmetry.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6332 c92efa57-630b-4861-b058-cf58834340f0
2010-01-29 17:02:16 +00:00
dalcorso 28209081c6 Removed an old tentative to improve the noncollinear-gga case.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6331 c92efa57-630b-4861-b058-cf58834340f0
2010-01-29 16:52:32 +00:00
obm 0eb3ccabe2 1) Rescaling added to addusdens_r is only designed for ground charge density. Huge problem in TDDFPT.
Added an option to disable it. In general, since real_space routines are "high level", that is, they involve
many operations, their precision is rather low (best zero ~ 1e-11 ). Anyone employing chain algorithms
should pay extra attention to drift caused by them. I am more than welcome to any contribution that will
improve accuracy without comprimising performance too much.
2) Some routines that I have used for testing is removed from realus. This module is getting huge...


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6326 c92efa57-630b-4861-b058-cf58834340f0
2010-01-29 11:03:36 +00:00
obm 1bd8daf5ec The same kind of splitting applied to newd for newd_r
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6324 c92efa57-630b-4861-b058-cf58834340f0
2010-01-28 13:23:13 +00:00
obm c122ffed47 1) For TDDFPT purposes, subroutine newd does too many things at once, and accepts too few parameters.
I have splitted them and collected all in a module. Usual calls to newd is not changed, apart from necessity
to include the module, newq is the part I use for calculating response charge density.
2) Some gamma only additions to PH/dv_of_drho.f90 proved to be unnecessary, removing. I am still trying to
find an efficient/minimal impact way to cast this subroutine to use real instead of complex input.

As usual, I have tested before posting, however be sure to check before in your applications.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6322 c92efa57-630b-4861-b058-cf58834340f0
2010-01-27 18:50:07 +00:00
giannozz 67da7be0d1 Check on symmetry group extended to fractional translations - temporary fix
for a rather unpleasant situation: Si with origin in the middle of the bond
doesn't work any longer!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6316 c92efa57-630b-4861-b058-cf58834340f0
2010-01-25 11:17:39 +00:00
giannozz c61e01bbe6 Added check that symmetry operations really form a group in the mathematical
sense. All kind of funny problems can result otherwise. Problem noticed by
Lorenzo. Maybe a similar check should also be added after calculation of the
small group of q in the phonon code, just in case.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6310 c92efa57-630b-4861-b058-cf58834340f0
2010-01-22 11:54:59 +00:00
dalcorso 87a405c510 Bug fix: avoided a possible out of bound error with the D_2h point group.
(Thanks to LP for reporting the bug).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6309 c92efa57-630b-4861-b058-cf58834340f0
2010-01-21 15:00:14 +00:00
giannozz cbe390bdc2 More instances of nonstandard forms for "Quantum ESPRESSO"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6304 c92efa57-630b-4861-b058-cf58834340f0
2010-01-18 13:46:16 +00:00
giannozz a57597c9c6 Fixed compilation problem in gipaw. Reduntant "trnvect" routine replaced
by "cryst_to_cart" (pelase check for unintended side effects)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6303 c92efa57-630b-4861-b058-cf58834340f0
2010-01-16 06:43:54 +00:00
giannozz 2f6f868631 More minor symmetry cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6301 c92efa57-630b-4861-b058-cf58834340f0
2010-01-15 15:33:11 +00:00
marsamos 347a6682f4 continuing porting of HSE
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6297 c92efa57-630b-4861-b058-cf58834340f0
2010-01-15 10:22:34 +00:00
giannozz 6c5888721f Cleanup of matrix crystal to cartesian transformations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6295 c92efa57-630b-4861-b058-cf58834340f0
2010-01-15 07:36:54 +00:00
giannozz fa3f8d4816 More symmetry cleanup + fixed a bug introduced in the last commit
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6292 c92efa57-630b-4861-b058-cf58834340f0
2010-01-14 20:17:37 +00:00
marsamos 278017c5e7 HSE porting. pw is compiling. HSE is running. To be tested more.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6291 c92efa57-630b-4861-b058-cf58834340f0
2010-01-14 13:40:16 +00:00
giannozz 655b713f25 More symmetry cleanup: symtns => symmatrix (works in cartesian coordinates,
supersedes GIPAW/sym_cart_tensor.f90) - GIPAW and VdW untested


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6288 c92efa57-630b-4861-b058-cf58834340f0
2010-01-11 22:48:10 +00:00
giannozz 940e2465f8 More symmetry cleanup: symz => symtensor in module symme, acting on
cartesian coordinates (no longer crystal axis). GIPAW untested.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6286 c92efa57-630b-4861-b058-cf58834340f0
2010-01-10 19:51:53 +00:00
giannozz 2c3c6f60d0 Minor symmetry cleanup: routines symscalar, symvect moved into module symme.
Beware: "symvector" now works on vectors in cartesian coordinates, not crystal
axis as previous "symvect"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6285 c92efa57-630b-4861-b058-cf58834340f0
2010-01-10 13:22:09 +00:00
dalcorso 0b1e1ddc48 Bug fix: a check on a noninitialized pointer caused a crash of ph.x on my PC.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6284 c92efa57-630b-4861-b058-cf58834340f0
2010-01-10 08:29:36 +00:00
giannozz 8c29be5d5a Forgot to remove this useless file
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6283 c92efa57-630b-4861-b058-cf58834340f0
2010-01-09 15:25:17 +00:00
giannozz a4cf0f888b Minor symmetry cleanup: S^{-1} moved to symmetry module and its usage
made uniform. It seems to work, but beware unintended side effects.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6282 c92efa57-630b-4861-b058-cf58834340f0
2010-01-09 15:21:34 +00:00
giannozz 93745edf3b Wrappers for real-space symmetrization removed. STM seems to work;
no warranty for ELF and local_dos.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6269 c92efa57-630b-4861-b058-cf58834340f0
2010-01-07 17:20:31 +00:00
paulatto 134d3ae78b Wrong dimension declared for ityp
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6266 c92efa57-630b-4861-b058-cf58834340f0
2010-01-07 12:08:50 +00:00
giannozz bd651b108c Better (?) algorithm for G-space symmetrization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6264 c92efa57-630b-4861-b058-cf58834340f0
2010-01-06 16:54:57 +00:00
ccavazzoni a17b27ed50 check on number of plane wave (npwx) should be modified
for parallel execution (npwx is local whereas nbnd is global),
otherwise it fails when using lots of processors.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6263 c92efa57-630b-4861-b058-cf58834340f0
2009-12-23 22:51:39 +00:00
giannozz 315487eef5 Parallel distributed reciprocal-space symmetrization. Not a big deal
(large system have seldom symmetries) and not a big effort either (but
the variable-cell case was really nasty, due to the loss of G-vector
ordering). Currently the new routines are hidden into module symme and
called by wrappers that make it simple to revert to the old algorithm.
It works for all examples in tests/ in both serial and parallel execution,
but needs real-life testing. In the noncolinear case the results seem to
be invariant with respect to usage of S or S^-1 to rotate the magnetization,
so more testing (or a more reliable theory) is needed.

For the time being, it works only for PW and (untested) PP. PHonon etc
still use the old-fashioned real-space symmetrization.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6261 c92efa57-630b-4861-b058-cf58834340f0
2009-12-22 17:01:28 +00:00
giannozz f0c178fbb8 Previous "small" change was not correct
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6260 c92efa57-630b-4861-b058-cf58834340f0
2009-12-22 15:51:10 +00:00
giannozz a27cf81d98 A few minor changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6259 c92efa57-630b-4861-b058-cf58834340f0
2009-12-22 13:50:33 +00:00
giannozz 188903c6ee Ooops, previous commit hadn't disappeared after all...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6258 c92efa57-630b-4861-b058-cf58834340f0
2009-12-21 17:59:44 +00:00
giannozz 6faa565519 (re-commit of a change that went missing in the upgrade of qe-forge)
Symmetrization of the charge density for the gamma_only case is no longer
performed (it is not needed). Symmetrization of forces and stresses is
still performed to prevent loss of symmetry during structural optimization.
Minor numerical differences may follow, but I haven't noticed any nasty
side effects


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6257 c92efa57-630b-4861-b058-cf58834340f0
2009-12-21 17:57:39 +00:00
giannozz 3433c9a1d9 Removed symmetrization of the charge density in the gamma-only case. I don't
think there will be any side effects, but in case, it is easy to revert to
the previous case (by just removing a "go to"). In principle, symmetrization
of the charge density is needed only if we have k-points in the BZ that are
not in the IBZ. Symmetrization of forces and stresses is still there, because
it ensures the correct symmetry.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6256 c92efa57-630b-4861-b058-cf58834340f0
2009-12-19 17:24:00 +00:00
giannozz 629c88cc4f call to environment_end displaced after cpu time report so that it makes
the final printout


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6255 c92efa57-630b-4861-b058-cf58834340f0
2009-12-18 12:38:02 +00:00
obm a12cff2d29 This is the first part in my effort to merge TDDFPT with QE more tightly. I have eleminated disambigious
subroutines which basically do the same with only slight modifications. However, this requires some technical
touches to PWSCF. I am trying to keep this organic and minimal-impact since QE still lacks a SDE.
I will be adding the changes gradually as the tests complete.

In this part I add rho as a explictly read variable in addusdens, since it is used for "response charge densit
y"
not the "ground state density" in TDDFPT code. PWSCF tests show no impact. Please check.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6249 c92efa57-630b-4861-b058-cf58834340f0
2009-12-15 10:51:12 +00:00
dalcorso 8c23c1b256 Small changes: print also the core correction contribution to the forces
when DEBUG is true.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6239 c92efa57-630b-4861-b058-cf58834340f0
2009-12-10 17:10:16 +00:00
giannozz 958655432b The English of the error message just added was less than satisfactory
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6230 c92efa57-630b-4861-b058-cf58834340f0
2009-12-02 14:24:43 +00:00
giannozz 81ea8f002c Added check to prevent usage of iterative diagonalization where it cannot work
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6229 c92efa57-630b-4861-b058-cf58834340f0
2009-12-02 14:13:40 +00:00
giannozz 233a5e336f Printout of information on Gamma tricks was done before gamma_only was set.
Moved after the call to iosys. Maybe it should moved to summary.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6228 c92efa57-630b-4861-b058-cf58834340f0
2009-12-01 20:14:56 +00:00
giannozz 8ca742d1f6 Small bug: invmat should not be called with the same matrix in input and in
output. Nothing nasty happens, but the determinant, which is calculated for
3x3 matrices only, will be incorrect. Not a big deal, since it is never used,
but an input matrix with large coefficients can result in a bogus error message.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6227 c92efa57-630b-4861-b058-cf58834340f0
2009-11-30 09:35:01 +00:00
giannozz abb9182ba8 Variable 'multiplicity' removed from input
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6214 c92efa57-630b-4861-b058-cf58834340f0
2009-11-24 09:10:27 +00:00
giannozz 046f46ac07 Pseudopotential files are opened with action='read', as suggested by Uli
Aschauer, to prevent problems on Lustre filesystem (whatever it is). It
should be harmless on all machines. Maybe it would be a good idea not to
read the same PP file from all processors, though.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6212 c92efa57-630b-4861-b058-cf58834340f0
2009-11-23 20:51:07 +00:00
dalcorso 2d2729762c Missing line in this morning commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6207 c92efa57-630b-4861-b058-cf58834340f0
2009-11-23 13:11:47 +00:00
dalcorso f925d23771 In my opinion this instruction is wrong. print_clock_pw should not
modify the output organization. Otherwise after calling this routine
the images cannot write any more in their output files. Please check.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6202 c92efa57-630b-4861-b058-cf58834340f0
2009-11-23 08:17:39 +00:00
dalcorso f8af43dd70 nproc_image saved on the xml file.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6201 c92efa57-630b-4861-b058-cf58834340f0
2009-11-23 08:12:27 +00:00
giannozz 519cf4daa9 Recently introduced error message for dual>4 case downgraded to warning
except for exact exchange


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6172 c92efa57-630b-4861-b058-cf58834340f0
2009-11-18 15:02:47 +00:00
giannozz f1ce1e4b26 More minor cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6166 c92efa57-630b-4861-b058-cf58834340f0
2009-11-17 13:41:14 +00:00
giannozz bbee9b22aa cp.x no longer compiling: cryst_to_car was missing. Moved from PW/ to flib/
(seems to me a more appropriate place tahn Modules/). Minor cleanup: two
variables, one for CP and one for PW, with the same meaning and equally
misleading names (atomic_positions and tau_units) merged into one with
a more descriptive name (tau_format)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6165 c92efa57-630b-4861-b058-cf58834340f0
2009-11-17 13:08:14 +00:00
dalcorso a48e05caed In the case lkpoint_dir=.false. the eigenvalues are written on a file
separated from data-file.xml. This speedup the random searches inside this
file when there are many k points.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6163 c92efa57-630b-4861-b058-cf58834340f0
2009-11-17 11:37:54 +00:00
sclauzer d20c2d0bea Moving initialization subroutine to a separate file, since it needs to be
called from read_file (besides from setup). GS


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6162 c92efa57-630b-4861-b058-cf58834340f0
2009-11-17 11:07:56 +00:00