Commit Graph

564 Commits

Author SHA1 Message Date
giannozz 6c40185885 - outdir is set by default to the value of the $ESPRESSO_TMPDIR
environment variable, or to './' (as before) if this is not set
- pseudo_dir is set by default to the value of $ESPRESSO_PSEDIR,
  to $HOME/espresso/pseudo/ otherwise
- documentation updated to reflect the new defaults
Note that the 'capture' of $HOME/pw/pseudo using a call to 'getenv'
was already present in pwscf but it was not working (pseudo_dir was
overwritten) so nothing susceptible to create new problems was added.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3309 c92efa57-630b-4861-b058-cf58834340f0
2006-08-08 18:05:16 +00:00
cavazzon b89b7b3261 - workaround (intel-9+mpich-1.2.6..14a):
mp_sum (MPI_ALLREDUCE) fails with 0 sized array
  ( but F90 allows array to have a size of 0! )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3307 c92efa57-630b-4861-b058-cf58834340f0
2006-08-04 12:06:06 +00:00
cavazzon 886cd3aad0 - undeclared variable, not reported by pgi compiler (xlf found it)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3306 c92efa57-630b-4861-b058-cf58834340f0
2006-08-03 17:52:34 +00:00
cavazzon 2f2b88494a - same eletronic occupations array between FPMD/CPV
- lot of subroutines taken out from modules and
   corresponding interface added


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3305 c92efa57-630b-4861-b058-cf58834340f0
2006-08-03 17:47:35 +00:00
cavazzon 33b1210c2a - new file cp_interfaces.f90 containing the interfaces
to subroutines that will be taken out from the modules.
  This will eliminate dependencies and speed-up the compilation

  TO DEVELOPERS: to take out subroutines from modules
                 follow the example used for bessel2 and bessel3
                 (bessel.f90 file)

- subroutine bessel1 removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3299 c92efa57-630b-4861-b058-cf58834340f0
2006-07-28 10:43:10 +00:00
giannozz 737ce089cf More spherical bessel cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3297 c92efa57-630b-4861-b058-cf58834340f0
2006-07-27 17:06:26 +00:00
cavazzon 0ca19ee41e - adding fix for dual /= 4 in fpmd run
- cleanups in vofrho and stress


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3294 c92efa57-630b-4861-b058-cf58834340f0
2006-07-27 13:03:52 +00:00
cavazzon 7be6ff9a34 - bug fix, in blue gene code section. Thanks to C.Bekas
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3284 c92efa57-630b-4861-b058-cf58834340f0
2006-07-26 12:19:55 +00:00
cavazzon f55fb94c17 - fix for BGL machine, thanks to Costas Bekas
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3279 c92efa57-630b-4861-b058-cf58834340f0
2006-07-19 11:09:04 +00:00
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