Commit Graph

972 Commits

Author SHA1 Message Date
giannozz bbcf3f1195 q2r.f90 split sothat it can be directly called by "matdyn" (Sasha Fonari)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13997 c92efa57-630b-4861-b058-cf58834340f0
2017-11-15 14:15:45 +00:00
giannozz 58185dfee9 DOS with tetrahedra should work again with old XML file; make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13993 c92efa57-630b-4861-b058-cf58834340f0
2017-11-13 15:49:20 +00:00
giannozz 004ab1a9a6 Added note on NEB and wf_collect
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13992 c92efa57-630b-4861-b058-cf58834340f0
2017-11-12 18:05:54 +00:00
giannozz 63e02d8760 Option "-in file" for fermi_proj.x and fermi_velocity.x was not working in
serial execution. Added comment explaining that mp_startup reads the command 
line. Example fermisurfer_example/ was cited in the doc but was missing.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13986 c92efa57-630b-4861-b058-cf58834340f0
2017-11-10 15:05:24 +00:00
giannozz 519ce5d529 Yet another problem with final scf step in a vc-relax calculation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13971 c92efa57-630b-4861-b058-cf58834340f0
2017-10-30 17:07:01 +00:00
giannozz 4747ccf1ee Yet Another Misspelled Name
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13968 c92efa57-630b-4861-b058-cf58834340f0
2017-10-28 13:28:01 +00:00
giannozz 478ef50535 More documentation updates: misspells, acknowledgents, new reference added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13967 c92efa57-630b-4861-b058-cf58834340f0
2017-10-28 13:26:03 +00:00
giannozz ecf9879a1e Dopcumentation update: acknowledgments for DFT-D3, new developments
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13966 c92efa57-630b-4861-b058-cf58834340f0
2017-10-28 13:05:59 +00:00
giannozz 2e4add51e1 More "configure" and user guide cleanup: remove support for obsolete machines
(sparc), OS (solaris), compilers (pathscale plus others that never took off)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13960 c92efa57-630b-4861-b058-cf58834340f0
2017-10-26 16:09:16 +00:00
giannozz c2567c51e8 Small change to configure by Jason to prevent appearence of uneeded "-lfftw3"
Also: AIX deleted from configure and user guide, for good


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13959 c92efa57-630b-4861-b058-cf58834340f0
2017-10-26 14:48:57 +00:00
giannozz 946cf0344a Patch for ARMLIB, courtesy Jason Wood
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13955 c92efa57-630b-4861-b058-cf58834340f0
2017-10-25 16:11:30 +00:00
giannozz 143f145e9f Old xml input file, never really used, deleted. To be replaced by direct
read of the new, schema-based, xml file, currently read via a translator


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13954 c92efa57-630b-4861-b058-cf58834340f0
2017-10-25 15:04:18 +00:00
giannozz bb112e77a8 __OPENMP => _OPENMP (set by all OpenMP-aware compilers)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13951 c92efa57-630b-4861-b058-cf58834340f0
2017-10-25 07:32:10 +00:00
giannozz 36ed849fa7 Problem with phonon "grid" calculation due to change of xml file name;
restore check on allocation of xk_start and wk_start to prevent problems
with phonon; cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13938 c92efa57-630b-4861-b058-cf58834340f0
2017-10-19 16:04:07 +00:00
giannozz 11f993f38d Fix for variable-cell calculations with tetrahedra, courtesy Mitsuaki Kawamura:
"tetra" and "wlsm" should be deallocated only at the end of the calculation.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13932 c92efa57-630b-4861-b058-cf58834340f0
2017-10-18 05:10:15 +00:00
giannozz db2061d1b4 Yet another hour wasted thanks to a misleading comment: previously removed
variable "qnorm" was actually needed to ensure correct allocation (via
allocate_nlpot) of variables used by EXX with USPP and PAW


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13926 c92efa57-630b-4861-b058-cf58834340f0
2017-10-16 20:41:31 +00:00
timrov e8e9e09eec Bugfix in PHonon when a constrained magnetization is used for insulators
(i.e. nspin = 2 and tot_magnetization /= 0). Short explanation follows.
The weight of k+q points is set to zero, therefore the weights wg_up and wg_dw 
(which are computed through the routine iweights) for k+q points are also zero. 
As a consequence, nbnd_occ for k+q points (which were computed based on the 
conditions wg_up>0 or wg_dw>0) are also zero, which in turn leads to wrong results. 
Since we are referring to magnetic insulators, it is more straightforward 
to set nbnd_occ equal to nelup for spin up and to neldw for spin down.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13915 c92efa57-630b-4861-b058-cf58834340f0
2017-10-16 09:04:26 +00:00
giannozz 5b99e2cc15 WIth the new rho(G) file format, the Gamma-only case writes half G-vectors,
the k-point case all G-vectors. Unfortunately this makes the rho(G) from the
former case unreadable by the latter case. A single case is affected, I think:
bands of a system whose scf is done with Gamma.

There is no easy workaround: the only solution is to store always rho(G) with
half G-vectors, Gamma or not Gamma, something that is convenient anyway, but
that may disrupt many pieces of code. For the time being, I just added a check
that yields an error with an understandable explanation of what happened why.

This might be the last change before 6.2 if no other bugs are found in the
next few hours.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13914 c92efa57-630b-4861-b058-cf58834340f0
2017-10-14 17:43:57 +00:00
giannozz 94ad101b01 virtual.x was linking a duplicate obsolete "pseudo" module, leading
to an "unrecognized dft" error (fix provided by Stefano Dal Forno)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13910 c92efa57-630b-4861-b058-cf58834340f0
2017-10-13 16:21:40 +00:00
giannozz 390a0aeacc After all the different number of BFGS iteration in relax2.in test WAS a bug:
for some obscure reason PGI produces the wrong number in a rather complex but
perfectly legitimate mathematical expression. Maybe the last one?


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13893 c92efa57-630b-4861-b058-cf58834340f0
2017-10-03 20:59:12 +00:00
giannozz 008fd822aa Minor documtation update
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13888 c92efa57-630b-4861-b058-cf58834340f0
2017-10-01 13:04:37 +00:00
giannozz eb25b063cb Reference to QE paper moved to a single file
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13884 c92efa57-630b-4861-b058-cf58834340f0
2017-09-28 12:14:17 +00:00
kokalj 8dd8110431 documenting data-file.xml DFT-D tags C6 and RADIUS_VDW used to store custom london_c6(:) and london_rvdw(:) user-specified values
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13877 c92efa57-630b-4861-b058-cf58834340f0
2017-09-27 13:53:08 +00:00
giannozz 2a0fbbf9ed Documentation and make.depend updated, reference to new QE paper added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13858 c92efa57-630b-4861-b058-cf58834340f0
2017-09-26 08:48:54 +00:00
giannozz 00970447e8 Version number moved to 6.2, with caveat that documentation is only
partially up to date


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13852 c92efa57-630b-4861-b058-cf58834340f0
2017-09-24 20:17:34 +00:00
giannozz a0dd31f45d Additions to FFTXlib (Pietro Bonfa): new (working) test subroutine,
scatter with non-blocking communications. Minor documentation update,
a piece of information on ESM bug that had disappear is re-instated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13839 c92efa57-630b-4861-b058-cf58834340f0
2017-09-14 13:24:20 +00:00
giannozz 00ad722fda Unscreened hybrid vdW-DF (JCP 146, 234106 (2017), contributed by Per Hyldgaard
and Jeff Neaton. NOTE: while waiting for better ideas, the LSDA vdW stress with
balanced spin is activated by a precompilation option -D__SPIN_BALANCED


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13836 c92efa57-630b-4861-b058-cf58834340f0
2017-09-10 16:13:16 +00:00
giannozz 84eaa13edd Nasty EXX bug that showed up only under some obscure circumstances with
reduced cutoff ecutfock and k-points. There was also another bug at Gamma 
for nr1x /= nr2x. Some cleanup of the reduced-cutoff machinery.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13833 c92efa57-630b-4861-b058-cf58834340f0
2017-09-07 05:44:28 +00:00
giannozz f958925c8c In variable-cell EXX, G-vectors used in the FFT of 1/|r-r'| (g2_convolution)
should be rescaled as well. Bug found and fixed by Satomichi Nisihara


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13817 c92efa57-630b-4861-b058-cf58834340f0
2017-09-01 14:25:02 +00:00
giannozz 3158fd4c65 DFPT + tetrahedra, bug fixes:
* PHonon/PH/prepare_q.f90
  dfpt_tetra_linit should be initialized here for the multi-q
  computation including Gamma point.
* PP/src/fermisurfer_common.f90
  The routine computing equivalent k-points was incorrect for
  body/face/base-centered lattice with nk1/=nk2/=nk3.
Extensions:
* Electron-phonon + tetrahedra works with q2r.x
* matdyn.f90 computes also \omega_ln
(Mitsuaki Kawamura)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13806 c92efa57-630b-4861-b058-cf58834340f0
2017-08-30 14:42:22 +00:00
giannozz 1c01a80778 Removed annoying debug printout; reminder in Doc/release_notes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13803 c92efa57-630b-4861-b058-cf58834340f0
2017-08-29 17:04:58 +00:00
giannozz 7a9d185b8c Updated printout routine and examples for ESM, by Minoru
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13781 c92efa57-630b-4861-b058-cf58834340f0
2017-08-26 13:55:14 +00:00
giannozz 109bdaeb96 release-notes updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13762 c92efa57-630b-4861-b058-cf58834340f0
2017-08-24 07:00:45 +00:00
giannozz 3ac7eed5cb Since I accidentally deleted data_structure_custom.f90, here is the rest of
the EXX patch, that may or may not work (but cannot be any worse than before).
The problem was in the definition of the reduced FFT grid (cutoff ecutfock)
used by EXX: it must be the same for all pools. Not sure the way it is defined
now it is completely correct, though.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13728 c92efa57-630b-4861-b058-cf58834340f0
2017-08-19 13:06:13 +00:00
giannozz 7d6ef95ee1 __USE_3D_FFT wasn't working for hybrid functionals (it wasn't properly set
in the "custom" FFTs that are used in the calculation of V_x\psi). Cleanup: 
information on whether 3D FFTs are to be used is contained in variable
dfft*%lpara, set in initialization. In my opinion we could set lpara=.false.
always if the FFT is done on a single processor, get rid of __USE_3D_FFT.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13706 c92efa57-630b-4861-b058-cf58834340f0
2017-08-08 08:46:11 +00:00
giannozz 7dbaeca6b4 __USE_3D_FFT should work again (no warranty, please check)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13700 c92efa57-630b-4861-b058-cf58834340f0
2017-08-07 13:06:37 +00:00
giannozz d0394c253a release-notes, make.depend updated (wasn't compiling from scratch)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13666 c92efa57-630b-4861-b058-cf58834340f0
2017-07-31 18:00:58 +00:00
giannozz 322baa015d Re-installed some minor changes to C and timing functions, aimed towards
removal of old-style fortran to C binding and of configure hacks. The
fortran timing functions are now f_tcpu and f_wall, with obvious meaning


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13631 c92efa57-630b-4861-b058-cf58834340f0
2017-07-27 17:26:36 +00:00
spigafi db7c93931d Removed references of stuff I do not maintain or develop anymore.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13615 c92efa57-630b-4861-b058-cf58834340f0
2017-07-22 14:33:19 +00:00
giannozz 93832116a9 Some more minor C-fortran cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13606 c92efa57-630b-4861-b058-cf58834340f0
2017-07-18 17:35:40 +00:00
giannozz 2d49df4bd4 More cleanup with timing routines, see Doc/release-notes for explanations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13603 c92efa57-630b-4861-b058-cf58834340f0
2017-07-15 20:33:50 +00:00
giannozz 9d3cd8474e Home-made definition of C_POINTER, used by FFTW, replaced by standard
iso_c_module types and variables


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13600 c92efa57-630b-4861-b058-cf58834340f0
2017-07-15 14:24:22 +00:00
giannozz 0bc1db1525 Improved memory estimator by Pietro Bonfa'
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13580 c92efa57-630b-4861-b058-cf58834340f0
2017-06-27 16:28:33 +00:00
giannozz 8937b85d80 Examples for magnetic anisootropy with force theorem updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13534 c92efa57-630b-4861-b058-cf58834340f0
2017-05-26 11:16:13 +00:00
giannozz e20148bf55 Miscellaneous cleanup: removal of now, minor corrections. Everything should be
safe but please check.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13531 c92efa57-630b-4861-b058-cf58834340f0
2017-05-25 14:36:54 +00:00
giannozz d4dd677ec9 Cleanup. IMPORTANT NOTICE: the "collected" format is now the default
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13528 c92efa57-630b-4861-b058-cf58834340f0
2017-05-24 20:40:21 +00:00
giannozz f72703eae5 Useful reminder
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13521 c92efa57-630b-4861-b058-cf58834340f0
2017-05-18 20:14:54 +00:00
giannozz 44d31e4709 Module pwcom should not contain references to other modules
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13498 c92efa57-630b-4861-b058-cf58834340f0
2017-05-08 15:26:53 +00:00
giannozz 93d3e72dde Minor documentation update
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13493 c92efa57-630b-4861-b058-cf58834340f0
2017-05-05 20:22:56 +00:00
giannozz bc7be41c07 - Small configure changes proposed by Scot Brosell (Ohio Supercomputer Center)
- configure updated (using v.2.69 of autoconf instead of v.2.63, so many
  differences but little new)
- Small documentation updates


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13490 c92efa57-630b-4861-b058-cf58834340f0
2017-05-04 07:50:58 +00:00