Commit Graph

2413 Commits

Author SHA1 Message Date
nvarini 69097d9908 bug fixed in stres_us
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8808 c92efa57-630b-4861-b058-cf58834340f0
2012-03-21 12:06:56 +00:00
nvarini d8f83e3866 The memory distribution has been implemented in the stress
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8807 c92efa57-630b-4861-b058-cf58834340f0
2012-03-21 11:52:30 +00:00
sbinnie 737267f421 Bugfix, attempt to initialise an unallocated variable in exx.f90
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8806 c92efa57-630b-4861-b058-cf58834340f0
2012-03-20 19:10:17 +00:00
sbinnie da16185ebc Merged espresso-EXX into trunk from r8463 onwards. This introduces the use of Custom fft grids for EXX contributions. This is controlled by the keyword ecutfock. Documentation to follow.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8804 c92efa57-630b-4861-b058-cf58834340f0
2012-03-19 16:37:13 +00:00
giannozz 275c4f5a8c CR-LF removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8793 c92efa57-630b-4861-b058-cf58834340f0
2012-03-17 15:19:06 +00:00
dceresoli beb45678ea Added calbec on a group of bands. It is used in GIPAW with band-parallelization.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8782 c92efa57-630b-4861-b058-cf58834340f0
2012-03-14 13:14:31 +00:00
giannozz 2b4cfa856a More checks for electric fields added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8780 c92efa57-630b-4861-b058-cf58834340f0
2012-03-13 14:44:05 +00:00
giannozz 0b90def00b Minor change: calculation of weights is performed also in 'bands' calculation.
Needed for Berkelwy GW interface. Beware unexpected side effects


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8778 c92efa57-630b-4861-b058-cf58834340f0
2012-03-12 22:14:02 +00:00
giannozz 0969f5253a Fix documentation about electric-field CP< ad check on electroc-fiels PW
(suggested by Gabriele Sclauzero)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8777 c92efa57-630b-4861-b058-cf58834340f0
2012-03-12 21:28:40 +00:00
paulatto 827f6c3738 pwi2xsf converted to free-format (by PG) to prevent compilation problems with some compilers
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8763 c92efa57-630b-4861-b058-cf58834340f0
2012-03-09 09:46:49 +00:00
ccavazzoni 535786381d - bug fix, type definition (__STD_F95)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8758 c92efa57-630b-4861-b058-cf58834340f0
2012-03-08 13:20:12 +00:00
spigafi 6e7f3fef07 More OpenMP.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8754 c92efa57-630b-4861-b058-cf58834340f0
2012-03-05 11:37:55 +00:00
dalcorso c6bdc5588d disk_io='none' does not write the punch files any more.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8753 c92efa57-630b-4861-b058-cf58834340f0
2012-03-03 14:18:26 +00:00
dalcorso c77f6071e4 Small correction.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8752 c92efa57-630b-4861-b058-cf58834340f0
2012-03-03 07:40:13 +00:00
ccavazzoni cbd3088c20 - further becp data distribution (for gamma point calculation)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8733 c92efa57-630b-4861-b058-cf58834340f0
2012-02-26 21:59:38 +00:00
giannozz 17b6d87e1b Added check on nlcc+hybrid functionals
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8721 c92efa57-630b-4861-b058-cf58834340f0
2012-02-23 22:07:43 +00:00
giannozz 06b55bf291 Funny syntax USE :: not accepted, confuses "make depend"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8720 c92efa57-630b-4861-b058-cf58834340f0
2012-02-23 20:44:53 +00:00
ccavazzoni d0eddbe99c becp and related quantities in add_vuspsi and s_psi
have been completely distributed across processors,
for gamma point calculations with scalapack.
This implementation save memory and add some communications.
The distribution of becp is performed whenever 
allocate_bec_type is called with a communicator as an additional argument.
add_vuspsi, calbec and s_psi check for the presence of the
communicator within bec type, and if it is present use
a distributed algorithm to compute related quantities.
Exactly the same strategy could be applied to the k-point
and non-collinear case




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8712 c92efa57-630b-4861-b058-cf58834340f0
2012-02-22 22:34:05 +00:00
marsamos f5dcf7fca7 added comment for last commit. P. Giannozzi
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8710 c92efa57-630b-4861-b058-cf58834340f0
2012-02-22 16:12:21 +00:00
marsamos 3aed073953 change ionode with my_ionode which is root_pool
this is for making read_rho working with bands and pool parallelization.
It is not very sexy, but it seems to work.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8709 c92efa57-630b-4861-b058-cf58834340f0
2012-02-22 15:41:51 +00:00
giannozz 7c7b785364 Coommunicators in mix_pot reverted to previous value; mix_pot is
actually used only in phonon so it can stay there. Makefiles and 
make.depend update


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8706 c92efa57-630b-4861-b058-cf58834340f0
2012-02-22 14:50:25 +00:00
oliviero 617bca4e8f small modification in Environ related stuff
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8703 c92efa57-630b-4861-b058-cf58834340f0
2012-02-21 17:37:47 +00:00
oliviero 4cd5b32ec2 Modified a bit the Environ structure and added a further contribution (correction of slab boundary conditions).
All modifications within #ifdef __ENVIRON #endif statements, no effects on actual code.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8702 c92efa57-630b-4861-b058-cf58834340f0
2012-02-21 16:46:48 +00:00
oliviero 0c7197e26a Moved compute_e_dipole from PW/src/makov_payne.f90 to Modules. The subroutine computes total charge,
dipole moment and quadrupole moment of a charge distribution on the dense real-space grid. 
The subroutine has been modified to accept any kind of density as input. PW/src/makov_payne.f90 modified accordingly. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8701 c92efa57-630b-4861-b058-cf58834340f0
2012-02-21 16:33:59 +00:00
oliviero bb4c908edd Added an user-friendly Environ keyword to specify the kind of environment (environ_type).
By default this keyword is set to "input", but by specifying "water" all the optimized 
parameters will be set automatically during the input processing. Other environ types could 
be added in the future. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8700 c92efa57-630b-4861-b058-cf58834340f0
2012-02-21 15:36:54 +00:00
smogunov 0f42f5f2a2 Small clean: test output was forgotten.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8698 c92efa57-630b-4861-b058-cf58834340f0
2012-02-21 13:03:14 +00:00
giannozz 56b0ca1402 Cleanup of the "divide" routine. I also change the order of arguments
so that input variables come first, output variables last. Minor 
documentatin updates


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8697 c92efa57-630b-4861-b058-cf58834340f0
2012-02-20 15:47:33 +00:00
marsamos cd6fd72715 more intra_pool_comm changed to intra_bgrp_comm in PW
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8695 c92efa57-630b-4861-b058-cf58834340f0
2012-02-20 13:23:06 +00:00
smogunov c200e07553 Full LDA+U scheme (with U, J, and other parameters) is implemented
which should also work with noncollinear magnetism and FR pseudo-potentials.
Old simplified version is kept and runs by default. New implementation 
can be invoked by specifying lda_plus_u_kind = 1 (it is 0 by default). 

  


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8694 c92efa57-630b-4861-b058-cf58834340f0
2012-02-20 11:01:51 +00:00
marsamos bba10af4a5 erased some write(0,*) for test
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8693 c92efa57-630b-4861-b058-cf58834340f0
2012-02-20 09:36:21 +00:00
marsamos 7ffce9cfd6 divide now with argument comm. all calls
have been changed



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8692 c92efa57-630b-4861-b058-cf58834340f0
2012-02-20 09:34:55 +00:00
ccavazzoni f424b4ecd5 - missing variable declaration
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8688 c92efa57-630b-4861-b058-cf58834340f0
2012-02-19 10:45:21 +00:00
ccavazzoni 3dca3e2b81 - replicated, potentially huge, vector "ps" distributed.
For the time being only in case of "gamma" calculation and with __SCALAPACK macro.
  Array "ps" has dimension proportional to nkb * nbnd, and for system with large number of atoms
  (>1000) could become really huge.
  


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8686 c92efa57-630b-4861-b058-cf58834340f0
2012-02-18 20:48:52 +00:00
spigafi 3878febb32 OpenMP improvements for stresses and forces calculations.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8685 c92efa57-630b-4861-b058-cf58834340f0
2012-02-18 14:49:55 +00:00
giannozz d47479f580 More removal of obsolete variables (colvar etc)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8684 c92efa57-630b-4861-b058-cf58834340f0
2012-02-18 14:46:07 +00:00
marsamos f6a1e5e12c changed most of intra_pool_comm with intra_bgrp_comm
and related variables. Example01 working normconsrving
ultrasoft still some differences in pressure.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8678 c92efa57-630b-4861-b058-cf58834340f0
2012-02-17 19:04:14 +00:00
giannozz 9aa69c019b Not sure this is the best plavce where to write this, but at least it is
written somewhere. Not that anybody will read.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8669 c92efa57-630b-4861-b058-cf58834340f0
2012-02-17 09:00:04 +00:00
giannozz 45913d8d17 Clarification on the correct sign of delta_t
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8667 c92efa57-630b-4861-b058-cf58834340f0
2012-02-16 20:42:33 +00:00
sbinnie fa27da6f00 Removed stray EXX preprocessing flag from pw2casino routine.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8666 c92efa57-630b-4861-b058-cf58834340f0
2012-02-16 17:10:23 +00:00
smogunov 4cc344f3ca Bug fix: magtot_nc was not properly collected in parallel case (A. Smogunov).
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8665 c92efa57-630b-4861-b058-cf58834340f0
2012-02-16 16:22:58 +00:00
giannozz 38e798eed7 h_psiq hack: I think it is preferrable to give to igkq the correct value
in the external loop over k-points, rather than passing it as an argument.
Just two lines in TD-DFPT needed. Routine commutator_Hx_psi, used only by
linear-response code, moved to PHonon: no reason to have it in PW


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8659 c92efa57-630b-4861-b058-cf58834340f0
2012-02-15 20:31:07 +00:00
giannozz af20c5cc65 CP can now read PW data in the DFT+U case without crashing. It's a hack
because the way ns occupancies are written to file is very questionable
and should be reconsidered. Cleanup: set_hubbard_l merged and moved to flib/

There are still incompatibilities between PW and CP data (e.g. wfcs 
in LSDA case cannot be read), and there will ever be until all I/O 
routines are completely merged (and not partially as they are now) 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8656 c92efa57-630b-4861-b058-cf58834340f0
2012-02-15 15:32:00 +00:00
oliviero e070fdc000 Global change in name of the solvent-related module, going from Solvent to Environ. All the modifications are still
contained within #ifdef __ENVIRON ... #endif statements, so no effects should be present for normal compilations.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8646 c92efa57-630b-4861-b058-cf58834340f0
2012-02-14 16:18:50 +00:00
oliviero 594c59fb28 removed obsolete solvent related modification
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8644 c92efa57-630b-4861-b058-cf58834340f0
2012-02-14 16:05:33 +00:00
oliviero 851f69e6ec removed solvent related obsolete initialization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8642 c92efa57-630b-4861-b058-cf58834340f0
2012-02-14 14:10:52 +00:00
oliviero 7cd26fbc95 Some features developed for the Solvent module are not available to the general QE.
In particular, in v_of_rho.f90 we included: 
  1) a simple driver to compute the hartree potential in real space from a density in real space (V_H_OF_RHO_R). 
  2) a subroutine to compute the gradient of hartree potential in real space from a spinless density in real space (GRADV_OF_RHO_R).
In gradcorr.f90 we added:
  1) similarly to what is done by GRADIENT, a subroutine to compute the hessian and the gradient of a function in real space, by going through reciprocal space (HESSIAN)
  2) a driver to call GRADIENT from an external module without the need to know anything about reciprocal space.
  3) a similar driver for HESSIAN.  


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8641 c92efa57-630b-4861-b058-cf58834340f0
2012-02-14 14:06:40 +00:00
giannozz eb7acd353c seqopn no longer there
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8640 c92efa57-630b-4861-b058-cf58834340f0
2012-02-14 13:30:09 +00:00
giannozz dc8e987f5a cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8637 c92efa57-630b-4861-b058-cf58834340f0
2012-02-13 20:32:18 +00:00
giannozz ff5808d09e make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8635 c92efa57-630b-4861-b058-cf58834340f0
2012-02-13 20:30:41 +00:00
giannozz 57cc1f013f More user guide and examples updates
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8633 c92efa57-630b-4861-b058-cf58834340f0
2012-02-13 20:28:38 +00:00