Commit Graph

83 Commits

Author SHA1 Message Date
giannozz e77d159823 Source normalization for VdW
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6850 c92efa57-630b-4861-b058-cf58834340f0
2010-06-18 16:54:19 +00:00
giannozz b600790521 operation between non-conformant arrays
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6646 c92efa57-630b-4861-b058-cf58834340f0
2010-04-19 16:31:45 +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 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
giannozz c22a10cc2f All makefiles simplified, make.depend updated, fixed an inconsistency in
XSpectra coming from recent changes


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6379 c92efa57-630b-4861-b058-cf58834340f0
2010-02-09 15:21:51 +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
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 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 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
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
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 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 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 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
giannozz afec752184 End of this set of not-so-fundamental changes. Summary:
1) no more f_defs.h file to be included in fortran files
2) all CMPLX explicitly defined as CMPLX(...,KIND=dp)
3) blas/lapack names in lowercase (not all of them, actually)
4) documentation accordingly updated (plus unrelated changes to user_guide)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5805 c92efa57-630b-4861-b058-cf58834340f0
2009-08-03 09:19:02 +00:00
giannozz 5975a0d477 More of the same
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5803 c92efa57-630b-4861-b058-cf58834340f0
2009-08-03 08:15:09 +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
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
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
ccavazzoni d2ad7f7f23 - adding module wrappers.o
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5505 c92efa57-630b-4861-b058-cf58834340f0
2009-04-05 07:58:54 +00:00
dalcorso d78039347f vdw updated with the recent changes to phonon.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5463 c92efa57-630b-4861-b058-cf58834340f0
2009-03-06 15:16:58 +00:00
dalcorso f314bb8330 A few conflicts with the changes in phcom. These conflicts are due to
the fact that these routines USE phcom instead of multiple USE statements.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5420 c92efa57-630b-4861-b058-cf58834340f0
2009-02-14 14:01:59 +00:00
degironc d3ebcd964d additions to makefile files needed by the new DFT+DMFT part
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5398 c92efa57-630b-4861-b058-cf58834340f0
2009-02-12 08:09:57 +00:00
giannozz be76efc343 More cleanup (?): modules "uspp" and "symme" extracted from "pwcom"
everywhere. I didn't like the previous half-baked state.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5128 c92efa57-630b-4861-b058-cf58834340f0
2008-08-23 17:55:06 +00:00
giannozz eac102ea22 Updated Makefiles. a) a target name should not coincide with a directory
name (remember tha some machines like Mac OSX have case-insensitive file
systems! ee == EE) b) some linkers require an explicit presence of all
modules in the list of files to be linked


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5001 c92efa57-630b-4861-b058-cf58834340f0
2008-06-18 15:08:53 +00:00
giannozz c85f1c444e Minor changes tothe qexml file format, by AF: in particular, added the
flag reporting whether only half G-vector sphere is present (not
actually used in q-e but it may be useful for other codes). make.depend
updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4819 c92efa57-630b-4861-b058-cf58834340f0
2008-04-18 12:29:55 +00:00
cavazzon c3fe9dd438 - reduce substituted by mp_sum
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4793 c92efa57-630b-4861-b058-cf58834340f0
2008-04-12 16:12:49 +00:00
paulatto ba4e005094 This is a quite complex check-in, but actually not very much is done. Changelog follows.
LP

UPF file format updated completely, UPFv2 introduced:
* ld1.x can still produce old format, with the switch upf_v1_format=.true. in inputp
  this is disabled by default, but we can discuss if it should be the opposite.
* pw.x cp.x and all utilities should notice no difference
* some utilities in upftools still need to be updated, anyway conversion UPFv1 to UPFv2
  is very easy, so this should be no big issue
* starting from now to produce an UPF file you need to fill the pseudo_upf derivedd type
  and feed it to write_upf woutine in upf_module (Modules/upf.f90)
* extensive use of iotk

I have tried to make the new format as self contained as possible, e.g. there should be
minimal need for post-processing after the data is read, no more reconstruction of known
quantities, and no more odd syntax to save negligible quantity of space. Also the human
readable section is a bit richer, all the rest is more machine readable.

I hope this will not cause any throuble, and tried really hard to, all examples and all
tests works as fine as before and gives (what really looks like) the same results.

Other changes that I needed to make:
* radial grids are now allocatable, they management is a bit less of a hack too
* paw and uspp augmentation are stored in the same place
* paw print total all-electron energy if all atoms are paw, not very useful, but nice
* most of the pseudopotential-writing reading files have been renamed to  some more
  logical name, I spare you the list. E.g. read_oldpseudo -> read_pseudo_rrkj3
* paw_t derived type was only used in atomic, so I have put it there (as the pseudo_type
  module take ages to recompile it was awkward to leave it there).

PAW tests inserted in test/ there are 6 of them, as a consequence I have also put 5 paw
pseudopotentials in the pseudo/ directory.

I will update the PAW scf examples soon, by deleting them (as running a pw with a PAW
pseudopotential requires no option at all). PAW generation examples should be updated.

A lot of small bugfixes here & there mostly uninitialized variables or unallocated
pointers used as subrotuine arguments.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4769 c92efa57-630b-4861-b058-cf58834340f0
2008-04-03 15:50:43 +00:00
paulatto 848217bc9f HWF energy + PAW should work again, better initial becsum.
Added documentation for cell_dynamics='bfgs' in INPUT_PW
Many random fixes and, mostly paw-related.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4681 c92efa57-630b-4861-b058-cf58834340f0
2008-02-07 13:48:46 +00:00
giannozz 9eff179361 VdW works again (maybe: as it is written now, it is close to impossible
to understand what it does)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4663 c92efa57-630b-4861-b058-cf58834340f0
2008-01-28 22:02:50 +00:00
cavazzon 8306c29dd2 - poolreduce removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4659 c92efa57-630b-4861-b058-cf58834340f0
2008-01-24 23:45:32 +00:00
paulatto 9b7de42011 One last missing object.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4654 c92efa57-630b-4861-b058-cf58834340f0
2008-01-24 10:45:33 +00:00
cavazzon 80feea2cd8 - poolreduce replaced by mp_sum(...,inter_pool_comm)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4642 c92efa57-630b-4861-b058-cf58834340f0
2008-01-23 16:42:52 +00:00
giannozz 231f4e72cc "error" moved from flib/ to Modules/, as suggested by Axel, into
Modules/error_handler.f90 . Not really an elegant solution, since
the module in error_handler is never used and subroutine "errore"
is not in the module, but better than it used to be. All makefiles
and make.depend updated (fixes yesterday's linking error as well).
Minor changes here and there as well.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4591 c92efa57-630b-4861-b058-cf58834340f0
2008-01-03 09:02:32 +00:00
cavazzon 53c1cd9250 - again the new module
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4563 c92efa57-630b-4861-b058-cf58834340f0
2007-12-27 11:03:32 +00:00
giannozz b6d51605db Minor changes - will not solve the problem
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4545 c92efa57-630b-4861-b058-cf58834340f0
2007-12-21 09:20:56 +00:00
giannozz 45e4bf664b Final (?) calbec cleanup, update of make.depend files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4539 c92efa57-630b-4861-b058-cf58834340f0
2007-12-19 17:47:12 +00:00
giannozz 055f75eb84 Oops...wasn't even compiling
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4533 c92efa57-630b-4861-b058-cf58834340f0
2007-12-18 21:40:20 +00:00
giannozz efa75a8d99 More "calbec" cleanup - PLEASE TEST
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4531 c92efa57-630b-4861-b058-cf58834340f0
2007-12-18 21:29:10 +00:00
giannozz bdae2b6cb1 Cleanup of wavefunction initialization. Since I wasted two hours hunting
for a bug, before I realized that there were two copies of "gamma_only",
I wasted two more hours to iuse a single value of "gamma_only" (the one
oin control_flags).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4468 c92efa57-630b-4861-b058-cf58834340f0
2007-11-22 14:23:04 +00:00
paulatto 2239472597 Fixes: ld1 test of upf types was not working anymore (same as reason as CP).
Mods: removed read_paw module and .PAW temporary format support. Makefiles and
make.depend updated accordingly.
Fixes in ld1: test of upf types was not working anymore (same as reason as CP),
added deallocation of pawsetup. As testing of PAW without generation may not
work yet I have put a big error for it.
Other: simpson_cp90 was pretending to be simpson in error messages


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4461 c92efa57-630b-4861-b058-cf58834340f0
2007-11-21 10:39:48 +00:00
degironc ae8be06438 also the scf potential is defined using the scf_type.
then call to v_of_r has been simplified


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4442 c92efa57-630b-4861-b058-cf58834340f0
2007-11-18 20:25:11 +00:00
cavazzon bf74ac09d1 - new file mp_base.f90 containing mpi wrapper for block communications,
like in it was in reduce sub of PW. This is to avoid large temporary
  array allocations in module mp.f90 (mp.f90 calls subs in mp_base.f90).
  On the other hands mp.f90 provide the general interfaces for different
  kind of data and data size checking.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4441 c92efa57-630b-4861-b058-cf58834340f0
2007-11-17 14:32:10 +00:00
paulatto dce5f820da Paw code moved around and unused functions removed; old grid_paw code removed.
This is the first step of code cleanup. Actually nothing should change.

rad_paw_routines -> paw_onecenter (2 functions went to paw_init)
grid_paw_variables -> paw_variables (with some additions from rad_paw_routines)
grid_paw_routines -> paw_init (merged with 2 init functions from rad_paw)

Probably there are a few random fixes around.

Next step: remove ndmx and ntpx.

LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4422 c92efa57-630b-4861-b058-cf58834340f0
2007-11-12 14:49:09 +00:00
dalcorso 0cd0c1b939 Makefile update and small correction to previous commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4396 c92efa57-630b-4861-b058-cf58834340f0
2007-11-05 17:38:31 +00:00
degironc fab8c49e9c scf_mod again..
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4382 c92efa57-630b-4861-b058-cf58834340f0
2007-11-01 11:19:31 +00:00