Commit Graph

620 Commits

Author SHA1 Message Date
fabrizio22 509ce8ad64 XClib - all in module xc_lib 2021-01-06 15:42:52 +01:00
fabrizio22 c22c36e33e XClib - cmake set 2021-01-06 15:38:31 +01:00
fabrizio22 65a3bed86c XClib - funct into XClib - all fldrs 2021-01-06 15:36:00 +01:00
fabrizio22 c1337867b2 XClib - lib name changed 2021-01-06 15:36:00 +01:00
fabrizio22 2f933d101e XClib - lda - scratch 2021-01-06 15:31:24 +01:00
Paolo Giannozzi f98e38a0c2 Removed unused references to zdotc 2020-12-22 12:11:00 +00:00
Iurii Timrov 2e6d24bbfd Introduce a new input variable ethr_nscf in the turboEELS code.
ethr_nscf is the threshold for the convergence of eigenvalues during
the iterative diagonalization of the Hamiltonian in
the non-self-consistent-field (NSCF) calculation at
k and k+q points. Note, this quantity is NOT extensive.
This new input variable was requested by Nils Holle.
2020-12-15 13:33:19 +01:00
Paolo Giannozzi 8291bff91b The trick to get the version number from file include/qe_version.h
exported to "make doc"
2020-11-24 12:37:45 +00:00
giannozz 19808b9be9 Merge branch 'dyn-libs' into 'develop'
[CMake] Fixed dynamic library compilation

See merge request QEF/q-e!1208
2020-11-23 12:31:06 +00:00
Daniele Cesarini b2a4a6b89f Fixed shared library compilation 2020-11-23 12:16:32 +01:00
Paolo Giannozzi 9b658b778a [skip-CI] Documentation regenerated 2020-11-23 08:41:17 +00:00
giannozz 46a4930829 Small documentation updates 2020-11-21 20:07:38 +00:00
Federico Ficarelli 323bce3a9d Add missing sources to targets 2020-09-29 19:44:33 +02:00
Daniele Cesarini 2940caddd6 Dependencies to compile QE in shared libraries 2020-09-29 18:11:33 +02:00
Daniele Cesarini fc09ef40e4 Removed cmake function preprocessing and replaced with _qe_add_global_target 2020-09-29 18:11:32 +02:00
Daniele Cesarini 90840d6caf Fix preprocessor flags for Fortran files 2020-09-29 18:11:32 +02:00
Daniele Cesarini 9246f191ac Restricted dependency visibility for cmake targets 2020-09-29 18:11:31 +02:00
Daniele Cesarini d912e3905c Added missing QE packagies to cmake 2020-09-29 18:11:31 +02:00
Paolo Giannozzi d59300e883 make.depend files and related script updated 2020-08-17 19:04:40 +02:00
Paolo Giannozzi e5cff91a5d Incorrect detection of inversion symmetry in phonons fixed (Phil Wang, JHU).
I think a better fix would be to move the detection of the inversion symmetry
into function "copy_sym" (not making assumptions on which operation is the
inversion, and transforming the function into a subroutine) but this must be
done with care and far from a release. The current fix seem to be 100% safe.
2020-08-03 19:20:31 +02:00
Oscar Baseggio b23986d7c1 update the references for sternheimer algorithm 2020-07-29 15:13:55 +02:00
Oscar Baseggio d7a34f1f56 fix noncolinear case
remove error message
clean some routines
2020-07-29 15:13:55 +02:00
Oscar Baseggio 5b1498d9ad fix incdrhoscf_nc call and lr_dvpsi_eels.f90 2020-07-17 12:10:41 +02:00
Oscar Baseggio 9542b0b894 add error message for noncolinear case 2020-07-17 12:10:41 +02:00
Oscar Baseggio 6c6a39cbd7 fix noncolin bug 2020-07-17 12:10:41 +02:00
giannozz aa272a9444 *.pdf, html, txt files updated 2020-07-17 10:44:05 +02:00
giannozz 32a6dbab24 VERSION=git changed to VERSION=6.6 in Makefiles. The documentation machinery
is completely crazy: one has to change the version number in 1001 places
2020-07-17 10:32:01 +02:00
Iurii Timrov 8c1b270e27 Improved documentation and output format of the TDDFPT codes 2020-07-17 07:13:14 +00:00
Oscar Baseggio 00c3664c1a fix the example 2020-07-15 18:10:33 +02:00
Oscar Baseggio c1ade9aaba fix consistency with turbo_spectrum 2020-07-15 18:10:33 +02:00
Oscar Baseggio 5a4c7a8900 correct input description 2020-07-15 18:10:33 +02:00
Oscar Baseggio 9782fb97c4 change sternheimer input 2020-07-15 18:10:33 +02:00
Paolo Giannozzi 11b30f49d7 Module modes brought back to where it belong. Dependencies updated 2020-07-15 07:27:17 +00:00
Iurii Timrov 2616c8a01f 1. Introduced a variable 'calculator' which controls
which algorithm must be used for the calculation of EELS
(Lanczos or Sternheimer). Removed the old logical variable
'sternheimer'.
2. Adapted the output of the Sternheimer calculation to be
as close as possibloe to the output of the Lanczos calculation.
3. Changes in the Doc and README files
4. Updated the Sternheimer example
2020-07-14 17:47:31 +00:00
Oscar 855844dad1 solve make.depend conflict
remove _tpw routines
2020-07-13 16:33:51 +00:00
Iurii Timrov 37f0c34ff4 1) DFT+U+V: moved sc_size to Modules/parameters.f90.
Now, just by changing sc_size it is possible to control the
size of the virtual supercell that is used in DFT+U+V to
generate couples Hubbard_V(i,j). By default, sc_size=1 which
corresponds to 3x3x3. By setting sc_size=2 the supercell
will be 5x5x5. The supercell is determiend as:
(2*sc_size+1) x (2*sc_size+1) x (2*sc_size+1).
Now, the size of Hubbard_V arrays is automatically adjusted
if sc_size is changed in Modules/parameters.f90
2) Other small miscellaneous changes
2020-07-08 19:05:00 +00:00
Paolo Giannozzi 4879e28738 TDDFPT and qrad interpolation
Small problem in TDDFPT, coming from recently introduced changes in the way
q-G are interpolated: there was a missing factor 2pi/a in qmod(1)
2020-07-06 12:47:48 +02:00
Iurii Timrov d6252e8633 Bug fixes:
1) Hubbard force and stress was crashing with gfortran
2) PHonon and TDDFPT was crashing in the noncollinear case
2020-07-03 17:40:46 +00:00
Paolo Giannozzi 6147076521 Cleanup of symmetrization in real space:
- subroutine "ruotaijk" deleted and replaced by "rotate_grid_point", that does
  quite the same thing but requires on input the symmetry operation in "scaled"
  form, that is, suitable for directly transforming FFT grid point indices.
- subroutine "scale_sym_ops" added: trasforms rotation matrices and fractional
  translations into "scaled" form, checking their consistency with the FFT grid.

Advantages: slightly cleaner, definitely safer, faster.

Usage: define local variables ftau, s_scaled as (for instance):
  integer :: ftau(3,nsym), s_scaled(3,3,nsym)
Initialize ftau and s_scaled (nr1,nr2,nr3 for the chosen FFT grid):
  call scale_sym_ops (nsym, s, ft, nr1, nr2, nr3, s_scaled, ftau)
Then for sym.op. "isym", the rotated (ri,rj,rk) of grid point (i,j,k) is
       call rotate_grid_point( s_scaled(1,1,isym), ftau(1,isym), &
                               i, j, k, nr1, nr2, nr3, ri, rj, rk )
BEWARE: should be safe but it is untested for sym_band and pw2wannier
2020-06-09 15:03:34 +02:00
giannozz 1b072fbc4f First compiling version of QE with initial "pseudolib" in upflib/.
Most of the changes consist in small updates to Makefile and make.depend and
in the replacement of module "parameters" with "upf_params" whenever variables
lmaxx and lqmax are USEd. Routine "read_pseudo" moved back to Modules/;
"simpsn" moved to upflib/; a copy of "matches" temporarily added to upflib/

Note that everything compiles (except EPW) but nothing has been tested yet!
2020-04-25 19:13:15 +00:00
Stefano de Gironcoli 5297840020 make box0, box_s,box_e public to be used also outside the module, for instance in lr_apply_liouvillian 2020-04-24 11:37:17 +02:00
Paolo Giannozzi 21fe34060c Interpolation table in G space
Currently the interpolation table for USPP Q functions computes q_i=Q(|G_i|) on
a grid of equally spaced |G_i| ***in units of 2\pi/a0***. As a consequence, the
number of points of the grid for a given cutoff depends upon the size of the
cell (noticed by Anton Kozhevnikov). This does not make sense: the Q functions
are atomic-like quantities and the maximum |G| depends upon the cutoff.
I moved the interpolation table from 2\pi/a0 units to atomic units, as it is
done everywhere else in QE. I am less and less convinced that storing k-points
and G-vectors in 2\pi/a0 units is a good idea, by the way.

BEWARE: this patch changes the behavior of routines init_us_1 and qvan2,
has the potential to break external codes that use QE routines.
2020-03-12 22:05:47 +01:00
Paolo Giannozzi 617f964bc7 Script for dependencies and make.depend updated 2020-03-12 14:14:13 +00:00
giannozz 1937b0a378 Cleanup: removal of usnused reference to node number (nd_nmbr)
Added a simple way to test what happens with non-parallel file systems
2020-03-04 18:00:00 +01:00
Paolo Giannozzi ba463ee4b0 Forgot one call to incdrhoscf_nc 2020-02-29 19:53:04 +01:00
Carlo Cavazzoni 2af0e629ab Revert "Merge branch 'revert-c25e9f31' into 'develop'"
This reverts merge request !775
2020-02-01 09:14:20 +00:00
Carlo Cavazzoni a91d32bc5f Revert "Merge branch 'develop' of gitlab.com:QEF/q-e into develop"
This reverts commit c25e9f3126
2020-02-01 08:58:44 +00:00
Paolo Giannozzi ffd53eb4da Dependencies updated
Two routines in KS_Solvers/PPCG aligned to latest LAXlib changes
2020-01-28 14:58:32 +00:00
Pietro Delugas 667feee01b Merge branch 'laxlib' into 'develop'
Laxlib

See merge request QEF/q-e!558
2020-01-28 13:49:50 +00:00
Paolo Giannozzi 4076b8003b More zdotc removal (TD-DFPT) 2020-01-26 17:33:25 +00:00