Commit Graph

1822 Commits

Author SHA1 Message Date
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