Commit Graph

899 Commits

Author SHA1 Message Date
marsamos 0a37b56e2b PH/src compiling
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8113 c92efa57-630b-4861-b058-cf58834340f0
2011-08-25 15:39:20 +00:00
marsamos db2ca81972 CPV changed in dir structure. Working src, examples and tests
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8107 c92efa57-630b-4861-b058-cf58834340f0
2011-08-25 12:46:21 +00:00
calandra 21e6d74fa7 A mp_bcast was missing, it was giving problems in some case
with openmpi + g95 in the multiprocessor case. 
Fixed.

MCB
  


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8106 c92efa57-630b-4861-b058-cf58834340f0
2011-08-24 13:35:39 +00:00
calandra dc14dada8d Preliminary implementation of electron-phonon coupling
using Wannier functions. Still experimental and not
completed.

MCB



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8105 c92efa57-630b-4861-b058-cf58834340f0
2011-08-24 08:49:19 +00:00
giannozz 8ee080a618 Same as before for variable "nofrac"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8092 c92efa57-630b-4861-b058-cf58834340f0
2011-08-16 08:55:40 +00:00
giannozz efba1cfef3 Variables nosym and nosym_evc moved to the symetry module
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8091 c92efa57-630b-4861-b058-cf58834340f0
2011-08-16 08:37:26 +00:00
giannozz 2c1c3c2bfd Minor symmetry cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8088 c92efa57-630b-4861-b058-cf58834340f0
2011-08-15 13:08:03 +00:00
degironc 5fcdfe429d a few changes needed for the ACFDT code that should not interfere with any
other section.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8086 c92efa57-630b-4861-b058-cf58834340f0
2011-08-14 17:18:41 +00:00
giannozz 8a537e1ef2 Fixed (once again) recently introduced bug in electric fields; removed two more
inappropriate references to input_parameters (PLEASE DO NOT REINTRODUCE THEM);
threshold for symmetry determination of bravais lattice was very small (approx
8 digits), increased a bit to approx. 6 digits


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8077 c92efa57-630b-4861-b058-cf58834340f0
2011-08-11 19:35:50 +00:00
giannozz 2b1c3a67cf Variable cell_symmetry removed. There is still a problem with electric fields.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8072 c92efa57-630b-4861-b058-cf58834340f0
2011-08-11 07:06:07 +00:00
giannozz 77b61f6793 Phonon glitches after recent changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8071 c92efa57-630b-4861-b058-cf58834340f0
2011-08-10 20:32:55 +00:00
giannozz 85dabfd46c Fixed compilation problem in read_file (sorry). The solution isn't completely
satifactory, though. Routines cubicsym and hexsym merged into a single reoutine
set_sym_bl replacing the current one: there is no need to specify whether the
lattice is "cubic" or "hexagonal". Input variable symm_type will disappear (as)
soon (as I am sure that everything works)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8068 c92efa57-630b-4861-b058-cf58834340f0
2011-08-10 07:18:29 +00:00
marsamos 0a489bacb1 XSpectra re-organized. Fix compilation problems with pw/read_file
and the new pseudo_read_mod



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8065 c92efa57-630b-4861-b058-cf58834340f0
2011-08-09 13:09:50 +00:00
giannozz 4a1c59d710 Some k-point cleanup. No warranty it works: I don't have the possibility to
make extensive tests now. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8051 c92efa57-630b-4861-b058-cf58834340f0
2011-08-05 16:05:06 +00:00
giannozz 779fad75ad Cleanup: modules energies and printout_base moved to CPV where they are used.
The only variable used in all codes, "title", moved to a new module run_info
in Modules (it may in the furture contain more stuff).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8044 c92efa57-630b-4861-b058-cf58834340f0
2011-08-03 19:16:03 +00:00
ccavazzoni 8040dea31d - grid data structure merged with the fft data structure.
Now all variables regarding real space grid, fft and 
  their parallelization are contained into the objects:
  dfftp (dense grid) 
  dffts (smooth grid)



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7973 c92efa57-630b-4861-b058-cf58834340f0
2011-07-14 22:14:15 +00:00
ccavazzoni 930828018e - real space grid variables (nr1, nr2, ecc...) substituted by a data type.
Further changes will follow in order to reduce dependencies and 
  duplicate variables (especially with dfft data structure) 
  


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7961 c92efa57-630b-4861-b058-cf58834340f0
2011-07-10 20:56:44 +00:00
giannozz 4b4b144691 make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7930 c92efa57-630b-4861-b058-cf58834340f0
2011-07-04 17:13:58 +00:00
marsamos f83cfca2a0 open_input_file modified to automatically detect xml. There is no nedd
for arg -xmlinput now.
all routines calling find_free_unit or trimcheck have been
modified. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7926 c92efa57-630b-4861-b058-cf58834340f0
2011-07-04 15:27:16 +00:00
sbinnie fc0cd98521 Merge lr_adddvepsi_us_[gamma,k] with adddvepsi_us. Required some minor interface changes to the latter so calls in VdW and PHONON updated.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7909 c92efa57-630b-4861-b058-cf58834340f0
2011-06-25 23:39:36 +00:00
sbinnie d946f4f8ac Rebase of lr_dvpsi_e with respect to dvpsi_e in PHONON. Lots of duplicate/obselete code that is
now better served by calling routines like commutator_Hx_psi. Gamma point case added to
commutator_Hx_psi to facilitate this.

Testing shows gamma point results from turbo_lanczos.x
unaffected to within machione precision by this commit. K-point version looks fine to me, but
still hasnt been extensivly tested anyway.

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7907 c92efa57-630b-4861-b058-cf58834340f0
2011-06-25 17:56:27 +00:00
sbinnie 434244faf8 Added npwq as an argument to orthogonalize to make the routine more general. This allows it to be used in turbo_lanczos.x (future commit). Relevant calls in ph.x also modified, should present no material difference to ph.x.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7902 c92efa57-630b-4861-b058-cf58834340f0
2011-06-24 20:37:38 +00:00
giannozz 9a28be0f67 make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7886 c92efa57-630b-4861-b058-cf58834340f0
2011-06-16 19:59:38 +00:00
sbinnie 157544a171 Merged lr_cgsolve_all and cgsolve_all. Also updated TDDFPT Makefile and make.depend to reflect this and the last two commits.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7874 c92efa57-630b-4861-b058-cf58834340f0
2011-06-15 17:37:31 +00:00
sbinnie 7d32229920 Merging lr_ch_psi_all and ch_psi_all.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7873 c92efa57-630b-4861-b058-cf58834340f0
2011-06-15 15:53:33 +00:00
sbinnie 7c9855ab8f There is lots of code duplication between ph.x and turbo_lanczos.x . Merging h_psiq and lr_h_psiq.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7871 c92efa57-630b-4861-b058-cf58834340f0
2011-06-15 15:04:11 +00:00
dalcorso 3e7e10d760 Another small change.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7862 c92efa57-630b-4861-b058-cf58834340f0
2011-06-14 08:04:38 +00:00
dalcorso 7b30c87f66 Small correction.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7861 c92efa57-630b-4861-b058-cf58834340f0
2011-06-14 07:52:11 +00:00
giannozz 391de729b7 Final make.depend update before 4.3.1
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7820 c92efa57-630b-4861-b058-cf58834340f0
2011-05-25 09:56:06 +00:00
giannozz 9267f9a4aa Inconsistent calls to io_pattern was causing both PH and D3 to crash
when io_pattern was called, i.e. in anharmonic calculations.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7802 c92efa57-630b-4861-b058-cf58834340f0
2011-05-17 20:18:49 +00:00
calandra be608ff731 Forgot to define variable rdvscf_dir in my previus commit
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7801 c92efa57-630b-4861-b058-cf58834340f0
2011-05-17 16:24:51 +00:00
giannozz 6c92d606a7 Yet another problem with nk1 nk2 nk3 etc: example07 wasn't working any
longer. Not a big deal, but it must be fixed. Tentative solution: 
keep track whether new values are read in yet another logical variable,
copy new values into internal variables if so, do not if not so. I hope
this is the good time...


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7797 c92efa57-630b-4861-b058-cf58834340f0
2011-05-17 15:04:29 +00:00
calandra 6608bcc2c6 dvscf_dir -> rdvscf_dir to avoid mess with that defined in phcom.f90
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7796 c92efa57-630b-4861-b058-cf58834340f0
2011-05-17 14:34:13 +00:00
giannozz 52ac37d99f Compilation error (duplicated definition of dvscf_dir)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7794 c92efa57-630b-4861-b058-cf58834340f0
2011-05-17 12:04:17 +00:00
giannozz 863a50a17d "a_0" renamed "alat" in printout to prevent confusion with Bohr radius
and to be consistent with documentation (upon advice from Nicola Manini)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7793 c92efa57-630b-4861-b058-cf58834340f0
2011-05-17 11:18:28 +00:00
calandra 7eeb97d513 Added input variable
dvscf_dir 
that in the case of an electron-phonon calculation (elph=.true.) 
sets the directory where to search the fildvscf
file. By default (dvscf_dir=' ') the program
looks in outdir.




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7787 c92efa57-630b-4861-b058-cf58834340f0
2011-05-17 09:47:47 +00:00
calandra 6db2ad40bb This option (dvscf_star=.true. ) allows the phonon code to
calcolate the potential variations at all q-points in the 
star of xq by using symmetry and written. The obtained
potential variations are written in real space and
in the cartesian basis (not in the modes basis as usual)
in the subdirectory outdir/_ph0/Rotated_DVSCF/ .  

Matteo Calandra



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7776 c92efa57-630b-4861-b058-cf58834340f0
2011-05-13 15:36:08 +00:00
giannozz 5470ff7c9c Standard for empty character variable is ' ', not ''
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7766 c92efa57-630b-4861-b058-cf58834340f0
2011-05-11 08:03:44 +00:00
giannozz 6eed30a172 One of the recent commits had a number of unexpected side effects. Reverted
(in part) to previous case: nk1,nk2,nk3 are stored in input_parameters for
the time being


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7760 c92efa57-630b-4861-b058-cf58834340f0
2011-05-07 12:09:24 +00:00
dalcorso 9f790a0a31 Routines generalized to the noncollinear case.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7759 c92efa57-630b-4861-b058-cf58834340f0
2011-05-07 10:03:20 +00:00
dalcorso 14f94c6fdf Bug fix: the electron phonon routine was not working any more when compiled in
serial (without the  __PARA flag). 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7754 c92efa57-630b-4861-b058-cf58834340f0
2011-05-05 18:52:31 +00:00
giannozz 77e2b3d9ec Variables nk1,nk2,nk3,k1,k2,k3, moved from tetrahedron module into module
start_k (where they belong) and a separate file; in the phoon code they are
no longer stored into input_parameter (which must disappear from everywhere 
except input-related routines).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7751 c92efa57-630b-4861-b058-cf58834340f0
2011-05-05 14:25:03 +00:00
calandra b2ae3e7027 With this commit I include the possibility of running a phonon calculation
with a different k-point grid than that used for the charge density.
This is equivalent to what was present in previous QE versions when pw.x
was run with the option calculation="phonon" and a number of k-points
different from that used for the charge density.

To use this option specify 
nk1, nk2, nk3 with values differents from zero in the input file
of the ph.x
The variables k1, k2, k3 can also be used to shift the regular
grid from the origin.
An example of the ph.x input file is

Ph
 &inputph
    prefix='MgB2',
    amass(1)= 10.811,    
    amass(2)= 24.305,    
    fildyn='dynq1',
    fildvscf='dvscf_1',
    outdir='./tmpdisp_nk/',
    tr2_ph=1.0d-14,
    trans=.true.,
    epsil=.false.,
    ldisp=.true.,
    nq1=2,nq2=2,nq3=2,
    nk1=16,               <-------------------
    nk2=16,               <-------------------
    nk3=12,               <-------------------
    k1=0,
    k2=0,
    k3=0,
 &end 

The defaults values for k1,k2,k3 and nk1, nk2, nk3 is zero.
The option works both with ldisp=.true. or with the calculation
for a fixed q.
See doc-def/INPUT_PH.def for details on the input file.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7744 c92efa57-630b-4861-b058-cf58834340f0
2011-05-04 20:38:27 +00:00
dalcorso b8d12bbe3d Lines of zero length are allowed when giving the input of k or q points
in the band form. This is useful to join distant points in the BZ on the same
plot.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7727 c92efa57-630b-4861-b058-cf58834340f0
2011-04-29 08:08:07 +00:00
dalcorso 89a195e52a Bug fix: LSDA + constrained magnetization was not working with pools.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7636 c92efa57-630b-4861-b058-cf58834340f0
2011-03-29 14:29:19 +00:00
paulatto 0e4c9fc288 BUGFIX! last minute bugfix for 4.3 version, the D3 code won't compile otherwise!
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7633 c92efa57-630b-4861-b058-cf58834340f0
2011-03-29 09:08:33 +00:00
giannozz 90e75439b4 make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7620 c92efa57-630b-4861-b058-cf58834340f0
2011-03-25 18:35:26 +00:00
degironc fcdd951663 more ACFDT changes not affecting other features.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7559 c92efa57-630b-4861-b058-cf58834340f0
2011-03-10 14:16:56 +00:00
degironc 36c758fe95 modifications to the phonon code that are activated only when
ACFDT is used. All additions are skipped when the acdft_is_active
variable is .FALSE.

sdg+nnlinh


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7558 c92efa57-630b-4861-b058-cf58834340f0
2011-03-09 21:39:09 +00:00
dalcorso a52dec7d64 Small cleanup.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7553 c92efa57-630b-4861-b058-cf58834340f0
2011-03-07 17:37:10 +00:00