Commit Graph

3841 Commits

Author SHA1 Message Date
giannozz b8609afe6c Annoying bogus message with DFT+U forces in some cases
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13408 c92efa57-630b-4861-b058-cf58834340f0
2017-03-17 14:42:27 +00:00
giannozz 9ef1b00e40 The new xml format with schema is now the default. Use configure option
"--disable-xml", or add -D__OLDXML to MANUAL_FLAGS in make.inc, to revert
to the old xml format (note: configure is not yet updated). IMPORTANT NOTICE: 
some codes *.e.g CP) will no longer work with the default choice, until fixed. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13405 c92efa57-630b-4861-b058-cf58834340f0
2017-03-16 09:42:22 +00:00
pietrodelugas 946c6a18c4 allocation of some structured type scalars removed because reduntant and incompatible with too old compilers
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13404 c92efa57-630b-4861-b058-cf58834340f0
2017-03-15 17:22:00 +00:00
pietrodelugas af63d37fc6 added interface for logical attributes in hdf5 files, modified the interface for chararters. Logical attributes are now written directly without translation to integers
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13402 c92efa57-630b-4861-b058-cf58834340f0
2017-03-14 10:41:45 +00:00
giannozz 0edf9625a1 Oops ... displaced routine was still misplaced
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13400 c92efa57-630b-4861-b058-cf58834340f0
2017-03-14 08:29:08 +00:00
giannozz a0d466f5ad Misplaced and obsolescent routine "pp_check" moved
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13399 c92efa57-630b-4861-b058-cf58834340f0
2017-03-14 08:11:44 +00:00
giannozz be1f85382b Removal of unneded "/" at the end of directory names: they should already be
there anyway (added by function "trimcheck")


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13398 c92efa57-630b-4861-b058-cf58834340f0
2017-03-13 21:31:29 +00:00
giannozz 9963f181cf Removal of double "/" at the end of directory names
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13397 c92efa57-630b-4861-b058-cf58834340f0
2017-03-13 21:03:55 +00:00
giannozz 3f364d671f Removal of unused function
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13395 c92efa57-630b-4861-b058-cf58834340f0
2017-03-13 18:13:34 +00:00
giannozz 133cc3e439 I think it is preferrable to have conversion of atomic positions explicit
when reading/writing new xml file, rather than hidden inside I/O routines


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13391 c92efa57-630b-4861-b058-cf58834340f0
2017-03-09 22:01:49 +00:00
pietrodelugas 07ef1561e8 On pw.x output element write atomic positions in Bohr units as in the input.
a copy of tau array with from ions_base with positions in atomic unit is multiplied times alat before 
it is passed as argument to qes_init_atom. They are divided by alat when they are read from file. 



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13389 c92efa57-630b-4861-b058-cf58834340f0
2017-03-09 17:39:55 +00:00
giannozz 8ce59762d6 More minor format changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13387 c92efa57-630b-4861-b058-cf58834340f0
2017-03-08 10:43:50 +00:00
paulatto d1b6882aab infomsg does not take a third argument, could cause unpredictable segfaults
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13383 c92efa57-630b-4861-b058-cf58834340f0
2017-03-06 10:53:15 +00:00
giannozz 2989690176 The space group number, if available, should be stored with symmetry information
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13382 c92efa57-630b-4861-b058-cf58834340f0
2017-03-05 21:46:20 +00:00
giannozz ef1c3b7f3d Minor cleanup in printout of band energy for "force theorem"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13375 c92efa57-630b-4861-b058-cf58834340f0
2017-03-03 13:16:20 +00:00
giannozz 80baf7fef1 Reverted most of the previous commit (it was a version under development):
the only line that was incorrect is the call to "remove_symmetry"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13367 c92efa57-630b-4861-b058-cf58834340f0
2017-03-02 15:56:25 +00:00
giannozz f620bba9d2 Bug introduced (by me) in recent changes to fractional translations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13366 c92efa57-630b-4861-b058-cf58834340f0
2017-03-02 15:51:20 +00:00
pietrodelugas 402bbee8ac line 230 of pw_init_qexsd_input.f90 was exceeding 120 characters, better cut it before some compiler realizes it
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13365 c92efa57-630b-4861-b058-cf58834340f0
2017-02-27 17:31:58 +00:00
pietrodelugas 7e8e31189e bug fix: in the case tefield == true the energy values were divides by e2 twice ...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13364 c92efa57-630b-4861-b058-cf58834340f0
2017-02-27 17:28:45 +00:00
giannozz 4705c5979a Duplicated hdf lines removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13362 c92efa57-630b-4861-b058-cf58834340f0
2017-02-25 21:35:43 +00:00
giannozz 144a7f12bf In the final scf step of a variable-cell calculation, restart with starting
magnetization close to the current one, not the inital one. Suggested by
Nicolas Mounet.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13360 c92efa57-630b-4861-b058-cf58834340f0
2017-02-24 20:48:06 +00:00
kokalj b4ebbf6448 smallish
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13344 c92efa57-630b-4861-b058-cf58834340f0
2017-02-24 10:55:20 +00:00
kokalj 12a785d74b adding several doi references
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13343 c92efa57-630b-4861-b058-cf58834340f0
2017-02-24 10:43:55 +00:00
timrov 4966de4cb4 The keyword ltammd (Tamm-Dancoff approximation) was missing in the
namelist lr_dav of the turboDavidson code of TDDFPT (courtesy of Gloria Capano)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13339 c92efa57-630b-4861-b058-cf58834340f0
2017-02-23 14:29:17 +00:00
spigafi 8845a6e8ee Better formatting of OMP directive
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13337 c92efa57-630b-4861-b058-cf58834340f0
2017-02-23 07:59:38 +00:00
giannozz f0c9969104 Setting ACE as default requires more care, otherwise LR codes will be broken
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13334 c92efa57-630b-4861-b058-cf58834340f0
2017-02-20 16:01:50 +00:00
giannozz 066d043dee 1.) Blocking and nonblocking versions for hybrid functionals, the latter
activated with -D__MPI_NONBLOCKING. 
2.) ACE is now the default: change the value of "use_ace" in the code
    if you want to revert to old algorithm
3.) Miscellaneous cleanup and documentation update
Everything seems to work as before but as usual: no warranty


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13333 c92efa57-630b-4861-b058-cf58834340f0
2017-02-20 15:13:55 +00:00
giannozz 72577f0e86 Oops! Last commit wasn't well thought-out
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13331 c92efa57-630b-4861-b058-cf58834340f0
2017-02-20 12:20:58 +00:00
giannozz c5957293ea Nonblocking routines mpi_ibcast and mpi_igatherv are not present on old MPI
libraries distributed with not-so-old OS (e.g. Ubuntu). Workaround for 
mpi_ibcast: use mpi_bcast unless __MPI_NONBLOCKING is #defined


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13330 c92efa57-630b-4861-b058-cf58834340f0
2017-02-20 10:22:09 +00:00
nvarini c2226da133 Update examples with smearing=mv
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13325 c92efa57-630b-4861-b058-cf58834340f0
2017-02-18 20:55:36 +00:00
nvarini c77a67f101 Updated examples with smearing=mv
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13324 c92efa57-630b-4861-b058-cf58834340f0
2017-02-18 20:43:24 +00:00
spigafi c6b017fad2 Getting ready for v6.1
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13319 c92efa57-630b-4861-b058-cf58834340f0
2017-02-18 18:37:10 +00:00
giannozz 464a9a2062 More cleanup of double-precision complex that weren't. In the vast majority
of cases, there is no difference and it's just aesthetic, but in some cases 
a tiny error may have been corrected - please verify


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13316 c92efa57-630b-4861-b058-cf58834340f0
2017-02-17 14:10:00 +00:00
giannozz 08b7224019 Two bugs fixed by Taylor in new band parallelization of EXX at Gamma:
- incorrect logic for some specific cases
- tiny error coming from conversion of two real numbers into a complex one:
  CMPLX has the bad habit of converting to single precision complex unless
  explicitly instructed to convert to double! This fixes mysterious crashes
  with negative dexx close to convergence.
Credits and references added


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13313 c92efa57-630b-4861-b058-cf58834340f0
2017-02-17 12:24:27 +00:00
spigafi 4223f0454a MPI_DOUBLE is a MPI C data type. MPI_DOUBLE_PRECISION is the Fortran pportable equivalent.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13307 c92efa57-630b-4861-b058-cf58834340f0
2017-02-12 22:07:48 +00:00
spigafi 7cc424f5e6 Travis was complaning about some MPI symbols, aborting before running test-suite. Now should go until the end. (verified with Intel 16, PGI 16.10, GNU 4.8, Intel MPI 5.1, Open MPI 1.10).
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13306 c92efa57-630b-4861-b058-cf58834340f0
2017-02-12 20:48:07 +00:00
giannozz 8d5f6e5a72 F2008 pointer is oresent only when it is actually useful (option __MANYFFT)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13304 c92efa57-630b-4861-b058-cf58834340f0
2017-02-12 16:28:57 +00:00
giannozz 66068fccb4 cell_factor increased to 2. While waiting for better ideas, it seems to me
preferrable to choose a safer value than the current one (1.2), since the
increase in memory and cpu requirements is small. Also: missing broadcast
of vdw table name in restart for rVV10 case (Nicolas Mounet) 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13301 c92efa57-630b-4861-b058-cf58834340f0
2017-02-10 21:37:14 +00:00
pietrodelugas dc225084d7 one other small correction
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13298 c92efa57-630b-4861-b058-cf58834340f0
2017-02-09 14:52:28 +00:00
pietrodelugas 9f05700f3d committing forgotten modifications ....
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13297 c92efa57-630b-4861-b058-cf58834340f0
2017-02-09 14:19:49 +00:00
giannozz b469c176fa The last batch of changes to the EXX case had changed the call and
functionalities of routine "g2_convolution", thus breaking TDDFPT. Fix: 
the previous version of "qe_convulation" stays as it is; the new version 
becomes a wrapper to the old one with a new name ("qe_convolution_all").
Split a few lines longer than 132 characters.

BEWARE: it should work, but I haven't tested it 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13296 c92efa57-630b-4861-b058-cf58834340f0
2017-02-09 13:50:01 +00:00
pietrodelugas 8b4ad7781d information about dipole correction is now read from global variable
the initialization of the xml info is now done in a cleaner way without 
recalculationg the electronic dipole. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13295 c92efa57-630b-4861-b058-cf58834340f0
2017-02-09 13:24:38 +00:00
giannozz 69a694301d Line too long
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13293 c92efa57-630b-4861-b058-cf58834340f0
2017-02-08 16:40:24 +00:00
giannozz fb026749de New band parallelization for EXX, contributed by Taylor Barnes et al.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13290 c92efa57-630b-4861-b058-cf58834340f0
2017-02-07 17:39:25 +00:00
giannozz 27aabe19d3 Bad call to ZGEMM in DFT+U forces: most compilers ignored it but PGI doesn't.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13289 c92efa57-630b-4861-b058-cf58834340f0
2017-02-07 14:22:26 +00:00
pietrodelugas c2f5fd3329 Updated refences for PW examples and smearing option changed from
Methfessel-Paxton  to Marzari-Vanderbilt


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13287 c92efa57-630b-4861-b058-cf58834340f0
2017-02-07 12:35:50 +00:00
spigafi 379e35434f Modified to reflect changes done somewhere else
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13282 c92efa57-630b-4861-b058-cf58834340f0
2017-02-05 14:19:11 +00:00
spigafi 5af0c20662 Wrong WRITE statement
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13279 c92efa57-630b-4861-b058-cf58834340f0
2017-01-28 19:23:11 +00:00
giannozz f150134784 Factors needed to make FFT grid compatible with fractional translations are
computed (but not yet used). Release notes updated.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13270 c92efa57-630b-4861-b058-cf58834340f0
2017-01-24 07:51:51 +00:00
giannozz 3dec166c2c Fractional translations in "FFT grid" format (ftau) no longer used by pw.x
In my opinion there was a bug in EXX calculations with nonsymmorphic groups: 
ftau was used to rotate \psi_k into \psi_k+q, for usage in Vx\psi, but the 
real-space grid "exx_fft%dfftt" could be different from "dfftp", the grid for
which ftau was computed. Now "ftau" is properly recomputed. Since however 
there is no check on commensurability between "exx_fft%dfftt" and ftau,
the code just stops in that case. It is a quite marginal case, though.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13267 c92efa57-630b-4861-b058-cf58834340f0
2017-01-23 14:34:47 +00:00
giannozz 7d17e1e684 Check on consistency between symmetries and FFT grids moved from the routine
computing symmetries into a separate routine called after the first one. 
Everything should work exactly the same as before. This is just a preliminary
step towards automatic parallelization. Next step: force the FFT grids to be 
commensurate with symmetries and not vice versa. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13265 c92efa57-630b-4861-b058-cf58834340f0
2017-01-21 22:21:37 +00:00
giannozz 4653a07784 This was missing from yesterday's commit
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13264 c92efa57-630b-4861-b058-cf58834340f0
2017-01-21 14:33:00 +00:00
giannozz a27719dcef Unused variables removed from "checkallsym"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13263 c92efa57-630b-4861-b058-cf58834340f0
2017-01-20 18:42:50 +00:00
giannozz 5966c5354e Minor corrections: spelling, comment, redundant and unused input variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13262 c92efa57-630b-4861-b058-cf58834340f0
2017-01-20 18:36:57 +00:00
marsamos 5d68fe0692 added deallocation for tsvdw (call tsvd_finalize) in clean_pw
Without it was giving allocation errors in NEB. 
Report and patch done by Simone Piccinin.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13259 c92efa57-630b-4861-b058-cf58834340f0
2017-01-18 11:26:07 +00:00
giannozz d9cf3c5468 Recent change to output broke xcrysden "display all coordinates as animation".
The English is bad ("Cartesian" should be capitalized) but the fix is good.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13254 c92efa57-630b-4861-b058-cf58834340f0
2017-01-16 12:29:12 +00:00
sponce 123039fdf3 Test-suite fix + Ford doc
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13248 c92efa57-630b-4861-b058-cf58834340f0
2017-01-11 16:02:59 +00:00
sponce 4eb78c0c24 Addition of a new test for ph
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13247 c92efa57-630b-4861-b058-cf58834340f0
2017-01-11 15:37:18 +00:00
giannozz 8e056fb79a Misleading message due bad check
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13242 c92efa57-630b-4861-b058-cf58834340f0
2017-01-11 11:30:37 +00:00
sponce e57ab38063 Ford on everything was too ambitious ...
Only PW doc for now. Can be extended. 



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13239 c92efa57-630b-4861-b058-cf58834340f0
2017-01-10 16:40:56 +00:00
giannozz f86660892c Some harmonization of old and new tetrahedra:
- old routine computing dos, allocation and deallocation of "tetra" moved into
  module ktetra; variables tetra and ntetra are used only inside the module
- added module variable nntetra containing number of neighboring points used
  (20 for optimized tetrahedra, 4 otherwise)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13228 c92efa57-630b-4861-b058-cf58834340f0
2017-01-08 14:14:38 +00:00
giannozz fcc4ce86c5 "poolscatter" different behavior in serial and parallel cases when input and
output arrays coincide breaks phonons with optimized tetrahedra in serial case.
Now fixed, but I would like to be sure that an operation "f_in=f_out" is
properly executed also when f_in and f_out are the same in memory


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13227 c92efa57-630b-4861-b058-cf58834340f0
2017-01-08 11:40:16 +00:00
giannozz bdc34dbd63 Clarification on david_diago_ndim
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13224 c92efa57-630b-4861-b058-cf58834340f0
2017-01-07 09:22:42 +00:00
giannozz ea4364d559 Apparently "Mb" is "Megabits", not "Megabytes"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13221 c92efa57-630b-4861-b058-cf58834340f0
2017-01-05 13:51:50 +00:00
giannozz 9d90e15323 Old tetrahedra-related routines moved into ktetra module with new names
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13217 c92efa57-630b-4861-b058-cf58834340f0
2016-12-29 14:14:38 +00:00
spigafi 796cac6b64 Removed prop svn:executable
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13216 c92efa57-630b-4861-b058-cf58834340f0
2016-12-24 23:34:24 +00:00
spigafi f006a1161c ltetra is part of klist, not ktetra. I guess I fix this.
PGI now compiles.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13211 c92efa57-630b-4861-b058-cf58834340f0
2016-12-24 22:20:13 +00:00
giannozz ae2473d62b Optimized tetrahedra (Mitsuaki Kawamura) for DOS and PDOS calculations as well
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13209 c92efa57-630b-4861-b058-cf58834340f0
2016-12-22 14:36:48 +00:00
kokalj 7e6f25a857 adding few more hyperlinks
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13208 c92efa57-630b-4861-b058-cf58834340f0
2016-12-22 08:05:42 +00:00
giannozz 36ded79c03 Optimized tetrahedron method, contributed by Mitsuaki Kawamura, U. Tokyo
(only in pw.x, more coming)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13207 c92efa57-630b-4861-b058-cf58834340f0
2016-12-21 21:57:15 +00:00
giannozz 3dce174c0d Module "ktetra" taken out of pwcom.f90 in view of some additions coming.
Variable "ltetra" moved to common "klist" together with all other variables
setting occupations. All make.depend updated. Should be harmless.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13204 c92efa57-630b-4861-b058-cf58834340f0
2016-12-21 14:23:06 +00:00
giannozz 8be556a13f Unused variable removed from call
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13203 c92efa57-630b-4861-b058-cf58834340f0
2016-12-21 13:24:34 +00:00
giannozz 2f73e509de ESM-specific FFT's for SCSL and SUNPERF libraries removed: they are no longer
implemented in FFTXlib anyway


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13200 c92efa57-630b-4861-b058-cf58834340f0
2016-12-18 11:30:28 +00:00
kokalj 734161d2d6 Few changes:
1. incorporating the patch of	Ikutaro Hamada to correctly handle atomic-positions in crystal coordinates

2. supporting the CELL_PARAMETERS angstroms|bohr options

3. ibrav=0 with "A" spec didn't work well (fixing)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13197 c92efa57-630b-4861-b058-cf58834340f0
2016-12-14 16:39:03 +00:00
paulatto c368e45363 Fixed a silly bug in the previous commit
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13196 c92efa57-630b-4861-b058-cf58834340f0
2016-12-14 14:57:31 +00:00
paulatto 183c05d234 I've added a line to print out the crystal density in g/cm^3, the hope is that may help people realize when they do a mistake in the input that results in too small or too large unit cells
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13195 c92efa57-630b-4861-b058-cf58834340f0
2016-12-14 14:38:00 +00:00
pietrodelugas 7354320420 Correction to avoid that some non initialized elements are written in the
xml file. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13193 c92efa57-630b-4861-b058-cf58834340f0
2016-12-07 08:22:41 +00:00
giannozz 6c980121fe Removal of unused modules
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13184 c92efa57-630b-4861-b058-cf58834340f0
2016-11-25 21:10:06 +00:00
giannozz 57fdf2f9ad make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13180 c92efa57-630b-4861-b058-cf58834340f0
2016-11-24 14:35:51 +00:00
giannozz 08a362bc23 Miscellaneous cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13165 c92efa57-630b-4861-b058-cf58834340f0
2016-11-19 18:24:14 +00:00
paulatto 1e8b7c48f0 In the verbosity=high case, with nspin=1, the PAW energy components could be printed out incorrectly (the actual value was correct)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13162 c92efa57-630b-4861-b058-cf58834340f0
2016-11-17 11:17:06 +00:00
pietrodelugas a4b51916ba Kernel table file is copied it the <prefix>.save directory
together with pseudopotential so that post-processing and ph.x may find it 
without knowing the pseudo directory path. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13161 c92efa57-630b-4861-b058-cf58834340f0
2016-11-17 10:35:52 +00:00
paulatto eeb9fb1fd3 Made the choise of use_regularization more explicit (the result does not change, it just makes the code more clear) and added a comment about an especially tricky allocation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13160 c92efa57-630b-4861-b058-cf58834340f0
2016-11-17 08:54:08 +00:00
giannozz d4c1220030 Bug in hybrid functionals at Gamma wth LSDA and k-point parallelization, reported by Davide
Tiana, fixed. Affected v.6 and previous versions as well, hopefully producing sufficiently
wrong numbers to stop with "negative dexx" error


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13158 c92efa57-630b-4861-b058-cf58834340f0
2016-11-17 06:15:56 +00:00
pietrodelugas 312a17f836 file forgotten in previous commit
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13155 c92efa57-630b-4861-b058-cf58834340f0
2016-11-15 16:12:55 +00:00
pietrodelugas 24b54c7329 Few modification to the pw.x XML scheme.
Now the information read on restart or by any program using the read_file routine  
are taken only from the  output element.   


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13154 c92efa57-630b-4861-b058-cf58834340f0
2016-11-15 15:48:23 +00:00
giannozz b491b3a47b Reference to mp_world removed - there are a few more that shouldn't be there
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13153 c92efa57-630b-4861-b058-cf58834340f0
2016-11-14 17:27:47 +00:00
giannozz 5bcd1e5c6d make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13152 c92efa57-630b-4861-b058-cf58834340f0
2016-11-14 17:22:37 +00:00
giannozz aff053b35d -D__EXX_ACE confined to a single line, ready to be removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13150 c92efa57-630b-4861-b058-cf58834340f0
2016-11-14 15:20:42 +00:00
giannozz 35e14afe5b More preliminary changes needed to set new xml schema as default.
CP compiles but doesn't run if __XSD is set


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13148 c92efa57-630b-4861-b058-cf58834340f0
2016-11-14 12:42:47 +00:00
giannozz f6c132bcf9 Incorrect subtraction of term G=0 in gamma-only case - might explain some
problems with USPP and Gamma-only hybrid calculations 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13142 c92efa57-630b-4861-b058-cf58834340f0
2016-11-11 16:36:59 +00:00
giannozz 51a51c99c0 Annoying ACE prints commented out
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13140 c92efa57-630b-4861-b058-cf58834340f0
2016-11-09 18:06:51 +00:00
paulatto 01b6e1f73e One more bug fix in the paw+exx code (the atomic's index of projector was computed incorrectly when the crystal indeces where given in a certain order).
Now everything seems to work quite reliably, a few calculation with PAW on molecules where successful, however:

there is still a nasty bug that cause wrong results (usually in the form of S matrix not positive, or wrong charge) when ALL this coditions are met:
1. PAW and/or US
2. using Gygi-Baldereschi divergence threatment with x_gamma_extrapolation
3. K_POINTS gamma

I hope to fix it soonish
LP



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13139 c92efa57-630b-4861-b058-cf58834340f0
2016-11-09 14:54:16 +00:00
giannozz 0718d82bfd Calculation of HOMO and LUMO made simpler, more general, and more reliable.
Needs a threshold, though, to decide who is occupied and who is not


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13137 c92efa57-630b-4861-b058-cf58834340f0
2016-11-05 15:20:57 +00:00
paulatto fc0a3713d7 A few changes to the PAW+EXX subroutines, initially to re-enable the PAW contribution to the Hamiltonian (whic hwas disable by a disguised RETURN statement) and then to fix some bugs it includes.
Notably: the change of the PAW contribution has been changed, this ensures that the energy computed with exxenergy and exxenergy2 are consistent, also when using a sufficiently large cell (or sufficiently good exxdiv_treatment), with spin and a PAW pseudo you can get exactly one Rydberg energy for the Hydrogen atom!

 have also changed electrons.f90 again, and I think it is now satisfactory: during each sub-scf cycle the total energy is printed (but not its components) and you even get the "!" at the end, but at the very final end of the EXX cycle you get a double "!!" at the beginning of the line, which makes grepping less painful.


A few things still missing, to be done sonner or later:
1. US/PAW + noncolinear spin does not work at the moment, because I have not implemented the rotation of the noncolinear <beta|psi> coefficients (this is probably trivial)
2. stress and forces need to be tested
3. stress needs to be tested (it is not implemented with pools either)

I have not really tested band parallelisation.




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13136 c92efa57-630b-4861-b058-cf58834340f0
2016-11-04 14:27:32 +00:00
giannozz 099f9cc2b6 calculation of HOMO and LUMO separated from printout of the same. It may be
useful in general and in other cases. There are stull cases in which the 
HOMO and LUMO are not properly computed, though, especially in LSDA cases


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13135 c92efa57-630b-4861-b058-cf58834340f0
2016-10-31 09:26:22 +00:00
giannozz d08674cbed Misc minor updates
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13134 c92efa57-630b-4861-b058-cf58834340f0
2016-10-31 09:24:30 +00:00
spigafi 6e0972881e Missing dependency
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13132 c92efa57-630b-4861-b058-cf58834340f0
2016-10-30 10:32:22 +00:00
paulatto 5ea5e1fb34 Bug with EXX and US fixed, it was caused by a missing initialisation of the d matrices used to rotate spherical harmonics
Also, compute_becxx moved to us_exx to try to keep exx.f90 less crowded
A modified version of the old compute_becxx that actually work is stored at the end of us_exx for debugging, I'll remove it later when the code has settled a bit (it is not compiled)

Another related bug, where the rotation of <beta|psi> was not correct when k+q = -k' has been fixed

Quite a few debug lines are left (commented) in the code for good luck, I'll remove them later

Note that all the test suite reference files including US and EXX should be recomputed



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13128 c92efa57-630b-4861-b058-cf58834340f0
2016-10-28 09:00:20 +00:00
paulatto 0e300f8b45 exx energy added to hwf estimate, so if you decide to print it (by setting printout to 1 instead of zero) it is not absurd
also, dexx is now printed with fixed point/exponential notation in the same way the convergence threshold is



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13127 c92efa57-630b-4861-b058-cf58834340f0
2016-10-28 08:53:22 +00:00
paulatto 74021d6d59 Lines commented for testing, re-enabled
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13126 c92efa57-630b-4861-b058-cf58834340f0
2016-10-27 08:48:13 +00:00
paulatto 38aea232ed bugfix for commit 13119
beccopy was doing y=x in the k-point case and x=y in the gamma only case

this combined with store_becxx0 which was unnecessarily invoked when not doing an EXX calculation to annihilate the value of <beta|psi> when gamma-only doing a gamma-only calculation

fixes:
1. beccopy now always does the same thing (with the illogical but commonplace order of arguments estabilished by dcopy, please check that it is the expected on in ./PHonon/PH/dhdrhopsi.f90 and ./PHonon/PH/dynmat_us.f90)
2. store_becxx is no more active when dft is not hybrid

The bug never surfaced in phonon (only place where beccopy is used) because phonon does not work with Gamma-only



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13125 c92efa57-630b-4861-b058-cf58834340f0
2016-10-27 08:47:32 +00:00
paulatto b6e0ce3d83 Added missing
pseudo_dir    = '$PSEUDO_DIR',


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13123 c92efa57-630b-4861-b058-cf58834340f0
2016-10-26 13:23:07 +00:00
paulatto e7b2388aa6 Debug lines slipped in (although getting negative exx seems quite inevitable with tqr, and maybe we should allow it under some conditions)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13120 c92efa57-630b-4861-b058-cf58834340f0
2016-10-25 13:25:10 +00:00
paulatto 5156f847c7 Tentative improvement of the EXX especially +US and PAW codes
1. instead of doing a mp_sum(exxbuff) I have introduced a series of communicators that can be used to broadcast the exxbuff among pools with the minimumamount of communication and without the need to sum a billion zeros. This seem to be much faster, and should no more increase with the number of CPUs, which was worrying me a bit
2. changed the sign of PAW Fock energy, I'm not sure where the minus come from, but with this expression you get the correct ratio of Fock and Hartree energy when computing a single band
3. computing <beta|psi> for the k+q grid is no more done explicitly with calbec, but the projections are rotated from the irreducible grid. In order to do so, the values of <beta|psi> is stored in the routine sum_bands, which may not be the idea place
4. the ultrasoft augmentation is now added on the ecutfock grid, in both G spce and real space, as a consequence the real-space smooth grid is now unused, and I have removed ii (I have left the bits of code commented as it may come useful in the future)
5. (not EXX) when using verbosity=high, the various component of the PAW contribution to H and XC energies are printed on screen, as well as the total (plane waves+PAW) H and XC energies, this was particularly useful to test EXX and I was tired to havvign to add it again everytime I touch this part of the code
6. I'm a bit confused about the values of "printout", I'm afraid I may have messed something up in electrons. Now I have set printout to zero when exx_is_active, which seems to not print anything strange (Otherwise the HWF energy was absurd) from the svn diff" it looks like it was printout=1 before

LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13119 c92efa57-630b-4861-b058-cf58834340f0
2016-10-25 13:09:22 +00:00
paulatto 9e55364b2c New subroutine to get the local index of a k-point from the global one
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13117 c92efa57-630b-4861-b058-cf58834340f0
2016-10-25 09:35:49 +00:00
giannozz ce0086eb13 Fix for recently noticed (by David Strubbe) failure of vdw-DF example.
Yet another problem due to ill-conceived, too rigid reset routine clean_pw


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13116 c92efa57-630b-4861-b058-cf58834340f0
2016-10-24 08:51:40 +00:00
giannozz 2915d11de3 Some more misc cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13115 c92efa57-630b-4861-b058-cf58834340f0
2016-10-23 20:51:27 +00:00
giannozz 40f289167b Minor cleanup of symmetry routines:
1) the dependency upon module "extfield" via recently introduced "monopole" 
   variable made explicit in the call, with an optional variable
2) the code doesn't stop any longer in case it doesn't manage to find
   symmetries, it just issue a warning, removes symmetry and proceeds
Should be harmless but please check. All make.depend files updated.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13114 c92efa57-630b-4861-b058-cf58834340f0
2016-10-23 19:40:46 +00:00
pietrodelugas 716e261569 bug fix, energy values were converted from rydberg to hartree twice in a row ...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13113 c92efa57-630b-4861-b058-cf58834340f0
2016-10-18 14:43:52 +00:00
giannozz f5e052d63e ACE for USPP now works (thanks to Ivan Carnimeo)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13111 c92efa57-630b-4861-b058-cf58834340f0
2016-10-13 19:27:14 +00:00
pietrodelugas d1572ce57a bug fix in init_vars_from_schema
successive calls to init_vars_from_schema in read_file were trying to allocate an already allocated
allocatable. Reading of the header info removed from read_file


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13110 c92efa57-630b-4861-b058-cf58834340f0
2016-10-13 14:24:34 +00:00
giannozz 9229fe47e4 Reminder: empty strings are nonstandard in fortran, use ' ', not ''
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13108 c92efa57-630b-4861-b058-cf58834340f0
2016-10-13 11:25:10 +00:00
giannozz a4ccdac107 Error message instead of crash if data file not found
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13103 c92efa57-630b-4861-b058-cf58834340f0
2016-10-11 20:03:50 +00:00
giannozz fa52f529a5 More explicit message for forces as well
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13098 c92efa57-630b-4861-b058-cf58834340f0
2016-10-09 16:01:24 +00:00
giannozz 3249e8b43d More explicit printout message (hope nobody is parsing the previous message
"entering subroutine stress")


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13097 c92efa57-630b-4861-b058-cf58834340f0
2016-10-09 09:49:28 +00:00
giannozz fad38a034b Bug fix: incorrect energies computed by ACE for metals, plus minor cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13095 c92efa57-630b-4861-b058-cf58834340f0
2016-10-07 14:50:36 +00:00
giannozz 46bc5f3642 Limit printout of k+q grid in EXX to 100 points unless explicitly requested
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13093 c92efa57-630b-4861-b058-cf58834340f0
2016-10-06 05:35:47 +00:00
giannozz 0c0e1a3a21 Cleanup of __GFORTRAN and __INTEL #ifdefs, replaced by compiler-enabled
preprocessing options (note: configure not updated) 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13092 c92efa57-630b-4861-b058-cf58834340f0
2016-10-05 17:48:02 +00:00
dalcorso 1044f59057 Some changes to the symmetry analysis.
The elements of C_2v and D_2 have been ordered so that
all the double groups have the same multiplication table.
C_6v and D_6 now have the same character table.
The definition of the matrices of SU(2) made more standard:
when n_z=0 the binary rotation axis direction is now with n_x >0, before
it was with n_y > 0.
These changes should be harmless except for the exchange of the names of
some irreducible representations of these three groups in some cases.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13091 c92efa57-630b-4861-b058-cf58834340f0
2016-10-05 17:38:24 +00:00
spigafi 9fdbf91eb5 Unified IFDEF macro style
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13058 c92efa57-630b-4861-b058-cf58834340f0
2016-10-02 10:17:54 +00:00
spigafi 743b03ee9d Added missing __XSD, protecting from GNU 4.4.x complains
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13044 c92efa57-630b-4861-b058-cf58834340f0
2016-10-01 11:34:41 +00:00
pietrodelugas 03f3590cd8 reduction of "#if defined (__XSD)" clauses.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13037 c92efa57-630b-4861-b058-cf58834340f0
2016-09-29 08:31:44 +00:00
pietrodelugas 2dac04d237 XML printout for FCP optimization and dynamics.
Information about FCP energetics are now printed out for each step element and in the final output.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13033 c92efa57-630b-4861-b058-cf58834340f0
2016-09-28 14:07:13 +00:00
pietrodelugas 4f5bfdea3a For non self-consistent computations it is possible to set fixed occupations without specifying a tot_magnetization target (this is not allowed for self-consistent calculations). In this case the program was printing a wrong HOMO energy
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13029 c92efa57-630b-4861-b058-cf58834340f0
2016-09-27 08:25:49 +00:00
pietrodelugas e3c511cb60 added fcp_opt and fcp_mu elements to the XML input element
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13028 c92efa57-630b-4861-b058-cf58834340f0
2016-09-26 19:21:47 +00:00
kokalj f53cb797a2 Improved handling of dependencies between input_xx.xsl and resulting INPUT_*.html|txt
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13019 c92efa57-630b-4861-b058-cf58834340f0
2016-09-26 14:04:08 +00:00
pietrodelugas f2afbd8434 added xml output for lda+U calculations in the noncolinear case
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13016 c92efa57-630b-4861-b058-cf58834340f0
2016-09-25 15:11:13 +00:00
giannozz 112309275a The recent changes to FFT grids break phonon, and presumably many others,
if 1) FFT dimensions are read from input, and 2) "clean_pw" is called
(for instance with finite k in order to perform a non-scf case). 
I modified clean_pw so that it keeps track of the previous values of 
the FFT dimensions. This should simply revert to the previous behavior.
A better solution would be to write routine that allocate and deallocate only 
k-point-related variables, since this is what we typically need.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13009 c92efa57-630b-4861-b058-cf58834340f0
2016-09-23 05:30:52 +00:00
pietrodelugas 62c651770b updated references for PW examples
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13001 c92efa57-630b-4861-b058-cf58834340f0
2016-09-21 14:33:09 +00:00
pietrodelugas b2a40d254c pw_restart_new did not compile if __HDF5 was undefined. Fixed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12993 c92efa57-630b-4861-b058-cf58834340f0
2016-09-21 09:33:13 +00:00
pietrodelugas 6e2c14b26e fixed the writing of distinct gkvectors hdf5 file for each k-point for the new output style ( xml enabled)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12991 c92efa57-630b-4861-b058-cf58834340f0
2016-09-20 16:14:29 +00:00
pietrodelugas f92ae3341a gvectors.hdf5 containing the Miller indexes of G vectors is now written inside the pwscf.save directory
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12988 c92efa57-630b-4861-b058-cf58834340f0
2016-09-20 12:36:07 +00:00
pietrodelugas eb290b0d59 in init_vars_from_schema the information for hybrid functionals when present are now read with WHAT = 'nowave'. The specific call of init_vars in read_file_new in not necessary anymore and it has been removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12987 c92efa57-630b-4861-b058-cf58834340f0
2016-09-20 08:33:35 +00:00
spigafi 185f9ed185 ifndef preprocessor macro refactoring
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12986 c92efa57-630b-4861-b058-cf58834340f0
2016-09-19 21:11:20 +00:00
giannozz 4ca678b7fb Previous commit was 1) incomplete, 2) wrong. Now exx energy with ACE should
be correct


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12968 c92efa57-630b-4861-b058-cf58834340f0
2016-09-16 09:54:38 +00:00
giannozz 0aef72f5ae Incorrect energy computed with pools
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12966 c92efa57-630b-4861-b058-cf58834340f0
2016-09-15 19:49:52 +00:00
degironc 63c2a99308 more timing printouts.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12964 c92efa57-630b-4861-b058-cf58834340f0
2016-09-15 09:55:07 +00:00
degironc f7cd893d9f - task group number added in ftt_type_set (called by data_structure) so that when task_groups are active the plane distribution is more even and leads to at most to a single plane different between different task_groups. minor clean_up of indices in scatter_mod
- no point in not perfroming task_group parallelization when m < ntask_group.
 - some more timing report if verbosity >0



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12963 c92efa57-630b-4861-b058-cf58834340f0
2016-09-15 07:41:30 +00:00
spigafi cd0140c729 ifdef preprocessor macro refactoring (PW package)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12959 c92efa57-630b-4861-b058-cf58834340f0
2016-09-12 16:34:38 +00:00
giannozz 3eb76a735b Misc cleanup: misspells; new I/O doesn't allocate tetrahedra so one knows
that they have to be regenerated.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12957 c92efa57-630b-4861-b058-cf58834340f0
2016-09-11 17:25:02 +00:00
giannozz f9ff4f4057 read-file split into old version (to be removed soon) and new one (to be
cleaned up)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12946 c92efa57-630b-4861-b058-cf58834340f0
2016-09-11 07:33:58 +00:00
spigafi 2a6fa9fec9 Change print style to avoid Intel compiler complaining about it. Revert if you
prefer the old way.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12943 c92efa57-630b-4861-b058-cf58834340f0
2016-09-10 21:24:52 +00:00
spigafi ad5e1bf29e Modified ELPA calls to comply with new library API. Supported 2015.11.001
(__ELPA_2015) and 2016.05.003 (__ELPA_2016). Link must be done manually (for
now). Validated using PW AUSURF112 (GAMMA), PW AUSURF112 (K) ans PW GRIR443.
CP tests to be done. Internal self-compiled ELPA very old still present but it
will be deprecated soon.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12942 c92efa57-630b-4861-b058-cf58834340f0
2016-09-10 20:48:28 +00:00
giannozz 1a4be92da9 Prevent bogus out-of-bound errors in some unlikely cases
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12941 c92efa57-630b-4861-b058-cf58834340f0
2016-09-10 07:13:27 +00:00
giannozz 91e3782c23 More I/O cleanup: there is no valid reason to keep track whether something has
been already read or not. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12936 c92efa57-630b-4861-b058-cf58834340f0
2016-09-09 13:27:28 +00:00
giannozz 9e21946835 If the smooth and dense grid must coincide, ensure that they do coincide also
in case the dense grid is set from input, while the smooth grid is not


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12932 c92efa57-630b-4861-b058-cf58834340f0
2016-09-09 09:09:23 +00:00
paulatto ab0e4e0c2f monopole field re-activated (it was commented out)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12928 c92efa57-630b-4861-b058-cf58834340f0
2016-09-08 14:27:15 +00:00
giannozz 97f49d0d2c Prevent a floting-point error if r(1)=0
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12922 c92efa57-630b-4861-b058-cf58834340f0
2016-09-06 06:23:50 +00:00
giannozz 216e296a40 Don't do anything if the grid contains zero points (also prevents a bogus
out-of-bound error)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12919 c92efa57-630b-4861-b058-cf58834340f0
2016-09-05 20:11:40 +00:00