Commit Graph

95 Commits

Author SHA1 Message Date
ccavazzoni 03d0ae80a4 - starting parallelization over bands
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7357 c92efa57-630b-4861-b058-cf58834340f0
2010-12-28 00:18:50 +00:00
giannozz 0e3dfa4060 ngml => ngl (not actually used in CP, I think)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7232 c92efa57-630b-4861-b058-cf58834340f0
2010-11-19 14:39:00 +00:00
ccavazzoni 00e67046df - Module "ldau" already used in PW, renamed to ldau_cp
in order to avoid problem.
  It would be better to merge the two similar modules,
  and move them into Modules directory.
- Added the possibility to save wave functions as separate
  files (one per task) like in PW.
  This is required by very large simulations were the
  wave functions collect process could take sever minutes.
- Since CP now uses "diropen" and "davcio", CP depends
  from PW, in other words compilation of CP implies
  compilation of PW


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6819 c92efa57-630b-4861-b058-cf58834340f0
2010-06-08 15:18:05 +00:00
ccavazzoni 0fb135c52b - more cleanups of old fpmd stuff
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6193 c92efa57-630b-4861-b058-cf58834340f0
2009-11-22 08:26:59 +00:00
ccavazzoni ff4c58f090 - empty states minimization removed from CP,
it was already disabled since a while.
- Empty states can be computed in a more efficient and accurate way
  using PW at gamma directly from CP snapshot.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6190 c92efa57-630b-4861-b058-cf58834340f0
2009-11-21 17:14:58 +00:00
giannozz 6713dfa674 Internal name of variable outdir in CP is now tmp_dir like in PWscf.
Just a very minor first step towards a cleanup of the current file
and directory mess.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6141 c92efa57-630b-4861-b058-cf58834340f0
2009-11-11 19:10:53 +00:00
giannozz 2c0c6c2248 Removal of f_efs.h, explicit typing of CMPLX, lowercase blas/lapack
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5802 c92efa57-630b-4861-b058-cf58834340f0
2009-08-03 07:29:20 +00:00
cavazzon 0d64cf483b - cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5336 c92efa57-630b-4861-b058-cf58834340f0
2008-12-15 12:01:06 +00:00
cavazzon 3e4873d52b - fix for LDA+U contribution to the forces
- clean-ups in init and restart


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3826 c92efa57-630b-4861-b058-cf58834340f0
2007-02-28 17:54:38 +00:00
cavazzon e255615328 - more merging: now there is only one dforce routine.
- developing: some input parameters damped to file qe_input.xml


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3819 c92efa57-630b-4861-b058-cf58834340f0
2007-02-26 14:48:03 +00:00
giannozz ce10c8550c reduce_io => tksw; unused variable tvlocw removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3808 c92efa57-630b-4861-b058-cf58834340f0
2007-02-22 08:45:23 +00:00
cavazzon dde1f5e1c9 - further parallelization of ortho and distribution of
lambda matrixes on a square mesh PxP of processors.
  The number of processors used in the run not necessarily should be equal
  to a perfect square PxP, the code, in distributing lambda,
  try to use an optimal (for performances) square PxP less or equal than the
  number of procs used.
- the size (Np=PxP) of the processor mesh to be used in distributing lambda
  and ortho, can be suggested using the namelist keyword
  ortho_para = Np
  in the electrons namelist
- the distribution of lambda matrixes is required to save
  memory in run with an high number of bands.
  In a system with 2800 bands, the memory saved is about 200Mbyte
  per proc/core if a sufficient number of proc ( some hundreds )
  is used.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3643 c92efa57-630b-4861-b058-cf58834340f0
2007-01-05 15:32:43 +00:00
giannozz d4da64ec0c More cleanup from Axel:
- workaround for gfortran (it is sort of working)
- single precision constants promoted to double precision
- dfloat-> DBLE
- DIMAG ->AIMAG
- DCMPLX->CMPLX
Note that ALL calls to dfloat, dimag, dcmplx have been added recently,
since I removed all of them no more than a few months ago


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3586 c92efa57-630b-4861-b058-cf58834340f0
2006-12-02 17:58:50 +00:00
giannozz 44c8bc4b7f Autopilot patch from Yonas Abraham
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3445 c92efa57-630b-4861-b058-cf58834340f0
2006-10-09 17:07:23 +00:00
cavazzon 08c786d8a2 - cleanup, module cell_module substituted by cell_base + interfaces
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3439 c92efa57-630b-4861-b058-cf58834340f0
2006-10-06 17:21:32 +00:00
cavazzon a31b50db3e - confusing scradir substituted everywhere with outdir,
that for CP now indicates the directory containing
   all outputs


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3326 c92efa57-630b-4861-b058-cf58834340f0
2006-08-12 12:27:56 +00:00
cavazzon 7601c0b617 - more subroutines taken out from modules
- enhanced restart procedure, with disk_io='high'
  more stuff is saved to restart dir, this is required
  for post-processing and pw.x codes.
- wave functions are read following the iotk link, without
  explicitly open the file, this increases the possibility
  for interoperability and backward compatibility.
- added input parameter saverho (to control the saving of charge density),
  disk_io has a more general meaning
- merging of the subroutine that computes dekin stress component
- atomic wave function occupations factors ( "oc" ) now
  are copied to internal "atom" module.
- various cleanups


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3322 c92efa57-630b-4861-b058-cf58834340f0
2006-08-11 08:29:52 +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 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 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
cavazzon aa6c592052 - lambdas are synchronized every isave steps.
Possible solution of the bad energy conservation
  observed in parallel run on some machine with USPP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3019 c92efa57-630b-4861-b058-cf58834340f0
2006-04-14 10:55:31 +00:00
cavazzon cff1f9680c - static arrays dimensioned with natx removed
- nproc substituted with nproc_image
- mpime substituted with me_image
- roor substituted with root_image
- some clean-ups


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2960 c92efa57-630b-4861-b058-cf58834340f0
2006-03-24 18:51:06 +00:00
cavazzon dd93c6ad14 - group communicator variable substituted with intra_image_comm,
first step needed to parallelize neb over images also for CP.
  Next we need to add the right communicator to all communications
- subroutine reduce substituted everywhere with mp_sum
- mp_sum for array with 4dims added in mp.f90
- workaround for xlf compiler, it has problems compiling file with
  initialization of large array in the definition line,
  see Modules/input_parameters.f90 , initialization moved to
  Modules/read_cards.f90 .


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2946 c92efa57-630b-4861-b058-cf58834340f0
2006-03-23 09:19:43 +00:00
cavazzon f360a61a52 - fft drivers reorganization, elimination of redundant subroutines
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2807 c92efa57-630b-4861-b058-cf58834340f0
2006-02-14 10:23:58 +00:00
cavazzon 3c8bbee2b2 *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2743 c92efa57-630b-4861-b058-cf58834340f0
2006-01-29 16:43:06 +00:00
cavazzon 1a6b00bbb6 - FPMD/CP ortho subroutines merged as much as possible.
- Many ortho auxiliary functions (tauset, rhoset, sigset, calphi, updatc)
  are now in common between FPMD/CP, and moved to module ortho_base.f90
- In FPMD, three index vectors, related to real space like charge and potential
  have been substituted with single index vector like in CP, for compatibility
  and efficiency.
- Bug fix in pwtools/matdyn.f90 a logical variable was used in place of a
  character variable


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2694 c92efa57-630b-4861-b058-cf58834340f0
2006-01-10 14:04:13 +00:00
cavazzon b0a174982d - bug fix: Lapack DSPEV was used even when ESSL were used
- Same gram subroutine both for CP and FPMD subroutines
- simpson_fpmd everywhere substituted with simpson_cp90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2572 c92efa57-630b-4861-b058-cf58834340f0
2005-12-09 11:13:40 +00:00
giannozz 039537519a First batch of alpha compilation problems
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2497 c92efa57-630b-4861-b058-cf58834340f0
2005-11-21 17:30:07 +00:00
cavazzon 6c0386e76b - few more useful print out for CP/FPMD
partial temperatures and mean square displacement


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2452 c92efa57-630b-4861-b058-cf58834340f0
2005-11-09 17:57:05 +00:00
cavazzon 7065fe2757 - writing and reading restart file is now notified on standard output
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2431 c92efa57-630b-4861-b058-cf58834340f0
2005-11-07 17:31:41 +00:00
sbraccia ba4d2bef4b Several bug-fix and clean-up.
NEB: removed unused variables; removed allocatable input arrays from input_parameters (to be
consistent with the rest of the input stuff) and replaced by static arrays.
XML: unit 99 used to read/write wfc's replaced by a call to iotk_free_unit.
constraints: the static array "fion" is passed as an array-section to constraint subroutines.
metadyn: fe_step must be defined as an array of "time-steps" (one for each deg-of-freedom).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2322 c92efa57-630b-4861-b058-cf58834340f0
2005-10-20 15:22:12 +00:00
kkudin 7cb1a59cc8 Fixed the "massive" Nose-Hoover chains' restart information, now the number
of chains is saved as well. The XML file got an extra variable.
 Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2301 c92efa57-630b-4861-b058-cf58834340f0
2005-10-18 00:32:50 +00:00
giannozz f533b052d5 dbl => DP (defined as previously dbl was)
syntax for declarations: real(DP), without "kind="


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2135 c92efa57-630b-4861-b058-cf58834340f0
2005-08-28 14:09:42 +00:00
cavazzon 08a4556d85 - added a subroutine to write the charge density in XML plane by plane
- minor fixes to PW/pw_restart
- Added the possibility to restart using CP from a PW run (at gamma),
  working but still sperimental.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2131 c92efa57-630b-4861-b058-cf58834340f0
2005-08-26 09:28:33 +00:00
targacept 9f487bd7ad Adding Autopilot Feature Suite
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2122 c92efa57-630b-4861-b058-cf58834340f0
2005-08-24 14:23:09 +00:00
sbraccia dcc1e4ce7e Some buf fix for the implementation of NEB in the CP code.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2121 c92efa57-630b-4861-b058-cf58834340f0
2005-08-24 13:17:28 +00:00
cavazzon 260828432d - FPMD: pseudopotential variable wsg, wnl, fnl substituted with
dion, beta, bec everyware.
- subroutines formfn, compute_beta, nlsm1, nlsm2, ecc ... now are common
  between FPMD and CPV, a lot of clean ups!
- Changes in stdout: relevant physical quantities ( positions velocities an cell )
  are now printed with the seme format of the corresponding input card,
  like in PW, as was suggested by SdG.
- exemple23 updated to reflect the new input namelist "wannier"
- Subroutine init_run now is used in FPMD too.
- WARNING in the stress computed with CP, for a pseudo with core-corrections,
  a contribution is missing! Not yet fixed, I need to talk with PG for the
  box staff.
- WARNING the examples reference are not updated, I'm on the IBM sp, and
  I prefer to update them from a linux machine.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2110 c92efa57-630b-4861-b058-cf58834340f0
2005-08-22 14:14:13 +00:00
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
cavazzon 9f7df9ee08 - some changes in restart file to add tags of NEWPUNCH
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2010 c92efa57-630b-4861-b058-cf58834340f0
2005-07-10 19:58:06 +00:00
cavazzon dbf279e1c3 - restart tags now using those suggested by CS
- flags for core cor. (nlcc, nlcc_any) used in FPMD too
- fixed a bug in read_pseudo.f90 ( related to nlcc )
- other merging anc clean-ups


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1971 c92efa57-630b-4861-b058-cf58834340f0
2005-06-22 08:28:08 +00:00
ballabio 5996fbf309 more end subroutine --> end subroutine name [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1872 c92efa57-630b-4861-b058-cf58834340f0
2005-05-18 09:10:54 +00:00
ballabio 348adb1cc1 end --> end function [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1868 c92efa57-630b-4861-b058-cf58834340f0
2005-05-17 16:46: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 f98847f085 - subroutines formfn, compute_rhops have been made code independent and used
by both CP and FPMD
- Now FPMD and CP use the same random wave functions initialization,
  which is also independent from the number of processors,
  very useful for debugging.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1836 c92efa57-630b-4861-b058-cf58834340f0
2005-04-28 15:27:41 +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 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 8873f10501 - bug fix in FPMD, xc contribution to the stress and cell dynamics
restart


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1682 c92efa57-630b-4861-b058-cf58834340f0
2005-03-07 14:13:00 +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