Commit Graph

988 Commits

Author SHA1 Message Date
ballabio cb1c811720 Created unified "examples" directory replacing old "cp_examples",
"pw_examples" [Gerardo]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@946 c92efa57-630b-4861-b058-cf58834340f0
2004-06-10 09:37:46 +00:00
giannozz 25ff6785e3 More uspp variables rearrangement (beware undesired side effects!)
qq_spinorb moved into Modules/uspp.f90 as qq_so
dvan => dvan + dvan_so (for spin-orbit only)
PW/clean_pw.f90 replaces PWNC/clean_pw.f90 (PG)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@945 c92efa57-630b-4861-b058-cf58834340f0
2004-06-08 20:00:04 +00:00
deinzer 595bda9fe8 First step to calculate all dyn. matrices needed for the entire dispersion
in one step with pw.
A new calculation is possible called 'dispersion'
in the phonon card new input parameters are:
nq1, nq2, nq3 : number of q points in the direction
tr2_ph : threshold for the phonon calculation (see also INPUT_PH)
Therefore tr2_ph has been moved from phcom.f90 to Module disp in pwcom.f90
UP TO NOW ONLY THE Q POINTS FOR THE DYN. MATRICES ARE CALCULATED AND PRINTED.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@944 c92efa57-630b-4861-b058-cf58834340f0
2004-06-08 16:20:41 +00:00
sbraccia 84b9de5210 Some bugs fixed in NEB
1) Modules/neb_base.f90: the neb error is computed as done in structural
optimizations (convergence when the largest component of the force vector is
less than a threshold).  The rescaling of the elstic constants has been
modified so that they can not be smaller than a minimum value (set to 0.05).
2) PW/compute_scf.f90: a bug in the way startingpot and startingwfc were used
inside neb has been fixed (now scf should be faster).
3) PW/pwscf.f90: cleanup of module-dependencies.
4) pwdocs/INPUT_PW: documentation updated (a detailed explanation of how to
specify initial configurations has been added).
5) PW/neb_routines.f90: file no longer needed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@943 c92efa57-630b-4861-b058-cf58834340f0
2004-06-07 07:43:53 +00:00
dalcorso 2dc7e51528 Small changes. (a double return in ylmr2 and the error message in sph_ind).
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@942 c92efa57-630b-4861-b058-cf58834340f0
2004-06-04 16:05:57 +00:00
fabris 4badde1099 small changes in CPV/restart.f90 and FPMD/restart.f90: both routines
call "read_restart_header" and "write_restart_header" which where
modified in my previous commit.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@941 c92efa57-630b-4861-b058-cf58834340f0
2004-06-02 15:23:18 +00:00
giannozz 2c68e8724d Mismatches in USPP variable type fixed (again)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@940 c92efa57-630b-4861-b058-cf58834340f0
2004-06-02 12:21:59 +00:00
fabris 8f8bb37989 Quantities of a LDA+U calculation are again written on file ".save",
similarly to what was previously done by the "saveall" routine but
according to the new format. Two subroutines have been added to
"io_base" (write_restart_ldaU and read_restart_ldaU) which are called
by "restart".


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@939 c92efa57-630b-4861-b058-cf58834340f0
2004-06-02 10:29:02 +00:00
dalcorso 1922f218c6 npol set to 1 in PW.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@938 c92efa57-630b-4861-b058-cf58834340f0
2004-06-02 08:24:00 +00:00
giannozz df51dc0b2a More USPP variables moving around
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@937 c92efa57-630b-4861-b058-cf58834340f0
2004-06-01 21:22:19 +00:00
giannozz c16e3106a9 More tweaking with USPP variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@936 c92efa57-630b-4861-b058-cf58834340f0
2004-06-01 16:50:03 +00:00
cavazzon e470e3d5a5 missIng array dimensions (int1, int2, .. ) for a parallel build
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@935 c92efa57-630b-4861-b058-cf58834340f0
2004-06-01 08:30:15 +00:00
giannozz 620cd1e1e9 oops...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@934 c92efa57-630b-4861-b058-cf58834340f0
2004-06-01 08:19:10 +00:00
giannozz 47c5de62f8 More USPP_related variables moved to Modules/uspp.f90
Note that lqx => lmaxq for consistency with other names
(those ending in x are static dimensioning)
Beware unexpected side effects (PG)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@933 c92efa57-630b-4861-b058-cf58834340f0
2004-05-31 17:55:33 +00:00
giannozz 598adf557a More USPP_related variables moved to Modules/uspp.f90
Note that nhx => nhm for consistency with other names
(those ending in x are static dimensioning)
Parameter ipp no longer needed: PP name convention as in PWscf (PG)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@932 c92efa57-630b-4861-b058-cf58834340f0
2004-05-31 17:52:55 +00:00
degironc 5b50af5df9 unnecessary change in parameters removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@931 c92efa57-630b-4861-b058-cf58834340f0
2004-05-31 16:22:25 +00:00
degironc 1e8641955f PH: cleanup of cgsolve_all in order to reduce memory use.
zstar, epsilon and dynamical matrices written with
    8 digits only (it should not make any significant difference
    and it should be easier to spot differences in dynmat files
    if 0.123456789E-10 is treated as zero)
    symmetrization is applied already to drho (not anymore to dvscf)
                                              (SdG)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@930 c92efa57-630b-4861-b058-cf58834340f0
2004-05-31 16:19:23 +00:00
dalcorso 6c60bd441a Bug fix: now PWCOND works also when nrx1 or nrx3 is different from nr1
or nr3 (Contributed by A. Smogunov).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@929 c92efa57-630b-4861-b058-cf58834340f0
2004-05-31 14:01:05 +00:00
dalcorso 489795748e Cleanup of PWNC.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@928 c92efa57-630b-4861-b058-cf58834340f0
2004-05-31 12:54:27 +00:00
sbraccia 788675ad30 NEB: added the possibility of specifying one or several intermediate images in the input file (see INPUT_PW). Back-compatible with the old input files.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@927 c92efa57-630b-4861-b058-cf58834340f0
2004-05-28 15:45:19 +00:00
giannozz ee61e86345 iargc explicitely declared
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@926 c92efa57-630b-4861-b058-cf58834340f0
2004-05-28 10:29:52 +00:00
deinzer 7071fc40a4 Added missing use statements when compiled with -DDEBUG
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@925 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 18:26:16 +00:00
ballabio 18e476f2a6 again more "program -in input" [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@924 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 17:29:01 +00:00
ballabio 3e444c17ea more "program -in input" added [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@923 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 16:54:20 +00:00
ballabio ec7882d5e1 Added support for "program -in input"
where program = pp.x, chdens.x, bands.x [Gerardo]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@922 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 16:12:42 +00:00
giannozz 52e6c0ad05 Missing variable definition
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@921 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 15:52:19 +00:00
ballabio 4c0e1b92ef Added support for "ph.x -in input" [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@920 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 15:19:38 +00:00
moscac 899a487ff5 minus_q = .false. in non collinear calculation case and other small
modifications.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@919 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 14:36:04 +00:00
kokalj 79836c8fb1 updating the program to new NEB restart-file format (tone)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@918 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 14:14:25 +00:00
ballabio 3f55c46bab *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@917 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 13:36:28 +00:00
deinzer 8ca368ff75 make raman creates now the executable ram.x in directory Raman
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@916 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 12:30:14 +00:00
ballabio 70415b5b49 workaround for problem with MPI on the Linux cluster at Cineca
[Gerardo]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@915 c92efa57-630b-4861-b058-cf58834340f0
2004-05-26 15:10:22 +00:00
giannozz 4a5732790a Part of the variables for ultrasoft pseudopotentials have been moved to a
new module uspp_param, shared between PW and CP (in file Modules/uspp.f90)
The flag newpseudo is no longer used to decide whether states with oc=0 are
bound or not: for those states, and only for the old RRKJ format, oc is set
to a negative value, and this signals that they are not bound. Not elegant
but simpler than it used to be. The converter to UPF format did not include
those states anyway. Beware unexpected side effects!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@914 c92efa57-630b-4861-b058-cf58834340f0
2004-05-26 11:04:07 +00:00
dalcorso b895225c6e Small bug fix: kpoint was broadcasted twice, n_atom_wfc was not used.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@913 c92efa57-630b-4861-b058-cf58834340f0
2004-05-26 09:37:54 +00:00
deinzer cb63ae8703 added reference to PW/set_kplusb
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@912 c92efa57-630b-4861-b058-cf58834340f0
2004-05-25 14:43:47 +00:00
deinzer f1874de924 Changes in pw to calculate the Raman tensor via the 2n+1 theorem.
A new calculation called 'raman' is now available.
For each k point additional points at k+b will be generated and a nscf
calculation will be performed.
The b vectors are small vectors either in cartesian coordinates or along the
direction along to the nearest neighbours.
A new input card named raman is introduced.
New variables:
b_length:  the length of the b vectors
lcart:     if .true. cartesian direction (default)
           if .false. in direction to the nearest neighbours


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@911 c92efa57-630b-4861-b058-cf58834340f0
2004-05-25 14:22:43 +00:00
giannozz 9a130c7be5 Opened file not closed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@910 c92efa57-630b-4861-b058-cf58834340f0
2004-05-25 13:01:14 +00:00
giannozz 27bd27a816 Ambiguous definition of bfgs removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@909 c92efa57-630b-4861-b058-cf58834340f0
2004-05-25 06:56:51 +00:00
degironc 2cc18d09d3 24 May 2004 density/potential mixing procedure in presence of an electric
field has been changed.
              - Density mixing is now available.
              - Explicit mixing of the dipole moment in potential mixing has
                been removed (in my opinion it was spurious).
              If anybody experiences bad convergence with the present scheme
              please let me know. (SdG)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@908 c92efa57-630b-4861-b058-cf58834340f0
2004-05-24 16:00:40 +00:00
dalcorso 449db69f4f Updated reference output with changes due to the change of the
orthogonalization of the wavefunctions.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@907 c92efa57-630b-4861-b058-cf58834340f0
2004-05-21 16:39:55 +00:00
giannozz a75c83beb2 Merged noncolinear and colinear symmetries (routines sgama, irrek).
Variable degspin removed, constant degspin=2 left.
Please check for unintended effects!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@906 c92efa57-630b-4861-b058-cf58834340f0
2004-05-21 16:19:20 +00:00
sbraccia 12079048da A new check has been added in move_ions in the case of BFGS+LSDA: if when the convergence is achieved the absolute magnetization (computed in electrons and now saved in the module lsda_mod) is less than 1.D-8 a new scf cycle is performed starting from atomic potential and wcfs and the BFGS convergence is checked again. To be tested.
Removed some unused variables from pwscf.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@905 c92efa57-630b-4861-b058-cf58834340f0
2004-05-21 11:15:39 +00:00
sbraccia dd16826fcb Again a couple of errors highlighted by Tone in the format of the NEB restart file (file prefix.neb) at lines 369 and 377.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@904 c92efa57-630b-4861-b058-cf58834340f0
2004-05-21 08:09:41 +00:00
sbraccia 8ce1934a10 Fixed an error highlighted by Tone in the format of the NEB restart file (file prefix.neb): ELSATIC vs ELASTIC
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@903 c92efa57-630b-4861-b058-cf58834340f0
2004-05-20 15:00:16 +00:00
giannozz 1ec488e8f9 Tests and documentation for atomic code added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@902 c92efa57-630b-4861-b058-cf58834340f0
2004-05-20 13:25:37 +00:00
giannozz 386e688411 sorry...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@901 c92efa57-630b-4861-b058-cf58834340f0
2004-05-20 09:21:58 +00:00
giannozz 5563bfdc66 Functions "capital" and "matches" taken out of module "parser"
and added to flib; duplicated routines removed. Manual update.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@900 c92efa57-630b-4861-b058-cf58834340f0
2004-05-19 16:56:56 +00:00
profeta c130600692 update lapack with routines needed by the atomic code and its dependencies:
dgesv.f  dgetrs.f  dptsv.f  dpttrf.f  dpttrs.f  dptts2.f


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@899 c92efa57-630b-4861-b058-cf58834340f0
2004-05-19 15:08:48 +00:00
degironc 43f7dade64 set value of gamma_only=lgamma after read_restart_header
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@898 c92efa57-630b-4861-b058-cf58834340f0
2004-05-18 16:32:51 +00:00
ballabio 869e3f87ac *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@897 c92efa57-630b-4861-b058-cf58834340f0
2004-05-18 11:05:17 +00:00