Commit Graph

1873 Commits

Author SHA1 Message Date
giannozz 7d6bd3de29 make.depend.updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10594 c92efa57-630b-4861-b058-cf58834340f0
2013-11-08 11:12:17 +00:00
riccardo f0d09c3bfa - rVV10 ported to the main trunk. The corrisponding kernel
table can be generated, energy&potential and stress added
to the main drivers

- funct.f90 modified to accomodate the rVV10 and to clean
up new addition for VDW-DF3 and VDW-DF4 (new GGA-NL combination,
not new NL functionals)

- nspin=1 case added for NL functionals, both for vDW-DF and rVV10
*still to test*



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10591 c92efa57-630b-4861-b058-cf58834340f0
2013-11-08 10:56:58 +00:00
giannozz 7c01062ba0 Final (?) set of changes to the build system, especially for Windows (Axel)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10590 c92efa57-630b-4861-b058-cf58834340f0
2013-11-07 21:06:06 +00:00
giannozz bae816d87f Communicators used by ELPA removed after usage. Gabriele Sclauzero found
this bug in real version, I made the same change in the complex version
as well (without testing!)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10589 c92efa57-630b-4861-b058-cf58834340f0
2013-11-07 14:23:34 +00:00
giannozz 7521d4f2fb Fixed a glitch in the previous commit; names OB86B and OBK88B shortened to
OB86 and OBK8 (must be 4 characters at most)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10585 c92efa57-630b-4861-b058-cf58834340f0
2013-11-06 20:37:09 +00:00
giannozz 3b294825c2 Added new vdw-DF functionals, labelled vdw-DF3 and vdW-DF4, by Klimes et al.
Contributed by Guido Roma. Still untested.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10583 c92efa57-630b-4861-b058-cf58834340f0
2013-11-06 17:46:39 +00:00
giannozz c8078f737a More minor patches from Axel for Windows
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10580 c92efa57-630b-4861-b058-cf58834340f0
2013-11-05 17:09:39 +00:00
giannozz b8ed151b94 Patch from Axel for Windows (mingw) build, plus other minor fixes here and
there, plus more mp_global replaced by specific modules. Xspectra added to
"make all".


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10576 c92efa57-630b-4861-b058-cf58834340f0
2013-11-05 08:32:42 +00:00
giannozz dab27f2c0d More cleanup of mpi modules, plus support for cross-compilation on windows
using the mingw compiler (Axel)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10573 c92efa57-630b-4861-b058-cf58834340f0
2013-11-04 09:58:24 +00:00
giannozz c1f947ba6e make.depend updated + minor format fix
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10568 c92efa57-630b-4861-b058-cf58834340f0
2013-11-03 20:19:48 +00:00
giannozz 3fcc01b467 Variables for task group (actually a single one) moved to where it belongs
(I think): mp_bands.f90 . Many changes but nothing dangerous. Note that 
codes not in svn may be broken by this change, but the fix is very simple


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10567 c92efa57-630b-4861-b058-cf58834340f0
2013-11-03 19:16:37 +00:00
giannozz 95600c8582 More cleanup of parallel modules: mp_global no longer contains references to
variables for the "world" MPI communicator. The latter are to be found in 
world_comm instead. mp_global should be used only to start and to end the
various parallelization levels. Many small but harmless changes: a few 
variables removed or moved to another module in most cases.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10558 c92efa57-630b-4861-b058-cf58834340f0
2013-10-27 09:09:10 +00:00
giannozz 4c269ac75b All references to world_comm removed: all parallelism in QE takes place
inside a single communicator, passed at the very beginning of the calculation


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10550 c92efa57-630b-4861-b058-cf58834340f0
2013-10-23 06:35:17 +00:00
giannozz 002e7b3b03 Minor cleanup of parallel modules: several (but not all) instances of
"use mp_global" replaced by use of specific module


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10547 c92efa57-630b-4861-b058-cf58834340f0
2013-10-22 16:35:17 +00:00
giannozz 51ad80da37 mp_global replaced with more apropriate modules in Modules/
Corrections by Axel to last commit


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10534 c92efa57-630b-4861-b058-cf58834340f0
2013-10-13 13:36:46 +00:00
ccavazzoni eabe5f67fd - commit of the latest Axel patch
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10533 c92efa57-630b-4861-b058-cf58834340f0
2013-10-12 22:28:12 +00:00
ccavazzoni 3667d17bd3 - optional communicator completely removed
- PWCOND was not compiling any more after last branch merging,
  I fix it mapping old to new variables (realus), but I need someone checking it 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10532 c92efa57-630b-4861-b058-cf58834340f0
2013-10-12 21:32:01 +00:00
giannozz a0f5f9b643 Extended length of input file name to 256 character
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10529 c92efa57-630b-4861-b058-cf58834340f0
2013-10-11 10:46:30 +00:00
ccavazzoni 5e6b517715 - more implicit world communicator clean-up
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10528 c92efa57-630b-4861-b058-cf58834340f0
2013-10-10 21:13:41 +00:00
giannozz 4338c04895 Fixes for more warnings (e.g. unitialized variables) by Axel
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10526 c92efa57-630b-4861-b058-cf58834340f0
2013-10-10 14:24:18 +00:00
giannozz 41c8b628f1 Minor fixes by Axel to reduce the number of compiler warnings - harmless but
too many of them may hide serious warnings


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10524 c92efa57-630b-4861-b058-cf58834340f0
2013-10-10 12:46:35 +00:00
ccavazzoni 288ebfcc42 - more implicit world communicator clean-up
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10522 c92efa57-630b-4861-b058-cf58834340f0
2013-10-09 08:17:40 +00:00
giannozz 658331b284 branch espresso-paw-exx merged back into the trunk. Beware all kinds of
unexpected side effects!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10516 c92efa57-630b-4861-b058-cf58834340f0
2013-10-07 15:19:12 +00:00
giannozz 44e7c93042 References to mp_global replaced by references to specific modules for
each parallelization level - should be done elsewhere, mp_global is just
a compatibility layer


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10513 c92efa57-630b-4861-b058-cf58834340f0
2013-10-07 08:10:00 +00:00
ccavazzoni 34781504de - more implicit world communicator clean-up
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10511 c92efa57-630b-4861-b058-cf58834340f0
2013-10-06 19:09:46 +00:00
giannozz 041d970f65 More minor MPI changes by Axel:
- adapt mp_abort() to have a mandatory communicator
- remove the unused err_msg string variable
- fix a compilation issue
- update dependencies



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10501 c92efa57-630b-4861-b058-cf58834340f0
2013-10-01 20:04:21 +00:00
ccavazzoni 8e3c312346 - more implicit communicator clean-up
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10500 c92efa57-630b-4861-b058-cf58834340f0
2013-09-30 11:35:20 +00:00
ccavazzoni b1fabb0fd9 - more clean-up about mp call without communicator
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10498 c92efa57-630b-4861-b058-cf58834340f0
2013-09-28 23:32:46 +00:00
giannozz f705dc33a5 Fixed compilation error without scalapack
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10494 c92efa57-630b-4861-b058-cf58834340f0
2013-09-27 19:47:55 +00:00
ccavazzoni 8be0d2f76b - add explicit communicator in "mp" cals
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10483 c92efa57-630b-4861-b058-cf58834340f0
2013-09-26 20:48:16 +00:00
ccavazzoni 68d56dfcf2 - commit of Axel patches to remove dependencies form mpi_world_comm
and to setup blacs grid accordingly



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10480 c92efa57-630b-4861-b058-cf58834340f0
2013-09-26 15:47:31 +00:00
dalcorso a0e240813d Support for Brillouin zone labels extended to the matdyn.x code.
Phonon example02 updated accordingly.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10477 c92efa57-630b-4861-b058-cf58834340f0
2013-09-24 16:57:26 +00:00
giannozz b76c962d0f Changes to MPI initialization suggested by Axel in order to make gluing with
QMMM easier


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10475 c92efa57-630b-4861-b058-cf58834340f0
2013-09-23 12:57:14 +00:00
giannozz ea106b8a04 More fixes for compilation trouble (Axel), make,depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10473 c92efa57-630b-4861-b058-cf58834340f0
2013-09-23 11:37:08 +00:00
aoterodelaroza d6c8f352ca Implemented XDM in PW. The new xdm_dispersion.f90 file (xdm_module
module) contains the energy_xdm function that is executed after the
SCF cycle. The XDM energy is added on top of the SCF energy, much like
in the DFT-D2 implementation. Forces and stresses are also
computed. 

Three new keywords now available in &system: xdm (logical), xdm_a1
(real) and xdm_a2 (real). Changes have been made accross the code to
make the kinetic energy density available to energy_xdm even if no
meta-gga is being used. The documentation has been updated.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10470 c92efa57-630b-4861-b058-cf58834340f0
2013-09-22 20:36:14 +00:00
dalcorso 4722bfe0eb Added partial support to the use of k points label in the Brillouin zone.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10465 c92efa57-630b-4861-b058-cf58834340f0
2013-09-21 09:34:21 +00:00
giannozz 6d6e8ccaff References, release note and credit for last addition
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10458 c92efa57-630b-4861-b058-cf58834340f0
2013-09-18 19:05:57 +00:00
aoterodelaroza 2a6b38c368 Added PW86 (unrevised, PRB 33, 8800 (1986)) and B86B (JCP 85 (1986)
7184) exchange functionals. 'pw86pbe' and 'b86bpbe' are shorthand for
pw86 exchange + pbe correlation and b86b exchange + pbe
correlation. 



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10454 c92efa57-630b-4861-b058-cf58834340f0
2013-09-17 01:34:16 +00:00
giannozz db3a37a92a Clearer comment
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10453 c92efa57-630b-4861-b058-cf58834340f0
2013-09-16 08:20:10 +00:00
giannozz 0bb7bfe79d Cleanup of reading and initialization of Environ-related variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10430 c92efa57-630b-4861-b058-cf58834340f0
2013-08-09 09:03:44 +00:00
ustcscgyer d8fd331cd6 ion_dynamics=langevin-smc is added to the allow list.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10428 c92efa57-630b-4861-b058-cf58834340f0
2013-08-07 15:16:16 +00:00
giannozz a6a83aff18 Harmonization of Tkachenko-Scheffler VdW correction with existing Grimme
semiempirical correction and with general QE programming style (if any):
* there is a new variable "vdw_corr", in namelist &system (not &control)
  that can have 'TS', 'ts', 'Grimme-D2', etc values. I guess there will
  be soon 2n+1 different van der Waals semiempirical corrections, so it
  is wise to have a single variable for all of them. Related variables
  (options, cutoffs, etc) keep their current names, are read from &system.
* variables read on input are copied to internal variables, as in all
  other cases. It is clumsy and I am starting to doubt it will ever be
  useful, but it has to be done in a consistent way.
Note that this may introduce some incompatibilities, especially for users
of modified CP code. If anybody has better ideas, feel free to propose.
If something doesn't work as expected, please let me know.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10426 c92efa57-630b-4861-b058-cf58834340f0
2013-08-06 15:01:29 +00:00
giannozz a3edf93be9 Obsolete variables for &EE namelist removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10425 c92efa57-630b-4861-b058-cf58834340f0
2013-08-06 13:13:12 +00:00
ccavazzoni 703def40fc - probably armless inconsistency in allocation size fixed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10422 c92efa57-630b-4861-b058-cf58834340f0
2013-08-05 15:40:26 +00:00
ccavazzoni 56816ae662 - BUG Fix: assure that the dimension of the fft buffer are always
consistent with the all to all. In some weird condition,
  like very odd stick distribution, the all to all could have failed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10421 c92efa57-630b-4861-b058-cf58834340f0
2013-08-05 15:34:24 +00:00
giannozz 5701f9cb20 New option for Smart Monte Carlo with Langevin dynamics simplified:
now it is sufficient to specify ion_dynamics='langevin-smc'


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10420 c92efa57-630b-4861-b058-cf58834340f0
2013-08-05 06:14:53 +00:00
giannozz 679a40635f Minor changes to newly introduce SMC method, for compatibility with the rest
of the code:
- input variable if_SMC copied to new variable use_SMC (all input variables
  in module input_variables should be copied to other variables, not used 
  directly)
- call to smart_MC moved from run_pwscf into move_ions (seems to me a more
  appropriate place)
Functionalites are not affected (I hope)



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10418 c92efa57-630b-4861-b058-cf58834340f0
2013-08-01 21:01:39 +00:00
ustcscgyer ff4d2eeff7 Smart Monte Carlo algorithm is added to langevin dynamics.
User can use it by setting "if_SMC=.true." in the ION name card.
Algorithm is described in the reference: R.J.Rossky, JCP, 69, 4628(1978)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10410 c92efa57-630b-4861-b058-cf58834340f0
2013-08-01 12:27:23 +00:00
robdistasio 5d57b11ec3 Added vdW correction of Tkatchenko-Scheffler (PRL, 102, 073005, (2009)) in CP code
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10404 c92efa57-630b-4861-b058-cf58834340f0
2013-07-26 20:34:54 +00:00
giannozz 46aa2945e1 Added file name in error message of davcio, as suggested by David Strubbe
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10400 c92efa57-630b-4861-b058-cf58834340f0
2013-07-24 11:51:10 +00:00