Commit Graph

555 Commits

Author SHA1 Message Date
cavazzon 83ff2cfefb - bug fix, gradient correction contribution to stress in fpmd .
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3278 c92efa57-630b-4861-b058-cf58834340f0
2006-07-18 15:42:00 +00:00
cavazzon 7ee6daf54c - bug fix, call to memstat with a constant argument instead of a
pointer.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3277 c92efa57-630b-4861-b058-cf58834340f0
2006-07-18 10:33:02 +00:00
cavazzon ca1f797f81 - bug fix, wave initialization with force pairing
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3276 c92efa57-630b-4861-b058-cf58834340f0
2006-07-17 14:10:42 +00:00
cavazzon b14a22be88 - bug fix, argument with wrong dimension, found by xlf90.
The error was not found by pgf90.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3275 c92efa57-630b-4861-b058-cf58834340f0
2006-07-17 10:16:30 +00:00
cavazzon 430daca75c - removed the spin dimension from wave function in fpmd routines.
Now wave functions array have only 2 indices everywhere, the first
  for the plane waves, and the second for the electronic states.
  When a spin calculation is performed the "spin up" states
  are stored in the first "nupdwn(1)" columns of the wave functions
  array, and the "spin down" states are stored in the second "nupdwn(2)"
  columns of the same array.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3274 c92efa57-630b-4861-b058-cf58834340f0
2006-07-17 09:15:34 +00:00
cavazzon e220e33bd3 - Updates to data-file generated by CP to make it compatible with PW.
CP can now restart from PW , and PW (at gamma) can restart from CP.
  In CP the following control keyword should be specified:
    disk_io = 'high'
  to save the charge density
  In PW the following control keyword should be specified:
    restart_mode='restart',
    wf_collect = .true.
  to save wfc

- an example will follow


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3270 c92efa57-630b-4861-b058-cf58834340f0
2006-07-11 16:32:39 +00:00
cavazzon 05413bcd09 - fix: syntax error
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3262 c92efa57-630b-4861-b058-cf58834340f0
2006-07-10 16:57:11 +00:00
cavazzon 5fe9caf270 - cleanup + commets
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3261 c92efa57-630b-4861-b058-cf58834340f0
2006-07-10 15:58:46 +00:00
cavazzon fed0a099ec - added flag for ascii/binary file to cppp
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3259 c92efa57-630b-4861-b058-cf58834340f0
2006-07-10 15:11:33 +00:00
cavazzon 8e763f9676 - bug fix, "kkbeta" mistakenly used in place of "mesh" in non local
core correction integrals.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3231 c92efa57-630b-4861-b058-cf58834340f0
2006-06-30 10:21:18 +00:00
kkudin a914e9ea61 Added a new thermostat type (nhptyp=3) with a control array 'nhgrp',
allowing fine control over how thermostats are assigned to atoms
 Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3226 c92efa57-630b-4861-b058-cf58834340f0
2006-06-29 22:43:58 +00:00
giannozz 45f996fae6 Workaround for error with Pathscale compiler
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3222 c92efa57-630b-4861-b058-cf58834340f0
2006-06-29 11:59:01 +00:00
cavazzon 586a3a10fc - clean-ups
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3221 c92efa57-630b-4861-b058-cf58834340f0
2006-06-29 11:06:09 +00:00
cavazzon 65626da273 - clean-ups
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3208 c92efa57-630b-4861-b058-cf58834340f0
2006-06-26 07:51:38 +00:00
sbraccia eac4123a5b Added to CP the possibility to remove the total torque acting on the system
(useful to simulate an isolated system). Documentation updated. C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3205 c92efa57-630b-4861-b058-cf58834340f0
2006-06-25 23:15:20 +00:00
giannozz 65a7670b85 Minor cleanup of unused variables and of constants
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3202 c92efa57-630b-4861-b058-cf58834340f0
2006-06-23 13:46:13 +00:00
giannozz 9d6dbd8959 Missing deallocation was causing errors
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3200 c92efa57-630b-4861-b058-cf58834340f0
2006-06-23 09:29:12 +00:00
cavazzon c7898d6453 - empty states calculation implemented also for CP
- some more merging
- some dependency removed
- clean-ups


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3190 c92efa57-630b-4861-b058-cf58834340f0
2006-06-22 10:05:15 +00:00
giannozz c7f3d7ed2b Some cleanup of unit conversion variables (more to come):
scmass => amu_au , au => autoev


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3183 c92efa57-630b-4861-b058-cf58834340f0
2006-06-16 10:10:53 +00:00
kkudin 42cd902b4e Fix another nprint_nfi related bug, related to the I/O and MPI stuff.
Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3162 c92efa57-630b-4861-b058-cf58834340f0
2006-06-06 21:39:51 +00:00
kkudin 05ad0af71a Fixed a bug, CP should not print trajectory information into files just becauseit is the last step.
Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3161 c92efa57-630b-4861-b058-cf58834340f0
2006-06-06 21:11:31 +00:00
kkudin 279497445b Add nprint_nfi controls, I forgot to commit this file last time.
Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3159 c92efa57-630b-4861-b058-cf58834340f0
2006-06-06 20:41:34 +00:00
sbraccia ed1ee9644e Fixed a bug in constrained MD arising from the fact that in CP positions are
sorted by specie.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3157 c92efa57-630b-4861-b058-cf58834340f0
2006-06-06 16:11:35 +00:00
cavazzon f44cd08e1b - cleanups of unused features/source lines/modules
- blue gene fix (suggested by C. Bekas)
- CP postprocessing documentation
- small changes to restart file to allow CP restart from
  PW run (at gamma).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3149 c92efa57-630b-4861-b058-cf58834340f0
2006-06-01 10:51:33 +00:00
giannozz baeea316cf Incorrect calls to "errore" fixed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3143 c92efa57-630b-4861-b058-cf58834340f0
2006-05-29 09:18:43 +00:00
giannozz 3ee41c0115 Various fixes for compilation on Alphas (courtesy of Giovanni Cantele)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3129 c92efa57-630b-4861-b058-cf58834340f0
2006-05-18 16:09:47 +00:00
kkudin 98fdccd92f Converted "local" variables with uncertain dimensions into allocatable. Please
try to do such a conversion whenever you see such cases since they often cause
bizzare problems that are hard to pinpoint.
 Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3127 c92efa57-630b-4861-b058-cf58834340f0
2006-05-17 22:13:40 +00:00
sbraccia 32728ba4a5 Fixed some bugs in finite-temperature meta-dynamics. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3112 c92efa57-630b-4861-b058-cf58834340f0
2006-05-10 18:17:56 +00:00
cavazzon 7f179aeefb - Bug fix, computation of empty states with FPMD
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3108 c92efa57-630b-4861-b058-cf58834340f0
2006-05-09 11:28:40 +00:00
giannozz 9bf6f54875 the file containing compilation date is cpver.h, not version.h
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3107 c92efa57-630b-4861-b058-cf58834340f0
2006-05-09 07:42:47 +00:00
cavazzon de6ed09065 - error added when dual /= 4 is specified in FPMD
- to avoid possible hang when print_clock('fftb') is called
  added a dummy call to start_clock and stop_clock to all proc.
  in parallel case.
- default nomore for system relaxation increased in NEB calculation.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3097 c92efa57-630b-4861-b058-cf58834340f0
2006-05-08 11:16:41 +00:00
umari d05cd3ed98 etresh substituted by conv_thr
P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3084 c92efa57-630b-4861-b058-cf58834340f0
2006-05-05 14:01:22 +00:00
giannozz 308f8ac999 Incorrect limit for x -> 0 in the calculation of derivatives of spherical
harmonics could lead to loss of precision in stress calculation (noticed
by Kostya)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3083 c92efa57-630b-4861-b058-cf58834340f0
2006-05-05 12:23:15 +00:00
cavazzon 640af0ba30 - conforming other subroutines to new charge density files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3073 c92efa57-630b-4861-b058-cf58834340f0
2006-05-03 23:24:31 +00:00
kkudin e0a7c6f12f Added some missing stuff in the BGL branch. Added a flag TRUE_BGL
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3071 c92efa57-630b-4861-b058-cf58834340f0
2006-05-03 19:59:34 +00:00
cavazzon c021112ee3 - Cray XD1 workaround for large communication
- BGL porting of CP almost complete. New command
  line argument "-ntask_groups" to specify the
  number of task group used in parallelization.
  to generate an executable with BGL extensions,
  in the file make.sys the macro __BGL should
  be specified.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3069 c92efa57-630b-4861-b058-cf58834340f0
2006-05-03 14:19:57 +00:00
giannozz 75d45a1c6f - CP: cleanup of dipole printout
- PW: do not try to remove the entire prefix.save directory, it doesn't work
  for many compilers. Remove the prefix.save/data-file.xml file instead when
  starting a calculation from_scratch to prevent restarting from inconsistent
  data. Notice that the original content of the prefix.save directory is
  destroyed (except for the charge density) in the case of a non-scf or band
  calculation as well.
- PW+CP : write rho in binary format; in the LSDA case write rhoup+rhodw in
  one file and rhoup-rhodw in 'polarization' file (or should it be called
  'magnetization' like in the noncolinear case?). Beware: you cannot read
  LSDA files produced by early versions.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3065 c92efa57-630b-4861-b058-cf58834340f0
2006-05-02 16:52:37 +00:00
sbraccia c6d1a11311 Added a specific card to set the collective variables used in meta-dynamics.
This allowes for the possibility of setting constraints that are not collective
variables. Example and documentation updated.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3059 c92efa57-630b-4861-b058-cf58834340f0
2006-05-01 01:07:57 +00:00
cavazzon e96397c3db - wrong indexes for lambda, mistake of the previous commit
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3058 c92efa57-630b-4861-b058-cf58834340f0
2006-04-28 16:27:55 +00:00
cavazzon 875f60bacb - bug fix: stress with nlcc
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3057 c92efa57-630b-4861-b058-cf58834340f0
2006-04-28 15:56:19 +00:00
sbraccia 319a947e46 Added a missing #ifdef __PARA. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3056 c92efa57-630b-4861-b058-cf58834340f0
2006-04-27 21:25:31 +00:00
cavazzon 948471052a - polarization is now written again to file prefix.pol
- cp stress: local and hartree term computed only
  for the 6 independent component (instead of all 9 components)
- more BGL porting


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3053 c92efa57-630b-4861-b058-cf58834340f0
2006-04-27 15:50:46 +00:00
giannozz aae190c672 - write to out.N disabled (can be re-enabled by changing environment.f90)
- cleanup in stress: sph_bes is the only routine calculating j_l(x) .
  It wasn't properly called in previous versions for meshes starting
  at r=0 (output was one index off). Now it should really work in all
  cases (please test)
- call to bess in qqberry replaced by call to sph_bes (please test)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3048 c92efa57-630b-4861-b058-cf58834340f0
2006-04-27 13:53:56 +00:00
kkudin 8f6755ce5c Tracked down the differences between the stress in the ancient CP and
in the recent CVS. For a small test, the stress for USPPs now agrees
much better with the ancient CP code. All the interested parties
please test.

 For the fix, backported the old CP's "bess" routine, since the logic
for "sph_bes" was the cause of the differences. Please be careful when
making "sph_bes" work for tpre=.true.

 Another puzzle - converged CP energies were identical from the
ancient CP through CP in PWSCF v2.1, but now are slightly different
(same machine, compiler, etc.) The biggest difference is the
exchange-correlation energy. Does anyone know what is the EXACT reason
for this?

 Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3046 c92efa57-630b-4861-b058-cf58834340f0
2006-04-27 02:22:21 +00:00
sbraccia fe00991a30 Added a missing "#ifdef __PARA". C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3035 c92efa57-630b-4861-b058-cf58834340f0
2006-04-21 15:02:12 +00:00
umari 8bc7ccad7a Added support for stress calculation within ensemble DFT, only
for conjugate gradient
Dynamics at constant pressure still to be checked
P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3034 c92efa57-630b-4861-b058-cf58834340f0
2006-04-21 08:23:45 +00:00
sbraccia 463d1d0f03 Cleanup of NEB code. Climbing image implemented also for the string method.
Mariginal improvement of the broyden optimisation algorithm. The reference
output of example17 not yet regenerated.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3033 c92efa57-630b-4861-b058-cf58834340f0
2006-04-21 03:44:20 +00:00
kkudin e1892cacd6 Reduce some communication.
Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3032 c92efa57-630b-4861-b058-cf58834340f0
2006-04-21 00:48:57 +00:00
umari dd75acd333 Added support for stress calculation in CPV with conjugate gradient
The metallic case and dynamics still need to be checked.

P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3030 c92efa57-630b-4861-b058-cf58834340f0
2006-04-20 13:43:18 +00:00
dalcorso 99168cc147 - domag and t_rev written in the punch files.
- temporary (?) fix for the fact that title is not written in the punch file.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3024 c92efa57-630b-4861-b058-cf58834340f0
2006-04-18 13:26:19 +00:00