Commit Graph

77 Commits

Author SHA1 Message Date
cavazzon 59b4f60f8b - FPMD/CP variable "nbnd" and "nelec" are computed automatically if
not specified in the input, like in PW
- FPMD/CP directory for restart file now could be specified with
  the input parameter "scradir" in the control namelist
- FPMD: NEB is working again!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2051 c92efa57-630b-4861-b058-cf58834340f0
2005-07-27 16:09:03 +00:00
sbraccia ba2edda164 Cleanup of unused variables.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2033 c92efa57-630b-4861-b058-cf58834340f0
2005-07-18 02:56:45 +00:00
sbraccia d92755e936 Greneral cleanup. NEB works again also with the CP code.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2032 c92efa57-630b-4861-b058-cf58834340f0
2005-07-18 01:16:41 +00:00
kkudin d51341fefb Set electronic kinetic energy for CG to 0
Convert electron_dynamics='cg' to tcg=.true. in CP code
In principle, input variable 'tcg' should be removed at some point
Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2026 c92efa57-630b-4861-b058-cf58834340f0
2005-07-15 01:52:50 +00:00
sbraccia 601e5ef13f Cleanup. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2002 c92efa57-630b-4861-b058-cf58834340f0
2005-07-08 02:56:05 +00:00
kkudin 930619e2b2 by Kostya
This patch adds "massive" Nose-Hoover chains for ions (i.e. each ion
can have a separate NH chain attached to it)
Some fixes are still needed in different places:
-the information on the number of NH chains [nhpdim] needs to be
saved and read from the restart file (not done now)
-the NH velocities also need to be all saved [nhpdim*nhpcl]
-an input option needs to be added to zero out the NH velocities during
a restart in order to permit "on the fly" thermostat changes
-deallocation of the module variables gives glibc error with IFC 8.0 & 8.1 in
cpr.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1998 c92efa57-630b-4861-b058-cf58834340f0
2005-07-05 21:02:48 +00:00
cavazzon b5fa8ee14b - cell_base, added support for cell input units, ex: CELL_PARAMETERS (angstrom)
- core charge, same module between CPV and FPMD
- Makefile: added dependency between "mods" and "libiotk"
- Makefile: fix for dependencies in PH and Gamma when __NEWPUNCH is defined


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1995 c92efa57-630b-4861-b058-cf58834340f0
2005-07-04 10:34:44 +00:00
sbraccia eaa2293534 Added a card for plotting wannier functions (and related stuff).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1991 c92efa57-630b-4861-b058-cf58834340f0
2005-07-01 20:39:45 +00:00
sbraccia 2d5fa8a23e Added a namelist for cp-dynamics with wannier functions (and related stuff).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1990 c92efa57-630b-4861-b058-cf58834340f0
2005-07-01 14:26:10 +00:00
sbraccia 504a2945a1 Fixed some bugs in the implementation of SHAKE. MD in PWscf is performed with standard Verlet
algorithm to have a single implementation of SHAKE (velocity Verlet uses RATTLE).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1979 c92efa57-630b-4861-b058-cf58834340f0
2005-06-27 20:21:19 +00:00
cavazzon e1097e16e2 - in CP/FPMD added the possibility to specify input with
command line parameter -input like in PW
- restart file layout modified


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1945 c92efa57-630b-4861-b058-cf58834340f0
2005-06-08 21:30:34 +00:00
cavazzon d3aabc5972 - pseudopotential base modules uspp_param and uspp now used
also in FPMD, for norm-conserving pseudo (like in CP)
- Few clean-ups in pseudopotential parameters initialization


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1880 c92efa57-630b-4861-b058-cf58834340f0
2005-05-18 21:01:05 +00:00
ballabio cc9d7d7b52 end subroutine --> end subroutine name [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1871 c92efa57-630b-4861-b058-cf58834340f0
2005-05-18 08:49:38 +00:00
sbraccia a00aac0e25 header containing the GPL license added where missing and made omogeneous.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1865 c92efa57-630b-4861-b058-cf58834340f0
2005-05-16 19:19:04 +00:00
cavazzon 06b27d95f6 - ylmr2 (from flib) nown used to compute spherical harmonics in FPMD and
qqberry too.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1851 c92efa57-630b-4861-b058-cf58834340f0
2005-05-08 21:10:20 +00:00
sbraccia de4829b85a Fixed some bugs in the constrained dynamics. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1846 c92efa57-630b-4861-b058-cf58834340f0
2005-05-03 22:53:55 +00:00
sbraccia 126086cdc9 Added the possibility of enforcing constraints on the ionic coordination (still exeperimental).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1845 c92efa57-630b-4861-b058-cf58834340f0
2005-05-02 23:14:06 +00:00
cavazzon 54b83781e9 - clean-ups, removed old FPMD constraints, and old FPMD formf
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1843 c92efa57-630b-4861-b058-cf58834340f0
2005-05-01 20:53:24 +00:00
sbraccia 868a421d64 New SHAKE module implemented also in FPMD. The three codes (PW,CP,FPMD) now use the same
algorithms for constrained dynamics. C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1842 c92efa57-630b-4861-b058-cf58834340f0
2005-04-30 20:41:48 +00:00
sbraccia d3ee389928 Added the possibility of performing constrained dynamics in the cp code. Constraints on planar angles are implemented in
both pwscf and cp. Both the constraints can be set in the input, with the option of specifying the target.
The electronic step of the cp dynamics has been moved from cpr.f90 to the new subroutine move_electrons.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1837 c92efa57-630b-4861-b058-cf58834340f0
2005-04-28 23:30:51 +00:00
cavazzon 193516156e - clean-ups, comments and merging
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1829 c92efa57-630b-4861-b058-cf58834340f0
2005-04-22 15:23:19 +00:00
cavazzon 0219a46b4c - CP clean-ups: eigr, ei1, ei2, ei3, eigrb, ... arrays
now have the same layout (equal to the layout they have in PW)
- iotk files in Modules have been removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1801 c92efa57-630b-4861-b058-cf58834340f0
2005-04-14 21:08:53 +00:00
cavazzon 8bf1d7a48f - more CP/FPMD merging, clean-ups.
- Standard output hopfully made more clear and common between CP/FPMD
 - common CP/FPMD initialization
 - fix for nat checking in cploop


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1775 c92efa57-630b-4861-b058-cf58834340f0
2005-03-30 18:08:01 +00:00
cavazzon b8a7f0bd86 - FPMD/CP90 ionic and electronic nose' thermostat merged
- clean-up


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1763 c92efa57-630b-4861-b058-cf58834340f0
2005-03-26 15:29:07 +00:00
cavazzon bd437a16d3 - Nose' chain from K.Kudin added to CVS
TO BE CHECKED!!
- iotk_multitype_integer splitted into two files to
  workaround compiler problem (IBM xlf) with small simbol stack
- new module with SIC variables


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1712 c92efa57-630b-4861-b058-cf58834340f0
2005-03-15 14:35:47 +00:00
cavazzon 5c76ffedc4 - some variables appeared in "use" statement two time
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1707 c92efa57-630b-4861-b058-cf58834340f0
2005-03-14 16:15:10 +00:00
cavazzon 878a9ebece - more cpv/fpmd merging
- FFT grid (nr1,nr2,nr3 nr1s,nr2s,nr3s) now can be specified in the
  input


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1671 c92efa57-630b-4861-b058-cf58834340f0
2005-03-02 10:03:55 +00:00
cavazzon 2047ff6986 - more CP90/FPMD merging
- fix in the FPMD xc functionals wrapper


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1575 c92efa57-630b-4861-b058-cf58834340f0
2005-01-26 10:15:04 +00:00
cavazzon 2efa68d315 - workarounds for xlf compiler
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1562 c92efa57-630b-4861-b058-cf58834340f0
2005-01-15 20:07:08 +00:00
cavazzon 1733abe068 - more CP90/FPMD merging: fft high level driver, iosys, exchange-correlation
- some subroutine shortened and simplyfied to make compilation easy


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1559 c92efa57-630b-4861-b058-cf58834340f0
2005-01-15 10:53:46 +00:00
cavazzon e32ce9b074 - common xc and gga functionals subroutines for all code PW/CP/FPMD
- Few more functionals has been added to file more_functionals.f90
  since in PW BLYP/LSDA were not implemented .
  In the same file, temporary, are stored old CP90 subroutines
  for testing purpose ( in CP functionals were vectorized!! ).
  The small program PP/xctest.f90 can be used to make a comparative
  test between new and old routines, in case someone suspect a problem
  there.
- buon anno!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1533 c92efa57-630b-4861-b058-cf58834340f0
2004-12-31 11:14:32 +00:00
cavazzon 56322ee7d7 - added ensemble dft
- added ensemble dft / conjugate gradient / electric field
  from Paolo Umari / Marzari code
- NOT YET TESTED!!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1524 c92efa57-630b-4861-b058-cf58834340f0
2004-12-21 15:48:19 +00:00
cavazzon 804ac1fdcf - CP/FPMD merging and clean-up
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1486 c92efa57-630b-4861-b058-cf58834340f0
2004-11-28 22:11:41 +00:00
cavazzon 8fce6bd495 - more CP/FPMD merging
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1485 c92efa57-630b-4861-b058-cf58834340f0
2004-11-26 19:22:35 +00:00
cavazzon 1b6d4786c3 - more CP/FPMD merging
- CP/FPMD specific modules moved back from Modules to CPV


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1482 c92efa57-630b-4861-b058-cf58834340f0
2004-11-26 10:12:26 +00:00
cavazzon 87700b86cc - some more changes relative to FPMD files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1481 c92efa57-630b-4861-b058-cf58834340f0
2004-11-25 15:43:24 +00:00
cavazzon 89ab8f3e55 - FPMD files added to CPV directory
- FPMD directory is no more needed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1479 c92efa57-630b-4861-b058-cf58834340f0
2004-11-25 14:51:47 +00:00
cavazzon 95be051359 - sph_bes.f90 fix for parallel compilation
- input.f90 workaround for xlf internal compiler error


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1470 c92efa57-630b-4861-b058-cf58834340f0
2004-11-24 12:01:21 +00:00
cavazzon 3b22ff0108 - FPMD/CP more merging
- new module for merged FPMD/CP restart subroutines
- starting work on XML restart/punch  (cp_restart.f90)
carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1443 c92efa57-630b-4861-b058-cf58834340f0
2004-11-15 12:13:22 +00:00
cavazzon 242e9454bf - more merging CP/FPMD
- cleanups


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1412 c92efa57-630b-4861-b058-cf58834340f0
2004-11-01 16:43:29 +00:00
giannozz 1648ab6bf2 Patches from Axel Kohlmayer:
- iotk_scan in iotk_module had a mixed up 'intent' statement.
- sun ultra fire 3 compiler warnings
- cleanup in filename length (brought to 256)
- cleanup in include files


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1399 c92efa57-630b-4861-b058-cf58834340f0
2004-10-26 09:32:48 +00:00
cavazzon 1b938fa669 - work on FPMD for the merging with CP ( grid dimension )
- bug fix ( ion randomization )
- SIC updated
carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1378 c92efa57-630b-4861-b058-cf58834340f0
2004-10-14 08:38:05 +00:00
giannozz 7ba66508fe Misc. Alpha compilation errors and warning (courtesy of G. Cantele)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1333 c92efa57-630b-4861-b058-cf58834340f0
2004-09-23 14:11:33 +00:00
cavazzon 5e5b2e6139 - same cell dynamics subroutines used in CP and FPMD
- input pressure in GPa ( both code )
- Output stress in GPa ( both code )
- Output layout made more similar:
  energies, positions, forces, cell
  displayed in the same way
- Zero velocities after a restart implemented in CP
- Nose and damped dynamics for cell implemented
  in FPMD like in CP
carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1260 c92efa57-630b-4861-b058-cf58834340f0
2004-09-13 08:49:06 +00:00
cavazzon 1be2feeb88 - more mergings between CP and FPMD
- initialization (both code uses the same ggen)
- now FPMD initializes the small-boxes too (required for untrasoft pseudo)
- print out


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1186 c92efa57-630b-4861-b058-cf58834340f0
2004-08-27 10:20:42 +00:00
cavazzon a33e6379ee - inputs for string dynamics merged to CP input
- very preliminary sort of manual for FPMD/CP codes


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1094 c92efa57-630b-4861-b058-cf58834340f0
2004-07-23 12:29:51 +00:00
cavazzon 9102734252 - some elimination of duplicated code
- new subroutines for CP with Wannier Functions
  as implemented by Manu Sharma
  (not yet tested)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1047 c92efa57-630b-4861-b058-cf58834340f0
2004-07-06 15:21:25 +00:00
giannozz d6eb4a7f14 mpif.h => parallel_include
tabulatorsi removed, indentation etc


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1025 c92efa57-630b-4861-b058-cf58834340f0
2004-06-30 08:49:41 +00:00
cavazzon 50a493218b - fix io_base bug with array tetra
- added to CPV the string dynimics as implemented
  by Yosuke (not fully tested yet)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1024 c92efa57-630b-4861-b058-cf58834340f0
2004-06-29 18:12:51 +00:00
giannozz 598adf557a More USPP_related variables moved to Modules/uspp.f90
Note that nhx => nhm for consistency with other names
(those ending in x are static dimensioning)
Parameter ipp no longer needed: PP name convention as in PWscf (PG)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@932 c92efa57-630b-4861-b058-cf58834340f0
2004-05-31 17:52:55 +00:00