Commit Graph

36 Commits

Author SHA1 Message Date
giannozz 473a19205a All references to EE/ subdirectory and to libraries in Multigrid/ removed.
Calls to variables and routines in EE/ commented, for the time being.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7226 c92efa57-630b-4861-b058-cf58834340f0
2010-11-18 15:49:00 +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 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 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
giannozz 122ea3c25f Missing reference to new module
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5919 c92efa57-630b-4861-b058-cf58834340f0
2009-09-10 07:01:30 +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 54d31284f8 Removed SHMEM, Makefiloes and make.depend updated; lenght => length ; misc
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5814 c92efa57-630b-4861-b058-cf58834340f0
2009-08-04 14:34:32 +00:00
giannozz fdd5b2ca68 More references to removed file
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5743 c92efa57-630b-4861-b058-cf58834340f0
2009-07-23 12:18:16 +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 04fda6d053 Makefiles updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5608 c92efa57-630b-4861-b058-cf58834340f0
2009-06-15 08:28:43 +00:00
giannozz 61e0932bd9 Added wrapper module
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5509 c92efa57-630b-4861-b058-cf58834340f0
2009-04-05 08:35:49 +00:00
giannozz 89d2fb1433 Compilation problem after last addition
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5406 c92efa57-630b-4861-b058-cf58834340f0
2009-02-13 12:11:14 +00:00
giannozz 78b10d88dc Makefile updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5023 c92efa57-630b-4861-b058-cf58834340f0
2008-06-26 20:09:44 +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
giannozz a600c87c98 Minor problem in makefile (vxcgc.f90 => vxcgc.o)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4765 c92efa57-630b-4861-b058-cf58834340f0
2008-04-02 08:33:09 +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
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
cavazzon c5057a2fa7 - added file Modules/mp_base.o
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4446 c92efa57-630b-4861-b058-cf58834340f0
2007-11-19 13:39:05 +00:00
ceresoli 95d12a59bc Temporary hack until GIPAW becomes more ``dynamic''. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4437 c92efa57-630b-4861-b058-cf58834340f0
2007-11-16 10:50:27 +00:00
paulatto 4e96b9de36 All pseudopotential data required for PAW is now dynamically allocated inside the upf structure. Parameters ndmx and nbrx are no more ne
cessary for PAW, the latter has been moved to GIPAW/gipaw_module.f90, as it is only used there.

Added a little trick to free some memory after the initialization is completed (only for parallel .and. PAW, but similar method could be
 used for US too; is it worth the hassle?)

Minor changes in paw_symmetrize (added parallel) and paw_newd.

LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4431 c92efa57-630b-4861-b058-cf58834340f0
2007-11-13 15:15:28 +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
ceresoli c61b12e331 paw.f90, init_paw_1.f90 and init_paw_2.f90 in PW/, moved to GIPAW/
and renamed (paw -> gipaw). This is to avoid misunderstandings with
the upcoming PAW implementation. (D.C.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4403 c92efa57-630b-4861-b058-cf58834340f0
2007-11-06 15:15:49 +00:00
ceresoli 45338d9069 Small changes, in order to compile GIPAW. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4364 c92efa57-630b-4861-b058-cf58834340f0
2007-10-24 09:16:57 +00:00
ceresoli d9af5862d6 Makefile update. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4307 c92efa57-630b-4861-b058-cf58834340f0
2007-10-04 08:15:17 +00:00
seitsonen 393172e86f - Fixed some parallellisation issues in 'g_tensor_crystal.f90'
- Added a routine needed in 'Makefile'
 - Added one missing default value in 'gipaw_module.f90', 0th version
     of the routine for check symmetries incorporated
 - Minor change of variable in 'suscept_crystal.f90' (in order to be
     consistent with 'g_tensor_crystal.f90')

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4304 c92efa57-630b-4861-b058-cf58834340f0
2007-10-03 18:04:37 +00:00
dalcorso d6c1ba5e1a Makefile update.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4298 c92efa57-630b-4861-b058-cf58834340f0
2007-10-02 13:42:41 +00:00
ceresoli cb84f0dc10 GIPAW updated to comply with the new radial_grids module. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4185 c92efa57-630b-4861-b058-cf58834340f0
2007-08-28 13:07:34 +00:00
giannozz ac82c40ab7 configure updated (only configure.ac had been previously updated).
LD used instead of MPIF90 in Makefiles for loading. Since LD is used
anyway in iotk, it makes sense to use it. In some cases it may be
useful to have distinct options for compiling and for loading.
Minor cleanup in some routines


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3976 c92efa57-630b-4861-b058-cf58834340f0
2007-06-20 17:04:47 +00:00
ceresoli d87452fcbc GIPAW should not depend on PH! I've just borrowed few routines.
That was the origin of a lot of troubles. The routines in PH
use the PHCOM module, which was vastly *uninitialized*! We
should instead use the GIPAW_MODULE module. Please, do not tie us
again with PHONON! (D.C.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3858 c92efa57-630b-4861-b058-cf58834340f0
2007-03-19 09:38:11 +00:00
giannozz 054e721960 Misc pseudopotential cleanup: upf_to_internal merged between CP and PW;
PAW-related stuff extracted and put into the paw module; various checks
moved to more appropriate places; initialization of obsolete variables
lloc and lmax moved elsewhere; variable zp moved to uspp_param.
All PP-reading subroutines (too many) read zp, not zv; zv is set later.
Summary for pseudopotentials unified and purged of printout of
obsolete/unused/unset variables.
PW/readin.f90 renamed to something more suggestive of what it does
(PW/read_pseudo.f90). Module PW/upf_to_internal.f90 moved to Modules/,
routine upf2internal removed from CPV/read_pseudo.f90.
Harmless error in berry phase + a few bad formats in GIPAW fixed.
Dependencies and Makefiles updated.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3851 c92efa57-630b-4861-b058-cf58834340f0
2007-03-18 19:24:56 +00:00
ceresoli 6854007dd6 Keep same ordering of G-vectors both at k and k+q. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3802 c92efa57-630b-4861-b058-cf58834340f0
2007-02-21 14:44:05 +00:00
giannozz d3b89d58dd Syntax used in a few places to split lines was not accepted by all compilers.
Makefile updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3784 c92efa57-630b-4861-b058-cf58834340f0
2007-02-15 11:46:39 +00:00
seitsonen de86de708b - added EFG into the 'Makefile' and the main routine in 'gipaw_main.f90'
- changed the name of main routine from 'do_efg()' into 'efg()', had to
    change the name of the array 'efg' into 'efg_total' as a consequence

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3691 c92efa57-630b-4861-b058-cf58834340f0
2007-01-18 14:22:48 +00:00
seitsonen 50bf9ef64d - filename corrected in 'Makefile'
- consistent modules used in 'gipaw_main.f90'


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3673 c92efa57-630b-4861-b058-cf58834340f0
2007-01-15 16:09:32 +00:00
seitsonen 180f6aea6b - changed all 'nmr_*' and 'magn_*' into 'gipaw_*' for all references to the
main code
 - 'compute_sigma.f90' containts all the three components of the sigma
     tensor, thus the filename was changed

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3663 c92efa57-630b-4861-b058-cf58834340f0
2007-01-15 11:45:23 +00:00
seitsonen f926db4ce1 Initial release (previously developed against tag QE-3-1-1 in directory
NMR_new).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3662 c92efa57-630b-4861-b058-cf58834340f0
2007-01-15 11:29:24 +00:00