Commit Graph

130 Commits

Author SHA1 Message Date
dalcorso 07aca3f914 Added the possibility to generate a uniform mesh of k points in a given
rectangle in reciprocal space. Used to make contour plots of the bands.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9098 c92efa57-630b-4861-b058-cf58834340f0
2012-06-18 08:25:20 +00:00
giannozz 8a2499e38d More removal of obsolete variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8683 c92efa57-630b-4861-b058-cf58834340f0
2012-02-18 14:07:19 +00:00
giannozz 827ef275c6 Removal of unused and undocumented option setnfi
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8677 c92efa57-630b-4861-b058-cf58834340f0
2012-02-17 18:40:28 +00:00
giannozz f0473bfe93 xk and wk arrays are always allocated when reading k-points, even if not
used, to avoid potential problems when routine "init_startk" is subsequently 
called with unallocated arguments. Suggested by Oliviero


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8674 c92efa57-630b-4861-b058-cf58834340f0
2012-02-17 15:32:34 +00:00
dalcorso d49e4e85ff Bug fix: two lines mysteriously disappeared in recent commits.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8170 c92efa57-630b-4861-b058-cf58834340f0
2011-09-27 12:18:39 +00:00
giannozz 29448d9abc Minor correction
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8075 c92efa57-630b-4861-b058-cf58834340f0
2011-08-11 12:06:42 +00:00
giannozz 0d44f77aad Fixed dimension "npk" removed from input_parameters
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8073 c92efa57-630b-4861-b058-cf58834340f0
2011-08-11 12:03:17 +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 1a9539465f Unused variable removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7992 c92efa57-630b-4861-b058-cf58834340f0
2011-07-19 13:56:11 +00:00
giannozz 309c53412a Cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7991 c92efa57-630b-4861-b058-cf58834340f0
2011-07-19 13:47:16 +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 b9d633f243 Small bug fix: the input routine was not able to deal with the case in which
the occupations line has more entries than the number of bands, and pw.x
crashed with a misterious error.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7574 c92efa57-630b-4861-b058-cf58834340f0
2011-03-14 10:04:15 +00:00
marsamos e9c58a2c23 changed all tread in read_cards by specific ttemplate, tionvel, ...
need for calling iteratively read_cards.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7405 c92efa57-630b-4861-b058-cf58834340f0
2011-01-17 16:56:19 +00:00
marsamos 139c43a65d lneb and lsmd moved from control_flags to path-variables in NEB dir
now read_cards and read_namelists can be called specifying the unit
(unit can be different from 5).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7396 c92efa57-630b-4861-b058-cf58834340f0
2011-01-10 17:12:55 +00:00
marsamos 78fd27ec7d path units and files erased from io_files, if(tapos) return added to read_cards
some aditional cleaning for neb purpose in Modules.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7331 c92efa57-630b-4861-b058-cf58834340f0
2010-12-20 22:14:44 +00:00
nn245 f8f27ae895 Use input card ATOMIC_VELOCITIES to set initial velocities in Verlet-MD (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6911 c92efa57-630b-4861-b058-cf58834340f0
2010-07-15 14:39:21 +00:00
nn245 82fca6406c constraint source indentation (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6901 c92efa57-630b-4861-b058-cf58834340f0
2010-07-14 15:26:38 +00:00
nn245 0fc9db435a source cleanup for constraints (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6900 c92efa57-630b-4861-b058-cf58834340f0
2010-07-14 15:26:33 +00:00
nn245 07c7a24d97 apply src-normal (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6899 c92efa57-630b-4861-b058-cf58834340f0
2010-07-14 15:26:32 +00:00
ccavazzoni f48e431fe6 - CP bug fix: "if" cannot be fused in reading the card k_points
all processors but the root were reading the card k_points,
  regardless of the message stating that the card is ignored.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6770 c92efa57-630b-4861-b058-cf58834340f0
2010-05-15 16:49:24 +00:00
nn245 fbcf20d0ad fix read card to distinguish error from end-of-file (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6375 c92efa57-630b-4861-b058-cf58834340f0
2010-02-09 15:16:20 +00:00
ccavazzoni ff4c58f090 - empty states minimization removed from CP,
it was already disabled since a while.
- Empty states can be computed in a more efficient and accurate way
  using PW at gamma directly from CP snapshot.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6190 c92efa57-630b-4861-b058-cf58834340f0
2009-11-21 17:14:58 +00:00
giannozz 38a9d2f6f0 Last commit of yesterday wasn't such a great idea after all
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5909 c92efa57-630b-4861-b058-cf58834340f0
2009-09-09 08:51:49 +00:00
giannozz f43149e546 Subroutine read_card split into read_cards_cp and read_cards_pw.
No advantage at this stage, but once these routines are moved into
CP/ and  PW/ respectively, linking the autopilot module in PWscf
is no longer needed.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5908 c92efa57-630b-4861-b058-cf58834340f0
2009-09-08 19:22:49 +00:00
ccavazzoni ec64b62b84 - obsolete parameter removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5903 c92efa57-630b-4861-b058-cf58834340f0
2009-09-08 14:44:42 +00:00
ccavazzoni 5d3b612cf1 - obsolete FPMD cards removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5899 c92efa57-630b-4861-b058-cf58834340f0
2009-09-08 14:11:59 +00:00
giannozz a3a39fc998 Cleanup: uniform spelling for "Quantum ESPRESSO", removal of f_defs.h,
CMPLX is explicitly typed, blas/lapack are lowercase (consistently with
the convention: FORTRAN COMMANDS = uppercase, all the rest lowercase)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5789 c92efa57-630b-4861-b058-cf58834340f0
2009-08-01 14:26:46 +00:00
paulatto c75d603d2e A few modifications trying to make input parsing more user-friendly:
1. added error handling for card_atomic_species
   (ntyp too large produced funny but cryptic errors)
2. added visual feedback for parsing of costraints
   (unless they are used for collective-variables constraints does give no
    feedback during the entire calculation)
3. added a print of "waiting for input" just before actually reading it
   (trying to reduce the number of "pw.x does nothing" requests for support)
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5577 c92efa57-630b-4861-b058-cf58834340f0
2009-06-04 08:17:58 +00:00
degironc 86b2371ac7 PP/initial_state.f90 code for caluclation of initial-state CLS fixed and
example CLS_FS_example and CLS_IS_example added.

          SdG and Riccardo Sabatini


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5559 c92efa57-630b-4861-b058-cf58834340f0
2009-05-12 11:55:24 +00:00
obm 5ea11712d8 The "compiler bug" I have mentioned is gone now. Tried both with Intel compiler
10.1 and 11.0. Removing modifications.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5514 c92efa57-630b-4861-b058-cf58834340f0
2009-04-06 11:54:56 +00:00
ccavazzoni a9fd37e117 - wrappers module containing wrapper subroutines/functions
used to call C functions with char arguments consistently


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5501 c92efa57-630b-4861-b058-cf58834340f0
2009-04-05 07:45:39 +00:00
obm d5d9929aa8 This is the first iteration in trying to implement a real space treatment of
projectors in USPPs. Hopefully this will allow one to study larger systems.
The modifications are done primarily keeping TDDFPT code in mind
(a branch of QE, you may see detailed explanation in qe-forge which I am trying
to keep tightly integrated). Please do not modify/beautify/make more elegant
 the corresponding subroutines without prior notice, due to their dependencies.
I have tested that the current modifications do not alter the behaviour of pw.x
other than designed with a number of small tests in HG1.
Some Pointers:
-All the new subroutines reside in PW/realus.f90
-A new flag real_space in &electrons control the implementation
-tqr flag is treated seperately.
-The implementation works only for (serial) gamma point single point calculations.
ToDo:
-I have written K point and task groups implementations of most of the corresponding routines, but did not have time to implement.
-Parallelism issues are still to be checked.
-The discrepancy in total energy is <0.002 eV for cutoff of 55Ry/550Ry however,
there are some strange force components. I do not know how this will effect
a possible optimization scheme.

Other:
Trying the compile CVS version in HG1 of sissa, using the "default" compiler
sets, I encountered a very strange compiler bug. Please have a look at
Modules/read_cards.f90 for details. Remove the stupid workaround to your liking.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5493 c92efa57-630b-4861-b058-cf58834340f0
2009-04-02 16:05:09 +00:00
dalcorso 9501d97cdd Bug fix: if some occupations were missing the code started an infinite loop
that filled the disk with garbage.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5469 c92efa57-630b-4861-b058-cf58834340f0
2009-03-11 14:17:24 +00:00
degironc 83f2bfae65 new files and modifications needed to extract a TB hamiltonian in order to
perform a DFT+DMFT calculation.
contributed by Dmtry Korotin, V.I. Anisimov, N. Binggeli et al.
The DMFT part will be loaded separately into QE-forge.

SdG


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5397 c92efa57-630b-4861-b058-cf58834340f0
2009-02-12 08:07:11 +00:00
giannozz e3cc136770 Spelling errors
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5383 c92efa57-630b-4861-b058-cf58834340f0
2009-02-04 20:54:44 +00:00
dalcorso 2060d5cdc0 Added the possibility to read as input k-points only the first and
last point of a line. The weight of the first k-point
is the number of points along the line. (use the keyword tpiba_b or
crystal_b to use this feature).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5237 c92efa57-630b-4861-b058-cf58834340f0
2008-10-23 15:07:39 +00:00
cavazzon e3061676f1 - Few additions to implement the possibility to add external forces to ions
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5062 c92efa57-630b-4861-b058-cf58834340f0
2008-07-22 16:48:11 +00:00
paulatto 31b7791b9a Simple espressions parser re-inroduced in code for atomic positions and
occupations. Added two very simple tests to check it. Not yet implemented
for NEB path selection.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5060 c92efa57-630b-4861-b058-cf58834340f0
2008-07-22 12:40:51 +00:00
paulatto a448d9d7cd Temporary returned to previous version: problem with scientific notation
which I cannot fix right now.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5045 c92efa57-630b-4861-b058-cf58834340f0
2008-07-07 15:13:25 +00:00
paulatto d7ee6d1899 Adding a simple mathematical expression parser written in C and the necessary
wrapper and functions to allow the input of atomic coordinates.
The author of the parser is Vincenzo Lo Cicero who I wish to thank.

PLEASE READ THIS PARAGRAPH:
fortran strings and c strings are different in very subtle ways, thus I am
far from sure that it will work with all compiler. Please try this patch
on you system and report to me if it's giving strange problems!

The parser understands only +, -, *, / and ^ (power), which is more than
enough for out purposes.

At the moment a single card must not contain spaces, e.g. the following line
is correct:
 Si 1/4 1/4 1/4
while the following would return an error:
 Si 1 / 4  1 / 4   1 / 4
this can be improved, but I have not time now.

Additional colums are NOT parsed.

LICENCE:
The parser is copyrighted by Vincenzo Lo Cicero, originally released
under the GPL v3 licence has been relicenced under the GPL v2 in order
to be included in the Quantum-ESPRESSO code.

The author permission has been expressed in the following way by email:
``Per me va bene. Potete includere il codice nel vostro
software sotto licenza GPLv2.''


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5040 c92efa57-630b-4861-b058-cf58834340f0
2008-07-03 14:30:52 +00:00
paulatto 5bc2327384 Maybe an error message, instead of a crash, won't hurt (btw I've lost 1 hours
looking for it).

LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5015 c92efa57-630b-4861-b058-cf58834340f0
2008-06-25 09:13:12 +00:00
cavazzon 4f25065094 - added a check in read_card so that if a specie is given and
no atom of this specie is entered in ATOMIC_POSITIONS
  the code stops. This is to avoid that the code stops later
  with messages unrelated to the real problem.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4816 c92efa57-630b-4861-b058-cf58834340f0
2008-04-16 13:51:38 +00:00
giannozz b593cf85d1 Yet another error message made more explicit. Not that it will help,
but at least, we have tried.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4748 c92efa57-630b-4861-b058-cf58834340f0
2008-03-19 11:17:35 +00:00
giannozz f82d9955ae Erroneous error: the check on the sanity of ATOMIC_POSITION cards was
performed but ignored (error number was set to 0 => ignored).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4745 c92efa57-630b-4861-b058-cf58834340f0
2008-03-18 09:40:02 +00:00
giannozz fb07aef1ba Changes required by interfacing with new electron-phonon code (Matteo):
variable "noinv" (previously defined but unused) disables the usage of
time reversal (q => -q) symmetry in k-point generation. Several changes
here and there to symmetry routines. Beware unexpected side effects.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4735 c92efa57-630b-4861-b058-cf58834340f0
2008-03-11 15:38:23 +00:00
giannozz 8370a4d99b more smd removal
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4388 c92efa57-630b-4861-b058-cf58834340f0
2007-11-02 14:38:04 +00:00
giannozz a2f2848f92 More static arrays and dimensions removed: rho_at rho_atc natx nbndxx
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4365 c92efa57-630b-4861-b058-cf58834340f0
2007-10-24 15:36:52 +00:00
giannozz 97232438bc Missing check on maximum number of k-points added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4325 c92efa57-630b-4861-b058-cf58834340f0
2007-10-08 08:36:32 +00:00
dalcorso 341d6d5603 Added a list of atomic masses. The code uses them when the input masses
are zero or negative.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4040 c92efa57-630b-4861-b058-cf58834340f0
2007-07-17 16:26:27 +00:00
giannozz 45ae58d60b All occurrences of d0, d+N, d-N, replaced with fortran-90 style _DP.
Please do not re-introduce old-style syntax. A uniform syntax allows
if the need arises to change the precision in less than no time.
Courtesy of Pascal Thibeaudeau. Modules/ directory only.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3964 c92efa57-630b-4861-b058-cf58834340f0
2007-06-11 17:13:15 +00:00