Commit Graph

2167 Commits

Author SHA1 Message Date
marsamos 4ebd8e097c added two file for having separately djl and vkb0. under though!
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6828 c92efa57-630b-4861-b058-cf58834340f0
2010-06-11 10:23:11 +00:00
dceresoli ffc1aaaad7 Feature request from Intel: constant volume variable cell relaxation
(cell_dofree = 'shape'). (D.C.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6815 c92efa57-630b-4861-b058-cf58834340f0
2010-06-04 15:43:06 +00:00
giannozz d251910c00 smearing='something that does not exist' was silently accepted as 'gaussian'.
Not a great idea after all.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6804 c92efa57-630b-4861-b058-cf58834340f0
2010-05-28 20:19:36 +00:00
giannozz 9ccace5f7f Not sure the previous commit was correct
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6798 c92efa57-630b-4861-b058-cf58834340f0
2010-05-26 19:49:37 +00:00
giannozz 00e9865088 Cleanup: ILAENV/nb/lwork values set according to lapack documentation;
removed unused parallel but not-distributed diagonalizations


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6797 c92efa57-630b-4861-b058-cf58834340f0
2010-05-26 19:32:04 +00:00
dalcorso 3c2396904b PAW extended to the noncollinear / spin-orbit case. (Still experimental)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6786 c92efa57-630b-4861-b058-cf58834340f0
2010-05-23 11:50:22 +00:00
dalcorso 4817cf77a3 Bug fix: a problem with the new G space symmetrization of the magnetization
in the noncollinear case.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6785 c92efa57-630b-4861-b058-cf58834340f0
2010-05-23 11:45:13 +00:00
dalcorso 406b9b903e Small cleanup.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6783 c92efa57-630b-4861-b058-cf58834340f0
2010-05-23 10:42:55 +00:00
giannozz 9e313720bc Misc small corrections/updates/additions
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6779 c92efa57-630b-4861-b058-cf58834340f0
2010-05-20 13:20:32 +00:00
dceresoli 72c0c32fe3 These changes are to be consistent with ewald.f90. Probably I'm too paranoid (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6774 c92efa57-630b-4861-b058-cf58834340f0
2010-05-17 14:15:42 +00:00
dceresoli 95fe17b891 According to the normalization of charge density and wavefunctions, this should
be the correct formula. Unfortunately, it doesn't work: the stress tensor doesn't
match the numerical derivative of energy with respect to volume. (D.C.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6746 c92efa57-630b-4861-b058-cf58834340f0
2010-05-08 17:55:46 +00:00
dalcorso c3f47b3ac9 Bug fix: for some misterious reason this instruction disappeared when symv.f90
was included in symme.f90.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6743 c92efa57-630b-4861-b058-cf58834340f0
2010-05-07 14:42:00 +00:00
marsamos 4121685073 esthetical modif on exx part
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6730 c92efa57-630b-4861-b058-cf58834340f0
2010-05-05 16:29:13 +00:00
giannozz 1bb806cab8 Since no example for DCC has showed up: DCC corrently disabled
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6705 c92efa57-630b-4861-b058-cf58834340f0
2010-05-03 14:31:30 +00:00
giannozz cc906fb993 Added check on LDA+U and noncollinear magnetization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6704 c92efa57-630b-4861-b058-cf58834340f0
2010-05-03 14:24:27 +00:00
marsamos 32a4a45c61 eliminated exx_grid_init and exx_div_check from read_file. It is not
the place and make GWW crash. If some PP needs exx, its pp setup
should call exx_init and exx_div_check.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6699 c92efa57-630b-4861-b058-cf58834340f0
2010-05-03 11:34:16 +00:00
marsamos 9bb988ee20 missing format * in a write statement in exx
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6698 c92efa57-630b-4861-b058-cf58834340f0
2010-05-03 11:30:26 +00:00
ccavazzoni a4cb3967e5 - better definition of northo/ndiag
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6696 c92efa57-630b-4861-b058-cf58834340f0
2010-05-02 12:04:02 +00:00
obm f0ec0671e9 Small touches for easier compilation in MACOS X 10.6
This one enables compilation of pw using macports g95 gcc and apple libtool
I still have to test if the compilation was proper.

MacOs X 10.6 is an esoteric operating system, especially how the '64 bit' is
handled. Any help on the matter is really appreciated

1) g95 from macports complain that beta in exx.f90 is not an integer. I did not
 see any reason why it was not an integer either. Please verify

2) apple suplied ranlib has some 'touches' related to 'universal' libraries
which mix 64 bit 32 bit and ppc all together, this results in lost symbols
in some cases (sadly Q-E is one such case). Details at
http://osdir.com/ml/gnu.libtool.general/2002-07/msg00045.html
modifying configure.ac such that in mac pcs ranlib is run in compatibility mode

The next patch will be about MKL. At least in the trial version, MKL is supplied
with ifort by default, however configure does not look for it. I will check
if it is due to some esoteric behaviour, otherwise enable it.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6692 c92efa57-630b-4861-b058-cf58834340f0
2010-05-02 06:25:01 +00:00
dceresoli 2c8a41023e Stress tensor for EXX. Tested on silicon, HSE functional, 35 Ry cutoff,
8x8x8 k-points, 2x2x2 q-points. I need to run more tests, to be 100% sure
of the implementation. (D.C.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6690 c92efa57-630b-4861-b058-cf58834340f0
2010-05-01 19:59:15 +00:00
giannozz 945a289b4a All postprocessing and phonon codes were reading the DFT from pseudopotentials,
discarding the value of input_dft saved in the XML file. I made a workaround
to prevent this to happen without flooding people with obscure messages, but
teh real solution is to separata data reading (pseudopotentials, xml data
file) and data initialization (dft setting). Beware unintended side effects.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6688 c92efa57-630b-4861-b058-cf58834340f0
2010-05-01 10:56:40 +00:00
giannozz 2f2af84beb Dependencies updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6675 c92efa57-630b-4861-b058-cf58834340f0
2010-04-28 18:15:54 +00:00
dalcorso 8df314bf18 Bug fix: A problem with non nullified pointers crashed the phonon code
when compiled with gfortran.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6672 c92efa57-630b-4861-b058-cf58834340f0
2010-04-27 16:12:51 +00:00
giannozz b6e656f559 Fix (?) for an erratic crash at the end of EXX calculations with images.
The problem is, I think, that two images are trying to remove the same
file, which moreover does not even exist


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6664 c92efa57-630b-4861-b058-cf58834340f0
2010-04-27 12:14:42 +00:00
giannozz 1a347014f0 Do not redirect output once again when using image parallelization with EXX
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6663 c92efa57-630b-4861-b058-cf58834340f0
2010-04-27 11:38:29 +00:00
dceresoli a7d60aa303 Spin polarized B3LYP. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6661 c92efa57-630b-4861-b058-cf58834340f0
2010-04-24 19:03:11 +00:00
giannozz d2bb58cc6a Minor cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6659 c92efa57-630b-4861-b058-cf58834340f0
2010-04-22 15:25:15 +00:00
giannozz c7fcd8d232 Image parallelization for NEB and for EXX do not clash any longer
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6649 c92efa57-630b-4861-b058-cf58834340f0
2010-04-20 10:03:33 +00:00
giannozz 039e3fd4ef Minor cleanup of image parallelization for EXX; output is not redirected
for all images, one writes as usual to standard output. There is still a
lot of cleanup to be done.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6648 c92efa57-630b-4861-b058-cf58834340f0
2010-04-20 09:54:34 +00:00
degironc f4e27ef420 add #ifdef EXX / #endif to previous commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6645 c92efa57-630b-4861-b058-cf58834340f0
2010-04-19 15:47:39 +00:00
marsamos ab3423d8e1 if EXX was active the code restart with density and wave functions from
the previous iteration but reset rho history. seems to work.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6644 c92efa57-630b-4861-b058-cf58834340f0
2010-04-19 15:39:44 +00:00
marsamos 56e32f121f exx restart "normaly", it is working but maybe some
theoretical inconsistency with the use of rho history. To be solve in
a second stage.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6642 c92efa57-630b-4861-b058-cf58834340f0
2010-04-19 14:25:22 +00:00
giannozz 18c1a98ff9 Two glitches in restart: 1) unit iunres should always be closed after reading
the restart file. It wasn't in case of errors reading the file, yielding a
rather mysterious "seqopn error: can't open a connected unit" later when
writing the restart file. 2) Mismatch between the formats of the restart
file in electrons and in c_bands (EXX only) was leading to many occurrences
of case 1)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6641 c92efa57-630b-4861-b058-cf58834340f0
2010-04-19 13:12:45 +00:00
marsamos 300fed5287 added call weights and call exxinit to exx_restart. EXX restart not
still perfectly working.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6638 c92efa57-630b-4861-b058-cf58834340f0
2010-04-17 12:07:16 +00:00
giannozz 0e4ff5fe5a Incorrect call to davcio. Beware: "nwordwfc" in PW is defined as the number
of array elements, not as the number of real numbers in the array as in all
other "nword*" everywhere else. Hence the factor 2 when usd in "davcio"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6632 c92efa57-630b-4861-b058-cf58834340f0
2010-04-16 08:25:29 +00:00
giannozz 48172a0497 Exact exchange with spin works again. There was a problem with a call to
davcio that had replaced an equivalent call to get_buffer: there was
a missing factor 2 (beware the definition of nwordwfc!).
Removed call to clean_pw in exx_loop: it was useless in general,
harmful when occupancies were read from input (it was deallocating
the array f_inp that was subsequently used)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6628 c92efa57-630b-4861-b058-cf58834340f0
2010-04-15 13:22:52 +00:00
giannozz 236056c1b6 More unallocated variables (courtesy of Vittorio Zecca)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6625 c92efa57-630b-4861-b058-cf58834340f0
2010-04-14 13:45:43 +00:00
giannozz ae24ee3e6c Misplaced line in yesterday's commit
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6621 c92efa57-630b-4861-b058-cf58834340f0
2010-04-13 10:05:50 +00:00
giannozz 9b560923a6 Several bad INTENT's fixed (courtesy of Vittorio Zecca)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6620 c92efa57-630b-4861-b058-cf58834340f0
2010-04-12 19:59:12 +00:00
giannozz 161d0a518d Fermi energy always initialized to something
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6605 c92efa57-630b-4861-b058-cf58834340f0
2010-04-08 16:31:28 +00:00
giannozz 0cbeca23b8 Yet Another Unitialized Variable
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6602 c92efa57-630b-4861-b058-cf58834340f0
2010-04-08 12:37:21 +00:00
giannozz 0eb6b52f9a This should be the politically correct way to use "tldeps"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6598 c92efa57-630b-4861-b058-cf58834340f0
2010-04-07 15:40:52 +00:00
nn245 765d0ad490 PAW: Eliminate unnecessary preprocessor macro that get in the way of machine parsing (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6578 c92efa57-630b-4861-b058-cf58834340f0
2010-03-31 09:57:10 +00:00
giannozz 68a8ec1ce8 Yet another unitialized variable; better check on potential and wavefunction
extrapolation


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6568 c92efa57-630b-4861-b058-cf58834340f0
2010-03-30 07:46:54 +00:00
giannozz f3d9019828 Misc cleanup of incorrect calls and uninitialized variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6567 c92efa57-630b-4861-b058-cf58834340f0
2010-03-30 07:16:00 +00:00
giannozz 08edc95a04 The previous commit wasn't actually working, due to the logic (or lack of it)
of add_efield. That piece of code is screwed beyond repair and should be
rewritten from scratch.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6560 c92efa57-630b-4861-b058-cf58834340f0
2010-03-27 13:50:54 +00:00
giannozz 8fe3450b6e Yet another unset variable. Please note that variables defined as intent(out)
MUST be initialized to something in any case


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6559 c92efa57-630b-4861-b058-cf58834340f0
2010-03-27 13:28:51 +00:00
giannozz 1b72de374e After some recent changes to makefile, pw.x was no longer relinked in some
cases in which it should have been. Now it should work again. Note sure why
(never understood thea correct way to use the  "tldeps" mechanism)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6553 c92efa57-630b-4861-b058-cf58834340f0
2010-03-27 10:38:12 +00:00
dceresoli e6da102e37 Read the hybrid DFT from restart file. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6541 c92efa57-630b-4861-b058-cf58834340f0
2010-03-23 20:25:17 +00:00
dceresoli 579ab5eb14 I don't know why get_buffer doesn't work here. Anyway, I've left it commented
out. (D.C.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6539 c92efa57-630b-4861-b058-cf58834340f0
2010-03-23 19:50:32 +00:00
dceresoli ff2daa42e1 Read/write EXX variables from restart file. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6535 c92efa57-630b-4861-b058-cf58834340f0
2010-03-23 15:38:00 +00:00
giannozz bd5f159d53 removed only occurrence of __ALPHA, added check on usage of tetrahedra
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6531 c92efa57-630b-4861-b058-cf58834340f0
2010-03-23 09:57:12 +00:00
degironc 275f198b75 a new option "broyden2" is implemented for NEB optimization (templated
on the one in mix_rho).
I don't know whether it is better than the one implemented by Carlo Sbraccia
back in (2003-2006)...  It performs not worse than Carlo's implentation (still
available as "broyden") on example17 ... and at least I understand it.

stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6511 c92efa57-630b-4861-b058-cf58834340f0
2010-03-18 11:51:56 +00:00
giannozz 81ae64855c Potential and wavefunction extrapolation disabled for non-MD calculations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6509 c92efa57-630b-4861-b058-cf58834340f0
2010-03-17 19:06:34 +00:00
nn245 3f393f442b Cleanup of sources to simplify machine-parsing: PROGRAM name matches name of target executable, cleanup EXTERNAL statements (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6506 c92efa57-630b-4861-b058-cf58834340f0
2010-03-17 12:01:50 +00:00
nn245 4463142589 Rename Modules/functionals.f90 to Modules/funct.f90 to avoid basename clash with flib/functionals.f90 (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6505 c92efa57-630b-4861-b058-cf58834340f0
2010-03-17 12:01:22 +00:00
giannozz 9333e1df30 diagonalization options: cg-serial, david-serial, david-para, david-distpara
removed. Only cg and david left. The number of processors used in parallel
subspace diagonalization should be passed via the -ndiag command-line option
only. Documentation updated accordingly.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6503 c92efa57-630b-4861-b058-cf58834340f0
2010-03-17 07:38:25 +00:00
marsamos 890d319649 added ms2 indications (provisory)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6483 c92efa57-630b-4861-b058-cf58834340f0
2010-03-11 12:29:38 +00:00
giannozz 102b7d2c8c New ggen by Norbert verified and re-commited; useless re-ordering
removed from CP as well; redundant sorting routine kb07ad_cp90 removed;
routines sort_gvec moved into cp_fpmd.f90, together with the other
G-vector related routines taht shlould one day merged with those of PW


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6474 c92efa57-630b-4861-b058-cf58834340f0
2010-03-04 14:38:48 +00:00
nn245 affdef4e48 Revert simplification of ggen.f90 -- could not guarantee correctness (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6473 c92efa57-630b-4861-b058-cf58834340f0
2010-03-02 20:16:28 +00:00
nn245 6027ed1fab ggen.f90: simplify logic, skip duplicate sorting, use F90 array expressions (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6466 c92efa57-630b-4861-b058-cf58834340f0
2010-03-02 15:03:35 +00:00
nn245 4f09a98461 gk_sort.f90: simplify logic, clarify interface (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6465 c92efa57-630b-4861-b058-cf58834340f0
2010-03-02 15:01:23 +00:00
nn245 c886df94f5 data_structure.f90: simplify code (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6464 c92efa57-630b-4861-b058-cf58834340f0
2010-03-02 15:01:18 +00:00
giannozz f251fc3090 Removed #def'ined __ALLOCATABLE that confused some development software tool
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6457 c92efa57-630b-4861-b058-cf58834340f0
2010-03-01 17:07:18 +00:00
giannozz f0fc81c48e programs started with mp_global_start should end with mp_global_end. Not a
big deal: it avoids leaving allocated object at stop


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6451 c92efa57-630b-4861-b058-cf58834340f0
2010-02-25 20:03:07 +00:00
nn245 40fff97ad2 Remove symbols __ALLOCATABLE and __ALLOCATED - they collide with eclipse IDE (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6446 c92efa57-630b-4861-b058-cf58834340f0
2010-02-22 08:14:55 +00:00
nn245 d0f18816e2 src cleanup (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6445 c92efa57-630b-4861-b058-cf58834340f0
2010-02-22 08:14:49 +00:00
nn245 c63ef96da5 Fix indentation (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6444 c92efa57-630b-4861-b058-cf58834340f0
2010-02-22 08:14:43 +00:00
nn245 e8b49314d3 Normalize whitespace and keywords (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6443 c92efa57-630b-4861-b058-cf58834340f0
2010-02-22 08:13:22 +00:00
giannozz beac10ade2 Upon popular request
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6439 c92efa57-630b-4861-b058-cf58834340f0
2010-02-18 20:21:02 +00:00
giannozz 52a8e4d3cf More symmetry cleanup: symmetries in cartesian axis are calculated once
and for all and kept in symm_base module. I haven't noticed any side
effects, but beware.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6438 c92efa57-630b-4861-b058-cf58834340f0
2010-02-18 14:47:03 +00:00
dalcorso a05ce8d65f Another change of output format.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6431 c92efa57-630b-4861-b058-cf58834340f0
2010-02-17 17:39:24 +00:00
giannozz f71f1970cb Format incresed (insufficient in large systems)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6429 c92efa57-630b-4861-b058-cf58834340f0
2010-02-17 16:40:56 +00:00
giannozz 200a7ed1a6 Removed a few tabulators - there shouldn't be any in the code
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6424 c92efa57-630b-4861-b058-cf58834340f0
2010-02-17 04:47:29 +00:00
giannozz 4aab132039 A potentially large array of Miller indices is deallocated and re-allocated
only when used in GWW. Untested: may or may not work


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6419 c92efa57-630b-4861-b058-cf58834340f0
2010-02-16 16:16:04 +00:00
giannozz 1010b95112 Units for electric fields, dipoles, quadrupoles, explicitly written
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6417 c92efa57-630b-4861-b058-cf58834340f0
2010-02-16 13:25:45 +00:00
giannozz ce2e1b655c XSpectra fixed (why does it use a different copy of read_file?), minor
cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6410 c92efa57-630b-4861-b058-cf58834340f0
2010-02-14 15:57:29 +00:00
giannozz 0afbf24881 More symmetry cleanup: checksym and cheall sym inside module symm_base.
checkallsym is called only when atoms are moved or when data file is read.
sgama gven a more dscriptive name (find_sym)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6409 c92efa57-630b-4861-b058-cf58834340f0
2010-02-14 15:36:56 +00:00
giannozz 491a18c860 More symmetry cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6408 c92efa57-630b-4861-b058-cf58834340f0
2010-02-13 20:16:52 +00:00
giannozz da3f938442 More symmetry cleanup (sort of). Symmetry-related variables, together with
routines that find the symmetry of a system, are in module symm_base;
module symme contains only routines for symmetrization of the various
quantities.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6403 c92efa57-630b-4861-b058-cf58834340f0
2010-02-12 20:57:55 +00:00
dalcorso 9f237a538d Bug fix: a factor 1/2 was missing in paw_ddot.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6399 c92efa57-630b-4861-b058-cf58834340f0
2010-02-12 04:57:23 +00:00
dalcorso bfa5e36147 Small bug fix. Wrong error message code.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6387 c92efa57-630b-4861-b058-cf58834340f0
2010-02-11 08:13:59 +00:00
dalcorso a28e0b506f Harmless bug fix. In my opinion the fft done in this routine is useless
becuase rhoin%of_r is recalculated by assign_mix_to_scf_type.
Please check.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6382 c92efa57-630b-4861-b058-cf58834340f0
2010-02-10 08:56:30 +00:00
marsamos bfb4c21cff missing parentesis
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6381 c92efa57-630b-4861-b058-cf58834340f0
2010-02-09 17:36:20 +00:00
giannozz 0fdbee1ab6 First attempt towards a simplification of Makefiles. May or may not work in
all cases, but it looks promising


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6371 c92efa57-630b-4861-b058-cf58834340f0
2010-02-08 19:48:43 +00:00
giannozz 4934b395ba Added signal processing by RdM. Disabled by default, enabled by option
-D__TRAP_SIGUSR1 or using "./configure --enable-signals"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6370 c92efa57-630b-4861-b058-cf58834340f0
2010-02-08 19:25:34 +00:00
giannozz 8b12a63e65 G-space symmetrization with fractional translation "fixed" (sort of).
I still don't understand what was wrong and can't find an argument to
justify the present form


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6369 c92efa57-630b-4861-b058-cf58834340f0
2010-02-08 16:41:35 +00:00
dalcorso 5851e95cc8 Bug fix: a problem with mixing + PAW + dipole field.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6366 c92efa57-630b-4861-b058-cf58834340f0
2010-02-08 10:18:27 +00:00
giannozz 548f4a2f2f Metadynamics: first set of routines and variables removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6362 c92efa57-630b-4861-b058-cf58834340f0
2010-02-05 17:17:26 +00:00
obm c16fc4fa4f I have been trying to increase the accuracy of real_space routines.
Mixing real space and q space algorithm paradigms results in fast but not-so-accurate results
various remedies I have cooked up failed mi to show a significant increase in accuracy.
Some comments, and acknowledgement of tqr+real_space results in a significant
drift in charge follows.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6357 c92efa57-630b-4861-b058-cf58834340f0
2010-02-04 20:57:41 +00:00
obm dec21b199a 1) real space calbec parallelization.
(and this time I am submitting to correct CVS I hope)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6356 c92efa57-630b-4861-b058-cf58834340f0
2010-02-04 17:21:21 +00:00
obm c8a795d895 In becmod, the becp was not reset when initialised. In init_wfc spsi is called through rotate_wfc without
any prior call to calbec, thus a random becp is used. This randomness apparently does not pose a problem,
but in some cases, especially if you are playing with big arrays such as in real_space implementation,
very big values appear, leading to wacky results.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6355 c92efa57-630b-4861-b058-cf58834340f0
2010-02-04 12:08:14 +00:00
nn245 124644b12b Normalize source code (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6353 c92efa57-630b-4861-b058-cf58834340f0
2010-02-04 08:26:28 +00:00
nn245 0f6969c681 allocate_fft.f90: src cleanup (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6352 c92efa57-630b-4861-b058-cf58834340f0
2010-02-04 08:26:22 +00:00
giannozz 74d9b5ebd6 Fixed check if a symmetry group is really a group (it wasn't working in some
cases with fractional translations). The problem with symmetrization in some
simple cases (e.g. Si with origin in the middle on bond) is still there


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6351 c92efa57-630b-4861-b058-cf58834340f0
2010-02-04 07:24:18 +00:00
dalcorso 6c008beb71 The data-file.xml is not removed in a band structure calculation.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6335 c92efa57-630b-4861-b058-cf58834340f0
2010-01-30 12:59:04 +00:00
dalcorso a45094651e Apparently there is a problem with the character tables of the S_4 double
group. Please report any problem that you might find with S_4.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6334 c92efa57-630b-4861-b058-cf58834340f0
2010-01-30 12:40:11 +00:00
dalcorso ebc6fbb7a5 The quantization axis in compute_rho is now chosen compatible with the
point group symmetry.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6332 c92efa57-630b-4861-b058-cf58834340f0
2010-01-29 17:02:16 +00:00
dalcorso 28209081c6 Removed an old tentative to improve the noncollinear-gga case.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6331 c92efa57-630b-4861-b058-cf58834340f0
2010-01-29 16:52:32 +00:00
obm 0eb3ccabe2 1) Rescaling added to addusdens_r is only designed for ground charge density. Huge problem in TDDFPT.
Added an option to disable it. In general, since real_space routines are "high level", that is, they involve
many operations, their precision is rather low (best zero ~ 1e-11 ). Anyone employing chain algorithms
should pay extra attention to drift caused by them. I am more than welcome to any contribution that will
improve accuracy without comprimising performance too much.
2) Some routines that I have used for testing is removed from realus. This module is getting huge...


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6326 c92efa57-630b-4861-b058-cf58834340f0
2010-01-29 11:03:36 +00:00
obm 1bd8daf5ec The same kind of splitting applied to newd for newd_r
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6324 c92efa57-630b-4861-b058-cf58834340f0
2010-01-28 13:23:13 +00:00
obm c122ffed47 1) For TDDFPT purposes, subroutine newd does too many things at once, and accepts too few parameters.
I have splitted them and collected all in a module. Usual calls to newd is not changed, apart from necessity
to include the module, newq is the part I use for calculating response charge density.
2) Some gamma only additions to PH/dv_of_drho.f90 proved to be unnecessary, removing. I am still trying to
find an efficient/minimal impact way to cast this subroutine to use real instead of complex input.

As usual, I have tested before posting, however be sure to check before in your applications.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6322 c92efa57-630b-4861-b058-cf58834340f0
2010-01-27 18:50:07 +00:00
giannozz 67da7be0d1 Check on symmetry group extended to fractional translations - temporary fix
for a rather unpleasant situation: Si with origin in the middle of the bond
doesn't work any longer!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6316 c92efa57-630b-4861-b058-cf58834340f0
2010-01-25 11:17:39 +00:00
giannozz c61e01bbe6 Added check that symmetry operations really form a group in the mathematical
sense. All kind of funny problems can result otherwise. Problem noticed by
Lorenzo. Maybe a similar check should also be added after calculation of the
small group of q in the phonon code, just in case.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6310 c92efa57-630b-4861-b058-cf58834340f0
2010-01-22 11:54:59 +00:00
dalcorso 87a405c510 Bug fix: avoided a possible out of bound error with the D_2h point group.
(Thanks to LP for reporting the bug).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6309 c92efa57-630b-4861-b058-cf58834340f0
2010-01-21 15:00:14 +00:00
giannozz cbe390bdc2 More instances of nonstandard forms for "Quantum ESPRESSO"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6304 c92efa57-630b-4861-b058-cf58834340f0
2010-01-18 13:46:16 +00:00
giannozz a57597c9c6 Fixed compilation problem in gipaw. Reduntant "trnvect" routine replaced
by "cryst_to_cart" (pelase check for unintended side effects)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6303 c92efa57-630b-4861-b058-cf58834340f0
2010-01-16 06:43:54 +00:00
giannozz 2f6f868631 More minor symmetry cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6301 c92efa57-630b-4861-b058-cf58834340f0
2010-01-15 15:33:11 +00:00
marsamos 347a6682f4 continuing porting of HSE
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6297 c92efa57-630b-4861-b058-cf58834340f0
2010-01-15 10:22:34 +00:00
giannozz 6c5888721f Cleanup of matrix crystal to cartesian transformations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6295 c92efa57-630b-4861-b058-cf58834340f0
2010-01-15 07:36:54 +00:00
giannozz fa3f8d4816 More symmetry cleanup + fixed a bug introduced in the last commit
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6292 c92efa57-630b-4861-b058-cf58834340f0
2010-01-14 20:17:37 +00:00
marsamos 278017c5e7 HSE porting. pw is compiling. HSE is running. To be tested more.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6291 c92efa57-630b-4861-b058-cf58834340f0
2010-01-14 13:40:16 +00:00
giannozz 655b713f25 More symmetry cleanup: symtns => symmatrix (works in cartesian coordinates,
supersedes GIPAW/sym_cart_tensor.f90) - GIPAW and VdW untested


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6288 c92efa57-630b-4861-b058-cf58834340f0
2010-01-11 22:48:10 +00:00
giannozz 940e2465f8 More symmetry cleanup: symz => symtensor in module symme, acting on
cartesian coordinates (no longer crystal axis). GIPAW untested.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6286 c92efa57-630b-4861-b058-cf58834340f0
2010-01-10 19:51:53 +00:00
giannozz 2c3c6f60d0 Minor symmetry cleanup: routines symscalar, symvect moved into module symme.
Beware: "symvector" now works on vectors in cartesian coordinates, not crystal
axis as previous "symvect"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6285 c92efa57-630b-4861-b058-cf58834340f0
2010-01-10 13:22:09 +00:00
dalcorso 0b1e1ddc48 Bug fix: a check on a noninitialized pointer caused a crash of ph.x on my PC.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6284 c92efa57-630b-4861-b058-cf58834340f0
2010-01-10 08:29:36 +00:00
giannozz 8c29be5d5a Forgot to remove this useless file
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6283 c92efa57-630b-4861-b058-cf58834340f0
2010-01-09 15:25:17 +00:00
giannozz a4cf0f888b Minor symmetry cleanup: S^{-1} moved to symmetry module and its usage
made uniform. It seems to work, but beware unintended side effects.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6282 c92efa57-630b-4861-b058-cf58834340f0
2010-01-09 15:21:34 +00:00
giannozz 93745edf3b Wrappers for real-space symmetrization removed. STM seems to work;
no warranty for ELF and local_dos.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6269 c92efa57-630b-4861-b058-cf58834340f0
2010-01-07 17:20:31 +00:00
paulatto 134d3ae78b Wrong dimension declared for ityp
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6266 c92efa57-630b-4861-b058-cf58834340f0
2010-01-07 12:08:50 +00:00
giannozz bd651b108c Better (?) algorithm for G-space symmetrization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6264 c92efa57-630b-4861-b058-cf58834340f0
2010-01-06 16:54:57 +00:00
ccavazzoni a17b27ed50 check on number of plane wave (npwx) should be modified
for parallel execution (npwx is local whereas nbnd is global),
otherwise it fails when using lots of processors.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6263 c92efa57-630b-4861-b058-cf58834340f0
2009-12-23 22:51:39 +00:00
giannozz 315487eef5 Parallel distributed reciprocal-space symmetrization. Not a big deal
(large system have seldom symmetries) and not a big effort either (but
the variable-cell case was really nasty, due to the loss of G-vector
ordering). Currently the new routines are hidden into module symme and
called by wrappers that make it simple to revert to the old algorithm.
It works for all examples in tests/ in both serial and parallel execution,
but needs real-life testing. In the noncolinear case the results seem to
be invariant with respect to usage of S or S^-1 to rotate the magnetization,
so more testing (or a more reliable theory) is needed.

For the time being, it works only for PW and (untested) PP. PHonon etc
still use the old-fashioned real-space symmetrization.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6261 c92efa57-630b-4861-b058-cf58834340f0
2009-12-22 17:01:28 +00:00
giannozz f0c178fbb8 Previous "small" change was not correct
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6260 c92efa57-630b-4861-b058-cf58834340f0
2009-12-22 15:51:10 +00:00
giannozz a27cf81d98 A few minor changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6259 c92efa57-630b-4861-b058-cf58834340f0
2009-12-22 13:50:33 +00:00
giannozz 188903c6ee Ooops, previous commit hadn't disappeared after all...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6258 c92efa57-630b-4861-b058-cf58834340f0
2009-12-21 17:59:44 +00:00
giannozz 6faa565519 (re-commit of a change that went missing in the upgrade of qe-forge)
Symmetrization of the charge density for the gamma_only case is no longer
performed (it is not needed). Symmetrization of forces and stresses is
still performed to prevent loss of symmetry during structural optimization.
Minor numerical differences may follow, but I haven't noticed any nasty
side effects


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6257 c92efa57-630b-4861-b058-cf58834340f0
2009-12-21 17:57:39 +00:00
giannozz 3433c9a1d9 Removed symmetrization of the charge density in the gamma-only case. I don't
think there will be any side effects, but in case, it is easy to revert to
the previous case (by just removing a "go to"). In principle, symmetrization
of the charge density is needed only if we have k-points in the BZ that are
not in the IBZ. Symmetrization of forces and stresses is still there, because
it ensures the correct symmetry.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6256 c92efa57-630b-4861-b058-cf58834340f0
2009-12-19 17:24:00 +00:00
giannozz 629c88cc4f call to environment_end displaced after cpu time report so that it makes
the final printout


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6255 c92efa57-630b-4861-b058-cf58834340f0
2009-12-18 12:38:02 +00:00
obm a12cff2d29 This is the first part in my effort to merge TDDFPT with QE more tightly. I have eleminated disambigious
subroutines which basically do the same with only slight modifications. However, this requires some technical
touches to PWSCF. I am trying to keep this organic and minimal-impact since QE still lacks a SDE.
I will be adding the changes gradually as the tests complete.

In this part I add rho as a explictly read variable in addusdens, since it is used for "response charge densit
y"
not the "ground state density" in TDDFPT code. PWSCF tests show no impact. Please check.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6249 c92efa57-630b-4861-b058-cf58834340f0
2009-12-15 10:51:12 +00:00
dalcorso 8c23c1b256 Small changes: print also the core correction contribution to the forces
when DEBUG is true.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6239 c92efa57-630b-4861-b058-cf58834340f0
2009-12-10 17:10:16 +00:00
giannozz 958655432b The English of the error message just added was less than satisfactory
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6230 c92efa57-630b-4861-b058-cf58834340f0
2009-12-02 14:24:43 +00:00
giannozz 81ea8f002c Added check to prevent usage of iterative diagonalization where it cannot work
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6229 c92efa57-630b-4861-b058-cf58834340f0
2009-12-02 14:13:40 +00:00
giannozz 233a5e336f Printout of information on Gamma tricks was done before gamma_only was set.
Moved after the call to iosys. Maybe it should moved to summary.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6228 c92efa57-630b-4861-b058-cf58834340f0
2009-12-01 20:14:56 +00:00
giannozz 8ca742d1f6 Small bug: invmat should not be called with the same matrix in input and in
output. Nothing nasty happens, but the determinant, which is calculated for
3x3 matrices only, will be incorrect. Not a big deal, since it is never used,
but an input matrix with large coefficients can result in a bogus error message.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6227 c92efa57-630b-4861-b058-cf58834340f0
2009-11-30 09:35:01 +00:00
giannozz abb9182ba8 Variable 'multiplicity' removed from input
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6214 c92efa57-630b-4861-b058-cf58834340f0
2009-11-24 09:10:27 +00:00
giannozz 046f46ac07 Pseudopotential files are opened with action='read', as suggested by Uli
Aschauer, to prevent problems on Lustre filesystem (whatever it is). It
should be harmless on all machines. Maybe it would be a good idea not to
read the same PP file from all processors, though.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6212 c92efa57-630b-4861-b058-cf58834340f0
2009-11-23 20:51:07 +00:00
dalcorso 2d2729762c Missing line in this morning commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6207 c92efa57-630b-4861-b058-cf58834340f0
2009-11-23 13:11:47 +00:00
dalcorso f925d23771 In my opinion this instruction is wrong. print_clock_pw should not
modify the output organization. Otherwise after calling this routine
the images cannot write any more in their output files. Please check.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6202 c92efa57-630b-4861-b058-cf58834340f0
2009-11-23 08:17:39 +00:00
dalcorso f8af43dd70 nproc_image saved on the xml file.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6201 c92efa57-630b-4861-b058-cf58834340f0
2009-11-23 08:12:27 +00:00
giannozz 519cf4daa9 Recently introduced error message for dual>4 case downgraded to warning
except for exact exchange


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6172 c92efa57-630b-4861-b058-cf58834340f0
2009-11-18 15:02:47 +00:00
giannozz f1ce1e4b26 More minor cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6166 c92efa57-630b-4861-b058-cf58834340f0
2009-11-17 13:41:14 +00:00
giannozz bbee9b22aa cp.x no longer compiling: cryst_to_car was missing. Moved from PW/ to flib/
(seems to me a more appropriate place tahn Modules/). Minor cleanup: two
variables, one for CP and one for PW, with the same meaning and equally
misleading names (atomic_positions and tau_units) merged into one with
a more descriptive name (tau_format)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6165 c92efa57-630b-4861-b058-cf58834340f0
2009-11-17 13:08:14 +00:00
dalcorso a48e05caed In the case lkpoint_dir=.false. the eigenvalues are written on a file
separated from data-file.xml. This speedup the random searches inside this
file when there are many k points.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6163 c92efa57-630b-4861-b058-cf58834340f0
2009-11-17 11:37:54 +00:00
sclauzer d20c2d0bea Moving initialization subroutine to a separate file, since it needs to be
called from read_file (besides from setup). GS


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6162 c92efa57-630b-4861-b058-cf58834340f0
2009-11-17 11:07:56 +00:00
dalcorso d058725e7b Bug fix: in some cases the k point reduction was not done correctly when
t_rev is important.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6159 c92efa57-630b-4861-b058-cf58834340f0
2009-11-17 08:38:01 +00:00
giannozz 3bbf926eea Wavefunction files for extrapolation are written to wfcdir, not to outdir
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6157 c92efa57-630b-4861-b058-cf58834340f0
2009-11-17 05:36:23 +00:00
giannozz 6947ed7f6d Error message issued when ecutrho > 4*ecutwfc for non-US or non-PAW
calculations


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6144 c92efa57-630b-4861-b058-cf58834340f0
2009-11-13 07:19:38 +00:00
dalcorso db2ebd95e5 Bug fix: recent memory leakage fix crashed the post-processing codes in
the PAW+GGA case.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6124 c92efa57-630b-4861-b058-cf58834340f0
2009-11-10 08:32:30 +00:00
giannozz 976fdf6f4e More minor cleanup (this time "harmless", not "harmful"!)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6123 c92efa57-630b-4861-b058-cf58834340f0
2009-11-09 18:53:05 +00:00
giannozz 90a501d84e variables ortho_para and use_task_group moved from control_flags to
mp_global, which seems to me a more appropriate place. Many changes
but little stuff. Hopefully harmful, but no guarantee: please check!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6122 c92efa57-630b-4861-b058-cf58834340f0
2009-11-09 16:07:19 +00:00
giannozz ee625f91c8 EXX + disk_io='high' + calculation without exact exchange = crash
(x_occu;ation was written to file but not allocated)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6118 c92efa57-630b-4861-b058-cf58834340f0
2009-11-08 17:30:02 +00:00
giannozz 3ddfa0f460 More of the same
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6116 c92efa57-630b-4861-b058-cf58834340f0
2009-11-08 11:49:26 +00:00
giannozz fcb09dd617 More initialization cleanup: clock and stack initialization moved into
environment_start; a few useless wrappers removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6115 c92efa57-630b-4861-b058-cf58834340f0
2009-11-08 10:11:24 +00:00
giannozz 805b860d62 Merge of initial printout between CP and PW: CPV/environment.f90 moved
to Modules/environment.f90 and generalized to PW and other codes.
PW/startup.f90 is kept as a wraper for now. The initial message in CP
looks now like the one in PW (please check if it satisfactory). The
compilation date has disappeared from info printed by CP: was it useful?
Makefiles and make.depends updated. ld1 does not depend any longer upon
files in PW/ . Miscellaneous cleanup.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6111 c92efa57-630b-4861-b058-cf58834340f0
2009-11-06 17:28:19 +00:00
ccavazzoni e54fa02d93 - bug fix, array deallocated in the wrong place
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6109 c92efa57-630b-4861-b058-cf58834340f0
2009-11-06 07:34:36 +00:00
ccavazzoni f149ff1bcc - bug fix, small memory leakage
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6105 c92efa57-630b-4861-b058-cf58834340f0
2009-11-04 16:24:47 +00:00
marsamos e12c2d4f7a forgot to erase a debug write(0,*) in setup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6102 c92efa57-630b-4861-b058-cf58834340f0
2009-11-03 18:02:07 +00:00
marsamos 1db289b384 call to exx_div_check added to setup.f90. This call was missing
after modif for gww compatibility. notification done by Hannu Komsa.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6101 c92efa57-630b-4861-b058-cf58834340f0
2009-11-03 17:57:31 +00:00
dalcorso 39cb43eac6 Save memory in the nonmagnetic spin-orbit case. Some variables are
allocated nspin_mag.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6079 c92efa57-630b-4861-b058-cf58834340f0
2009-10-23 11:11:36 +00:00
giannozz 3fedf31c6e Yestarday's changes suggested by Guido R. wasn't properly implemented (again)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6073 c92efa57-630b-4861-b058-cf58834340f0
2009-10-23 05:09:21 +00:00
giannozz a5206236d7 Oops...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6071 c92efa57-630b-4861-b058-cf58834340f0
2009-10-22 13:41:41 +00:00
giannozz 5234d91080 Minor fix suggested by Guido
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6070 c92efa57-630b-4861-b058-cf58834340f0
2009-10-22 13:40:38 +00:00
dalcorso 81d2b3fb9b becp_type used more extensively in the phonon code.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6062 c92efa57-630b-4861-b058-cf58834340f0
2009-10-21 06:34:59 +00:00
dalcorso d2ccad0d2e Parameter max_irr_dim removed from phonon and from d3.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6048 c92efa57-630b-4861-b058-cf58834340f0
2009-10-20 05:59:54 +00:00
giannozz 9dcdcb6172 ortho_para removed from input variables (it has been declared obsoclescent
since a long time)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6047 c92efa57-630b-4861-b058-cf58834340f0
2009-10-19 19:56:33 +00:00
marsamos 9a3df11f28 add libblas and liblapack in tldeps of PW Makefile
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6038 c92efa57-630b-4861-b058-cf58834340f0
2009-10-19 12:57:24 +00:00
giannozz d7357d5cd9 Mior (but potentially dangerous) changes to parallel initialization:
most of what was in PW/startup.f90 moved into Modules/mp_global.f90 in
view of a merge with CP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6037 c92efa57-630b-4861-b058-cf58834340f0
2009-10-18 17:48:34 +00:00
giannozz f1e241876b First attempt to solve the problem of xcrysden not reading the final
coordinats in a relax calculation. I followed Tone's suggestion. The
delimiters for the final set of cordinates are just one of the possible
choiceis and can be easily changed in output_tau.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6036 c92efa57-630b-4861-b058-cf58834340f0
2009-10-17 11:19:30 +00:00
giannozz 7b63f310dd Nasty memory leak fixed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6033 c92efa57-630b-4861-b058-cf58834340f0
2009-10-17 06:52:56 +00:00
dalcorso 0ee7dd22c0 Small cleanup. A few declared but not used variables removed.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6008 c92efa57-630b-4861-b058-cf58834340f0
2009-10-15 13:04:39 +00:00
marsamos a94c1c4026 add eelib in tldeps of pw Makefile as it was not compiling from
PW dir (make all)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6007 c92efa57-630b-4861-b058-cf58834340f0
2009-10-14 17:01:11 +00:00
dalcorso 4bde8fcc6b There were a few inaccuracies in the symmetry names.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6006 c92efa57-630b-4861-b058-cf58834340f0
2009-10-14 15:43:17 +00:00
dalcorso 79c630046d Previous commit was not completed.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6003 c92efa57-630b-4861-b058-cf58834340f0
2009-10-14 14:43:03 +00:00
sclauzer 53385d4cc5 Offsets of atomic wavefunctions used for LDA+U projections is now computed only once in setup and stored,
instead of recomputing them several times (they do not change during the run).
GS


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5997 c92efa57-630b-4861-b058-cf58834340f0
2009-10-07 13:11:59 +00:00
giannozz bc5f8817c9 mpime not used in several places, minor updates. I also removed the "!"
in "no symmetry" because it makes unnecessary confusion with the "!"
marking the converged scf energy


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5992 c92efa57-630b-4861-b058-cf58834340f0
2009-10-01 19:31:20 +00:00
giannozz 1a41b358bb Harris-Foulkes-Weinert energy not correct with DFT-D (van der Waals).
There may be more cases in which an energy term is missing from the
HFW energy (eg: external forces). Courtesy of Javier Fuhr.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5984 c92efa57-630b-4861-b058-cf58834340f0
2009-09-29 16:30:28 +00:00
sclauzer 2f4fc09492 Forgot to remove some debugging printout in previous commit. GS
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5981 c92efa57-630b-4861-b058-cf58834340f0
2009-09-29 06:02:15 +00:00
sclauzer 81d6223de9 Constraint on the polar angle theta of the noncollinear magnetization was working only for a starting magnetization in the xz plane, and
it could not be used with a target theta of 90 degrees. Now it should work reasonably well for any (initial theta,target theta), although achieving convergence remains tricky in some cases.
Parameter lambda is not automatically decreased and then increased, contrary to what written in the docs. Documentation made consistent.
GS


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5980 c92efa57-630b-4861-b058-cf58834340f0
2009-09-29 05:44:16 +00:00
giannozz 246b5a681f Neb now works with "disk_io='low'" (but not yet with "none")
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5974 c92efa57-630b-4861-b058-cf58834340f0
2009-09-27 10:39:24 +00:00
giannozz 26ec9c411b Yesterday's commit had a bug that affected NEB. Some cleanup.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5973 c92efa57-630b-4861-b058-cf58834340f0
2009-09-27 04:12:20 +00:00
giannozz 5f207c1ad2 When the scratch directory (outdir) is not present, it is created.
Tested only in serial execution; it should work in parallel as well.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5971 c92efa57-630b-4861-b058-cf58834340f0
2009-09-26 08:13:42 +00:00
giannozz 5d4372e58a Cleanup: gfortran hacks split into __GFORTRAN (for bugs) and __STD_F95
(for what is not a bug but a feature of standard f95: no allocatable arrays
in derived types); GWW made gfortran-compatible (#endif something is also
not standard ; removed unused allocate_bec and deallocate_bec; make.depend,
configure, doc updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5970 c92efa57-630b-4861-b058-cf58834340f0
2009-09-25 14:05:11 +00:00
giannozz 1bd3370701 Namelist &phonon and related variables removed from PWscf. It wasn't working
any longer since a long time. Documentation and GUI updated (no warranty the
latter works). Further cleanup of nelec, neldw, nelup in the documentation


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5968 c92efa57-630b-4861-b058-cf58834340f0
2009-09-24 19:44:04 +00:00
dalcorso ffb129fd5a Bug fix: Problems with the recent changes to becp in the noncollinear case.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5965 c92efa57-630b-4861-b058-cf58834340f0
2009-09-22 14:55:15 +00:00
dalcorso b7a0978afc Small bug fix: some files were not closed when one_atom_occupations is true.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5963 c92efa57-630b-4861-b058-cf58834340f0
2009-09-22 08:14:39 +00:00
dalcorso b46490c368 The contribution of the magnetization is not calculated when domag is false.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5962 c92efa57-630b-4861-b058-cf58834340f0
2009-09-22 08:11:47 +00:00
dalcorso ec1125455a Avoid to declare vectors with 0 or negative indeces.
Small bug fix: avoid possible problems with input_nks when nat=0.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5961 c92efa57-630b-4861-b058-cf58834340f0
2009-09-22 08:07:56 +00:00
dalcorso 8136dd3e4b With normal verbosity, k-points are printed only when nks<100.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5960 c92efa57-630b-4861-b058-cf58834340f0
2009-09-22 07:57:16 +00:00
degironc 1883640eb7 additional bec_type-related changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5959 c92efa57-630b-4861-b058-cf58834340f0
2009-09-21 13:38:34 +00:00
degironc 190839d0c6 more becp simplifications.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5956 c92efa57-630b-4861-b058-cf58834340f0
2009-09-19 08:32:22 +00:00
marsamos 0fd9aba5ac subroutine exx_grid_init cut --> exx_grid_init and exx_div_check
for maintain coherence with GWW


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5954 c92efa57-630b-4861-b058-cf58834340f0
2009-09-18 16:10:10 +00:00
degironc 4c1a5e47c8 variables nelec, nelup and neldw removed from input
now only tot_charge, tot_magnetization (REAL!) and multiplicity are available.
documentation updated
inputs in examples, tests and cptest updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5949 c92efa57-630b-4861-b058-cf58834340f0
2009-09-18 13:30:27 +00:00
giannozz ef4a792bd3 The last "becp" changes were missing in just one file
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5938 c92efa57-630b-4861-b058-cf58834340f0
2009-09-16 20:08:13 +00:00
degironc fb6d84f554 In an attempt to unifying the management of becp-like variables in various cases
(gamma_only, noncolin and generic k) a derived data-type bec_type is introduced
in becmod with component %r (for gamma real case), %nc (for non colinear case)
and %k (for the generic k case) .
The changes were tivial (rbecp -> becp%r, becp->becp%k, becp_nc->becp%nc) but
pervasive... I tried my best to test that everything is ok

stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5937 c92efa57-630b-4861-b058-cf58834340f0
2009-09-16 15:26:25 +00:00
degironc 21f7afef88 previous definition of E-field units restored.
alternative definition still under testing.
stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5936 c92efa57-630b-4861-b058-cf58834340f0
2009-09-16 07:02:48 +00:00
degironc 7d5ba4b623 input management of the assume_isolated case modified.
Now assume_isolated is a character variable with values 'none' (default), 'makov-payne', 'dcc', or 'martyna-tuckerman'.
 do_ee and which_compensation variables no longer in the input.
 Details in the INPUT_PW.* files.
 cluster_example and tests/cluster?.in also updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5935 c92efa57-630b-4861-b058-cf58834340f0
2009-09-15 20:29:07 +00:00
degironc 21bf06cb44 calculation of [H,x]psi> isolated from PH/dvpsi_e.f90 and put in
PW/commutator_Hx_psi.f90. This last routine only uses variables
already defined in PW.

stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5932 c92efa57-630b-4861-b058-cf58834340f0
2009-09-14 20:32:23 +00:00
giannozz bfacca0a3d qvan2.f90 modified again so that i) it works for non-openMP case, and
2) it doesn't have the subtle bug that was present two versions ago.
dqvan2.f90 also modified to fix the subtle bug (no openMP version yet).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5928 c92efa57-630b-4861-b058-cf58834340f0
2009-09-13 16:59:24 +00:00
marsamos d212b0c605 add module coulomb_vcut for EXX div (G. Bussi, A. Ferretti, L. Martin-S)
add plugins dir (and related modif to Makefile) for "external applications"
add released wannier90 (from www.wannier90.org) in plugins
small modif exx example
small bug fixed in nscf calc save_in_cbands for compilation with -DEXX


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5927 c92efa57-630b-4861-b058-cf58834340f0
2009-09-13 16:48:24 +00:00
degironc 0d4b11b45e previous commit (as of 26/08/09) on OPENMP parallelization (or rather the "#if ! defined _OPENMP" statements) broke the example02 for nickel on my laptop.
This change works for me. please check on other situations.
SdG


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5926 c92efa57-630b-4861-b058-cf58834340f0
2009-09-13 13:27:25 +00:00
degironc 163c24338d couple of fixes for parallel execution
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5923 c92efa57-630b-4861-b058-cf58834340f0
2009-09-12 06:32:04 +00:00
degironc 0cda1899c9 first fix to martyna_tuckerman.f90 for parallel execution
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5920 c92efa57-630b-4861-b058-cf58834340f0
2009-09-10 10:00:33 +00:00
giannozz 1e5e2ec128 Small changes to output format to make automatic testing possible
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5915 c92efa57-630b-4861-b058-cf58834340f0
2009-09-09 14:24:21 +00:00
degironc ea12898a5d first implementation of Martyna-Tuckerman method to decouple periodic
images in a cluster calculation.  Still to be tested in parallel, it
 has been tested for Gamma vs 0 0 0 and for nspin=1 and 2. Forces seem
 to be ok. In the few cases considere there is no significant increase
 of workload with respect to the periodic calculation.

 plot_io.f90 moved from PP to flib because it may be needed
 in PW/martyna_tuckeman.f90 for debugging and in this way circular
 references are avoided. It only USE low-level modules like io_global,
 kinds, and constants so it should be ok.

 Module ws_base.f90 added in Modules. It deals with basic operations
 associated to Wigner-Seitz cell. The implementation should be general;
 it has been tested for SC and FCC only.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5911 c92efa57-630b-4861-b058-cf58834340f0
2009-09-09 12:59:40 +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
paulatto 640387cc8c As path calculations (NEB and SMD) do not currently work with low and none
disk_io, I've put a check to prevent the user from doing it. Previously
the code would stop at second path iteration with very confusing
diagonalization errors.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5895 c92efa57-630b-4861-b058-cf58834340f0
2009-09-07 10:12:03 +00:00
giannozz cd8b34aaac Updated startup message with reference (not yet for CP; I think that
the startup routine should be the same for PW and CP). By the way:
we are leaving the five initial characters of each column blank, for no
good reason. Maybe this dates back to the era of punched cards?


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5886 c92efa57-630b-4861-b058-cf58834340f0
2009-09-04 15:31:07 +00:00
giannozz a13cd1f18b Misplaced routines re-placed, Makefiles updated:
Modules/vxccg.f90 split into atomic/vxcgc.f90 and flib/radial_gradients.f90
Modules/metagga.f90 moved to flib/metagga.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5884 c92efa57-630b-4861-b058-cf58834340f0
2009-09-04 13:40:13 +00:00
giannozz 121092cc70 Incorrect check on cell optimization via damped md when constraints
were present


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5880 c92efa57-630b-4861-b058-cf58834340f0
2009-09-02 13:05:13 +00:00
ccavazzoni 260dde0e0e - fix of recent update
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5869 c92efa57-630b-4861-b058-cf58834340f0
2009-08-29 21:44:09 +00:00
ccavazzoni 75c405c857 - added DIRECT_IO_FACTOR for SX NEC computers
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5868 c92efa57-630b-4861-b058-cf58834340f0
2009-08-28 10:45:07 +00:00
ccavazzoni d632984fbc - more OpenMP parallelization
thanks to Harald Klimach


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5867 c92efa57-630b-4861-b058-cf58834340f0
2009-08-28 10:41:21 +00:00
ccavazzoni 12c89f0bf6 - more OPENMP parallelization
- two nested loops substitute by a lookup table for better performance
thanks to Harald Klimach


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5866 c92efa57-630b-4861-b058-cf58834340f0
2009-08-28 10:35:38 +00:00
ccavazzoni 8899dcee66 - more OPENMP parallelization
thanks to Harald Klimach


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5865 c92efa57-630b-4861-b058-cf58834340f0
2009-08-28 10:34:01 +00:00
ccavazzoni 35e9c36314 - numerical issue fixed
- OpenMP parallelization


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5864 c92efa57-630b-4861-b058-cf58834340f0
2009-08-26 15:43:25 +00:00
degironc d3aab8e518 small error corrected in the definition of the argument of the
saw-tooth potential for slab calculationo with E-field.
the "physical" dimensions of the R-space grid are nr1,nr2,nr3 NOT nrx1,nrx2,nrx3
stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5862 c92efa57-630b-4861-b058-cf58834340f0
2009-08-26 09:03:09 +00:00
ccavazzoni ae6da4e828 - loops computing square module of psi moved to a subroutine,
this is because some compiler (e.g. NEC compiler) was not able to properly
  vectorize and parallelize the loop giving very bad performance.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5861 c92efa57-630b-4861-b058-cf58834340f0
2009-08-25 14:39:27 +00:00
paulatto df81711c1e Inserted iuntmp=90 to be used for closing and deleting files at the end of
calculation (previously unit=4 was hardcoded and could possibly conflict
with other parts of code)
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5857 c92efa57-630b-4861-b058-cf58834340f0
2009-08-22 10:24:56 +00:00
ccavazzoni 74d2f8269f - memory leakage fixed.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5850 c92efa57-630b-4861-b058-cf58834340f0
2009-08-15 09:08:33 +00:00
dceresoli 278d48d9d5 Workaround: NMR calculations when ibrav=0 and celldm(1) is small.
Now it's perfect. (D.C.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5848 c92efa57-630b-4861-b058-cf58834340f0
2009-08-14 16:10:25 +00:00
marsamos 5b9fad2d89 in realus.f90 : added routines from GWW group
fix clean_pw.f90 and wannier_clean (use_wannier part)
in new_occ.f90 : first_available_band set to INTEGER (else not compiling)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5825 c92efa57-630b-4861-b058-cf58834340f0
2009-08-06 14:35:21 +00:00
degironc 1aca5e8487 fix for the case use_wannier=.false but lda+u or one_ato_occupatios =.true.
in these case the atwfc and satwfs files should be kept for later use.

stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5824 c92efa57-630b-4861-b058-cf58834340f0
2009-08-06 10:07:58 +00:00
dceresoli 51d9800082 This is to avoid overflow in the record lenght, for very large systems
or with a lot of bands. Courtesy of Nicolas Poilvert. (D.C.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5821 c92efa57-630b-4861-b058-cf58834340f0
2009-08-05 13:47:56 +00:00
giannozz 5c2f8645f8 Removed SHMEM, Makefiles and make.depend updated; lenght => length ; misc
Second attempt - for some reason the cvs on qe-forge more often than not
doesn't complete the job


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5815 c92efa57-630b-4861-b058-cf58834340f0
2009-08-04 14:36:12 +00:00
giannozz 244b5e412e Last remains of T3E support removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5812 c92efa57-630b-4861-b058-cf58834340f0
2009-08-03 15:48:16 +00:00
paulatto 070f0ff1d9 Added explicit type cast for floating point constants: 1.0 => 1._dp
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5804 c92efa57-630b-4861-b058-cf58834340f0
2009-08-03 08:19:18 +00:00
giannozz d32b69708f Oops...it's hot today
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5794 c92efa57-630b-4861-b058-cf58834340f0
2009-08-01 17:52:01 +00:00
giannozz 3cd50d0257 More cleanup: spelling of Quantum ESPRESSO, CMPLX explicitly cast, f_defs.h
removed, a few REAL transformed into DBLE. Note that my previos statement
about REAL is overblown: REAl(C) is perfectly safe if C is a double precision
complex number. All changes should be safe.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5793 c92efa57-630b-4861-b058-cf58834340f0
2009-08-01 17:48:59 +00:00
giannozz 134f077ee9 There were a few occurrences of "cmplx(a,b)" (lowercase, not preprocessed).
This is a very bad thing since the result is returned in single precision.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5783 c92efa57-630b-4861-b058-cf58834340f0
2009-07-31 16:37:18 +00:00
dalcorso 24d7bff4cf Cleanup of the spin-orbit part of the code. Shortening of a few routines.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5781 c92efa57-630b-4861-b058-cf58834340f0
2009-07-31 12:57:51 +00:00
dalcorso c88fe0cdd1 Small change.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5779 c92efa57-630b-4861-b058-cf58834340f0
2009-07-30 15:55:10 +00:00
dalcorso 8d78ac3c1a Introduced a new input variable: one_atom_occupations. If .true. the
occupations 'from_input', specify the occupations of the initial
atomic wavefunctions.
The bands are occupied according to their projections on the initial atomic
wavefunctions. Used to simulate isolated (possibly nonspherical) atoms.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5778 c92efa57-630b-4861-b058-cf58834340f0
2009-07-30 15:47:47 +00:00
ccavazzoni 8f64d3cacb - trailing blaks were causing problems on NEC SX compiler.
thanks to Harald Klimach


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5776 c92efa57-630b-4861-b058-cf58834340f0
2009-07-30 12:35:33 +00:00
ccavazzoni 82e05bc911 - better omp syntax... guess what... the old one was causing
an internal compiler error with ifort 10.1


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5769 c92efa57-630b-4861-b058-cf58834340f0
2009-07-29 13:02:10 +00:00
ccavazzoni 5ed99ff366 - more optimizations and small changes, the old syntax was breaking the
compilation with NEC compiler
thanks to Harald Klimach (HLRS)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5767 c92efa57-630b-4861-b058-cf58834340f0
2009-07-29 12:39:49 +00:00
ccavazzoni b90490347b - more omp (OpenMP) parallelization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5765 c92efa57-630b-4861-b058-cf58834340f0
2009-07-29 12:34:50 +00:00
ccavazzoni 138565c86a - better omp parallelization of paw_onecenter
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5764 c92efa57-630b-4861-b058-cf58834340f0
2009-07-29 12:33:38 +00:00
giannozz ac8e7c2103 augmentation charges in real space (tqr=.true.) and k-point
parallelization (pools) was not working due to bogus check


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5760 c92efa57-630b-4861-b058-cf58834340f0
2009-07-27 16:51:24 +00:00
ccavazzoni 6d44eb9db9 - added support for vector XC drivers
- more MPI and OpenMP parallelizations


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5758 c92efa57-630b-4861-b058-cf58834340f0
2009-07-26 19:05:44 +00:00
giannozz 6adcd22a9c Minor cleanup in fft. The special case of 3-dimensional "stick" FFT
(for wavefunctions) is not implemented for some exotic cases (scsl and
sunperf libraries, nec sx). This is now hidden into Modules/fft_scalar.f90
instead of appearing in cft3/cft3/fwfft/invfft interfaces called by codes.
It shouldn't make any difference for most common cases; it should just add
an intermediate call to a wrapper routine in the exotic cases. Tab removed.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5751 c92efa57-630b-4861-b058-cf58834340f0
2009-07-24 16:03:57 +00:00
ccavazzoni b7c1427ea7 - new way of distributing data...
if the number of processors are less or equal the number of atoms,
  nothing is changed... atoms are distributed to processors
  if the number of processors is greater than the number of atoms
  the same atom can be assigned to more than one processor so that
  the work for each atom can be shared.
  All this is required for scalability of PAW simulation
- OMP parallelization


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5750 c92efa57-630b-4861-b058-cf58834340f0
2009-07-24 13:36:01 +00:00
ccavazzoni ce307623d3 - new way of distributing data...
if the number of processors are less or equal the number of atoms,
  nothing is changed... atoms are distributed to processors
  if the number of processors is greater than the number of atoms
  the same atom can be assigned to more than one processor so that
  the work for each atom can be shared.
  All this is required for scalability of PAW simulation


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5749 c92efa57-630b-4861-b058-cf58834340f0
2009-07-24 13:31:47 +00:00
ccavazzoni 91bd0543b2 - bug fix, problem with a recent commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5746 c92efa57-630b-4861-b058-cf58834340f0
2009-07-24 10:39:18 +00:00
giannozz 68603defdd More references to removed files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5744 c92efa57-630b-4861-b058-cf58834340f0
2009-07-23 12:18:36 +00:00
giannozz 86186c5c7d Small change to the installation mechanism: the list of locations for
modules is provided by the Makefile in each subdirectory, rather than
by make.sys. No big advantage but neater solution than before


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5737 c92efa57-630b-4861-b058-cf58834340f0
2009-07-22 17:18:42 +00:00
ccavazzoni f5fb5355c2 - vxc_t and exc_t replaced by vxc_t_vec and exc_t_vec
for better performances


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5735 c92efa57-630b-4861-b058-cf58834340f0
2009-07-22 14:38:44 +00:00
paulatto 67b6ecac6d Fixed subroutine name in call to errore
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5726 c92efa57-630b-4861-b058-cf58834340f0
2009-07-21 09:03:50 +00:00
ccavazzoni b2359146e1 - OpenMP parallelization, no fortran lines have been changed,
so no new bug is expected for non OpenMP build.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5719 c92efa57-630b-4861-b058-cf58834340f0
2009-07-19 21:10:32 +00:00
ccavazzoni fd57cd39a5 - further OpenMP parallelization, no fortran lines have been changed,
so no new bug is expected for non OpenMP build.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5718 c92efa57-630b-4861-b058-cf58834340f0
2009-07-19 21:08:58 +00:00
degironc 1cb5257e94 definition of volume element corrected
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5717 c92efa57-630b-4861-b058-cf58834340f0
2009-07-18 19:06:24 +00:00
giannozz 4f3f218e3e format increased to deal with > 1000 processors
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5691 c92efa57-630b-4861-b058-cf58834340f0
2009-07-16 06:26:03 +00:00
giannozz b62ff28512 Dimmok -> Dimmock ; better message, repeated only once, when fractional
translations are disabled


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5652 c92efa57-630b-4861-b058-cf58834340f0
2009-07-10 12:57:37 +00:00
dalcorso 1a71987d16 A few signs in the double group character tables of C_3 and S_6 have been
changed.
The new signs agree with the tables of Koster, Dimmok, Wheeler, Statz,
Properties of the 32 point groups, and differ from those of
Koster, Space groups and their representations that were implemented so far.
In at least one example the former are correct. If somebody has evidence
that previous signs were correct, please provide an example.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5650 c92efa57-630b-4861-b058-cf58834340f0
2009-07-09 16:51:01 +00:00
ccavazzoni b12b1a5d42 - workaround for a weird IBM xlf bug
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5649 c92efa57-630b-4861-b058-cf58834340f0
2009-07-09 16:22:41 +00:00
giannozz 2519c47136 Tabulators and unused variables removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5647 c92efa57-630b-4861-b058-cf58834340f0
2009-07-09 16:07:21 +00:00
giannozz fd7a11d0dc There can be conflicts between the erf and erfc in QE and those provided
by external libraries (e.g. recent ESSL). In order to prevent such problems,
erf has been renamed qe_erf and erfc qe_erfc


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5644 c92efa57-630b-4861-b058-cf58834340f0
2009-07-08 10:29:32 +00:00
giannozz f875ab8a1a Minor changes, make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5640 c92efa57-630b-4861-b058-cf58834340f0
2009-07-03 18:11:20 +00:00
giannozz 2b1435345d Modified algorithm by SdG implemented by default instead of the original
one. There are cases in which the former works nicely and the latter
loses the symmetry: not great for a symmetry=preserving method.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5638 c92efa57-630b-4861-b058-cf58834340f0
2009-07-03 18:08:30 +00:00
paulatto ac8f11b4b3 #include "f_defs.h" was missing in this file (and possibly in many others)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5633 c92efa57-630b-4861-b058-cf58834340f0
2009-06-29 16:07:35 +00:00
degironc a19d4e679a correction of a bug introduced with the new treatment of dipolar correction
and macroscopic field in a slab.
There is still a ~ 1.d-4 Ry difference in the total energy of the test example
to be investigated.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5630 c92efa57-630b-4861-b058-cf58834340f0
2009-06-27 20:45:51 +00:00
degironc 92279bc69a Reformulation of the dipole and macroscopic electric field treatment in slab
calculations using a unique saw(x) function (included in cell_base) in
all e-field related routines (energy, potential, forces, ..) and inclusion
of a macroscopic electronic dipole contribution in the mixing scheme.
This should solve charge sloshing problems that appeared with the prevous
version in metallic slabs.

Riccardo Sabatini and Stefano deGironcoli


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5627 c92efa57-630b-4861-b058-cf58834340f0
2009-06-25 14:06:04 +00:00
degironc ee320dd7d4 default value for localized orbital occupation number and angular momentum defined
for all transition metalls and rare earth elements.
 sdg


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5626 c92efa57-630b-4861-b058-cf58834340f0
2009-06-25 13:33:38 +00:00
giannozz cc77731fb5 Added check for unimplemented case: exact exchange/hybrids + USPP/PAW
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5624 c92efa57-630b-4861-b058-cf58834340f0
2009-06-25 10:16:28 +00:00
giannozz e9fcfb8b9b Yet another input option: remove symmetries with fractional translations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5620 c92efa57-630b-4861-b058-cf58834340f0
2009-06-19 13:40:43 +00:00
dalcorso eed6d8ce91 Added a check to stop the code if dr2 is negative.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5619 c92efa57-630b-4861-b058-cf58834340f0
2009-06-19 13:33:54 +00:00
paulatto 0aabff94b5 In the NEB and other path calculations, the restart files are not saved in
"outdir/" but in "outdir/prefix_#/". Furthermore, if using more than one
image, the processor ID nd_nmbr is repeated for each image.
As a consequence, at the end of the calculation, pw.x tries to delete the
restart files several time concurrently, crashing.
This is a temporary fix, as a way to delete the files properly should
be found. All the other file deletions are also wrong, but not harmful;
probably the entire stop_run is innapropriate for multi-image optimization
(i.e. it calls io_path_stop which has just been called directly by pwscf!).
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5617 c92efa57-630b-4861-b058-cf58834340f0
2009-06-18 08:38:21 +00:00
giannozz 47962d79bd B field temporarily disabled
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5616 c92efa57-630b-4861-b058-cf58834340f0
2009-06-18 06:06:33 +00:00
ccavazzoni 91f8899bc4 - bug fix, OpenMP parallelization: missing !$omp barrier
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5615 c92efa57-630b-4861-b058-cf58834340f0
2009-06-17 15:17:22 +00:00
ccavazzoni 522c49ed2a - bug fix, OpenMP parallelization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5614 c92efa57-630b-4861-b058-cf58834340f0
2009-06-17 14:28:38 +00:00
ccavazzoni 4a565880a2 - bug fix in OpenMP parallelization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5613 c92efa57-630b-4861-b058-cf58834340f0
2009-06-16 12:10:32 +00:00
giannozz a9b90b1714 The makefile for dft-d wasn't really doing what was expected
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5606 c92efa57-630b-4861-b058-cf58834340f0
2009-06-15 08:19:47 +00:00
paulatto 90dc290305 Circular dependency removed (offending subroutine moved to PP/paw_postproc.f90)
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5604 c92efa57-630b-4861-b058-cf58834340f0
2009-06-15 07:54:05 +00:00
ccavazzoni 089fddde49 - when OpenMP parallelism is used print out the total number
of CPU cores, the number of MPI processes and the number of threads
  per process


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5603 c92efa57-630b-4861-b058-cf58834340f0
2009-06-14 19:27:09 +00:00
ccavazzoni 9d8213b1e1 - change output format for energies, from 15.8 to 17.8
this is because for large systems with thousands of atoms and electrons
  one can get only "******"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5602 c92efa57-630b-4861-b058-cf58834340f0
2009-06-14 19:25:39 +00:00
giannozz 4541ba4cbd Added DFT-D, i.e. plus semiempirical dispersions (courtesy of Daniel Forrer)
Example and documentation still missing, coming soon


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5599 c92efa57-630b-4861-b058-cf58834340f0
2009-06-14 19:05:55 +00:00
giannozz 54d8ba0a29 Yesterday's commit wasn't complete: a check had to be changed.
By the way, it seems to me that a more straightforward approach would be:
'relax' and 'vc-relax': use bfgs, ignore ion_dynamics and cell_dynamics
'md', 'vc-md': use molecular dynamics, either free or damped


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5598 c92efa57-630b-4861-b058-cf58834340f0
2009-06-13 06:52:48 +00:00
paulatto 7a598df0b9 Added plot of all-electron valence charge for PAW, still undocumented it
can be accessed with plot_num=15.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5597 c92efa57-630b-4861-b058-cf58834340f0
2009-06-12 15:38:03 +00:00
giannozz b19d97e479 Minor change suggested by AF: file data-file.xml is not deleted but renamed
when a non-scf calculation is started.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5592 c92efa57-630b-4861-b058-cf58834340f0
2009-06-11 06:25:11 +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
giannozz 78b0565b4b Dependencies updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5572 c92efa57-630b-4861-b058-cf58834340f0
2009-06-02 13:25:40 +00:00
ccavazzoni f1c391fa58 - OpenMP parallelization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5567 c92efa57-630b-4861-b058-cf58834340f0
2009-05-24 17:33:58 +00:00
dalcorso a804f0ff18 Small change. Avoid to write a noninitialized string in the xml file.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5564 c92efa57-630b-4861-b058-cf58834340f0
2009-05-21 08:25:57 +00:00
paulatto dfc48e22c9 No need to reprint the cell in fixed cell relax when convergence is reached
furthermore, I suspect this is causing problems when comverting output to
xcrysden animation.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5560 c92efa57-630b-4861-b058-cf58834340f0
2009-05-14 13:18:59 +00:00
sclauzer 82194aa262 Fixed set_hubbard_l.f90 and tabd.f90 in order for LDA+U to work properly also with UPFv2 (atomic species with single character names were not recognized).
Set the default for Hubbard_l to -1 instead of 0 for the atomic species with U=0.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5555 c92efa57-630b-4861-b058-cf58834340f0
2009-05-08 08:28:39 +00:00
dalcorso 235f4099fc Bugs fix: two allocated, unused and nondeallocated variables removed.
Added two missing deallocations.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5539 c92efa57-630b-4861-b058-cf58834340f0
2009-04-30 16:13:36 +00:00
paulatto 90988a70fb No need to print every time that PAW data is being deallocated... (now it
will only be printed for iverbosity>0)
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5538 c92efa57-630b-4861-b058-cf58834340f0
2009-04-29 15:42:30 +00:00
giannozz b09643e188 Misleading error message
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5532 c92efa57-630b-4861-b058-cf58834340f0
2009-04-28 08:48:18 +00:00
dalcorso 0ba0d1e7f2 Bug fix: problem in the character table of C_4h double group.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5524 c92efa57-630b-4861-b058-cf58834340f0
2009-04-20 11:59:04 +00:00
giannozz dab95671bf Forces and stresses for LDA+U in the Gamma case are implemented.
Not yet tested in parallel. Some cleanup in LDA+U part.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5520 c92efa57-630b-4861-b058-cf58834340f0
2009-04-15 07:10:31 +00:00
giannozz fe9c5de8d7 Nonstandard continuation lines made standard (some compilers complain)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5519 c92efa57-630b-4861-b058-cf58834340f0
2009-04-15 07:09:33 +00:00
ccavazzoni ca95bd25ef - bug fix in the task_group source lines,
a sum with a temporary array was dropped in a recent clean-ups


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5518 c92efa57-630b-4861-b058-cf58834340f0
2009-04-14 14:54:45 +00:00
obm 124b5fdeb3 Added support for reading and writing real_space and tqr control flags (
to pwscf punch card).

Since the norm of the wfs change, knowing the level of approximation used
in the ground state calculation is crucial for post processing programs.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5516 c92efa57-630b-4861-b058-cf58834340f0
2009-04-08 13:24:41 +00:00
obm 7ae724d9b6 Corrected the interpolation scheme of beta functions.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5515 c92efa57-630b-4861-b058-cf58834340f0
2009-04-07 08:34:02 +00:00
ccavazzoni 36a460bd6e - direct call to C functions substituted with a call to wrappers
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5502 c92efa57-630b-4861-b058-cf58834340f0
2009-04-05 07:48:02 +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
giannozz 1a386d1327 Message issued for unimplemented USPP + electric field stress calculation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5490 c92efa57-630b-4861-b058-cf58834340f0
2009-04-01 15:19:09 +00:00
giannozz 4a00e6dca9 Check when reading or writing "occup" and "paw" files were not parallel-safe
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5489 c92efa57-630b-4861-b058-cf58834340f0
2009-03-31 19:09:55 +00:00
giannozz 24f95d339a My previous change to read atomic positions from file in a non-scf calculation
was not working as expected - workaround not completely satisfactory, though


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5487 c92efa57-630b-4861-b058-cf58834340f0
2009-03-30 15:38:17 +00:00