Commit Graph

78 Commits

Author SHA1 Message Date
giannozz 0c5e11b12d Initial message made more explicit (after a suggestion by Guido F.).
make.depend updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4828 c92efa57-630b-4861-b058-cf58834340f0
2008-04-21 14:25:39 +00:00
cavazzon 9db23427ad - reduce replaced with mp_sum
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4821 c92efa57-630b-4861-b058-cf58834340f0
2008-04-18 16:53:54 +00:00
giannozz f72402340d xlf doesn't like the second comma in "write (unit, format), arguments"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4782 c92efa57-630b-4861-b058-cf58834340f0
2008-04-06 20:37:21 +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
ceresoli a92708fa1f more on phsical constants... (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4768 c92efa57-630b-4861-b058-cf58834340f0
2008-04-02 15:13:19 +00:00
giannozz a82ffc4c29 Physical constants updated to the latest NIST data, consistent values
used in some files that used a local (less accurate) value (Axel).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4767 c92efa57-630b-4861-b058-cf58834340f0
2008-04-02 09:58:59 +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
seitsonen 8a6761fadf - Modernised version of EFG
- Hyperfine parametres

All modifications with/by Uwe (Gerstmann) - merci/grazie!

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4754 c92efa57-630b-4861-b058-cf58834340f0
2008-03-22 14:49:11 +00:00
seitsonen 2d04540126 Changed the format of output, USE-ONLY's up-dated, interpolation-by-splines
introduced, ...

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4753 c92efa57-630b-4861-b058-cf58834340f0
2008-03-22 14:10:41 +00:00
cavazzon c9fba4912e - cleanup, poolreduce replaced by mp_sum(...,inter_pool_comm)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4646 c92efa57-630b-4861-b058-cf58834340f0
2008-01-23 17:27:20 +00:00
cavazzon 636712cef9 - scatter/gather like subroutines that act on fft grids,
moved from PW/para.f90 to Modules/fft_base.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4614 c92efa57-630b-4861-b058-cf58834340f0
2008-01-08 09:19:31 +00:00
cavazzon b739a98bae - removing modules: pfft pffts para_const
they contains only copies of variables contained in
  fft data structures: dfftp dffts


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4605 c92efa57-630b-4861-b058-cf58834340f0
2008-01-05 19:27:35 +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
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 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
ceresoli a8af1cde73 <beta|psi> cleanup. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4510 c92efa57-630b-4861-b058-cf58834340f0
2007-12-06 10:57:44 +00:00
ceresoli f5aa3dd234 Small changes after scf_type. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4477 c92efa57-630b-4861-b058-cf58834340f0
2007-11-26 11:29:18 +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
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
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
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
degironc d5387129e5 module scf has been separated from PW/pwcom.f90 (put in PW/scf_mod.f90) in
order to reorganize the variables needed for mixing and scf cycle.
More changes will follow....


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4379 c92efa57-630b-4861-b058-cf58834340f0
2007-10-31 14:28:18 +00:00
giannozz 4e55ebdfaa Redundant variable nlcc eliminated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4373 c92efa57-630b-4861-b058-cf58834340f0
2007-10-29 10:20:01 +00:00
giannozz a2f2848f92 More static arrays and dimensions removed: rho_at rho_atc natx nbndxx
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4365 c92efa57-630b-4861-b058-cf58834340f0
2007-10-24 15:36:52 +00:00
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
seitsonen 0f8940bd08 Calculation of the chemical shift due to the core electrons added; only
tested on carbon atoms so far

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4352 c92efa57-630b-4861-b058-cf58834340f0
2007-10-18 13:21:54 +00:00
seitsonen 13b537ea1e A 'poolreduce()' within a k point loop... Now is that a good idea?
Deadlocked the calculation when having different number of k points in
different pools

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4340 c92efa57-630b-4861-b058-cf58834340f0
2007-10-13 14:05:53 +00:00
seitsonen aeff78ca77 Fixed a minor bug (appearing only on SGI): Now 'delta_rmc' is added up only
up to the g vector corresponding to the cut-off energy for the wave
functions

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4337 c92efa57-630b-4861-b058-cf58834340f0
2007-10-11 15:58:40 +00:00
seitsonen 6bc446d8e8 Removed redundant/multiple USE's of same variables
apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4336 c92efa57-630b-4861-b058-cf58834340f0
2007-10-11 15:55:54 +00:00
ceresoli bd57f9a93c Small change after introduction of the pseudo_upf type. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4331 c92efa57-630b-4861-b058-cf58834340f0
2007-10-09 14:26:36 +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
seitsonen f93ecf7ba7 - Write the whole sigma tensor
- Wrong dimension for 'reduce()' ('na' is a loop index, 'nat' the correct
       dimension - what all beautiful bugs one finds when compiling with
       different compilers)

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4255 c92efa57-630b-4861-b058-cf58834340f0
2007-09-17 10:02:45 +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
ceresoli f0b214480d Small changes. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4024 c92efa57-630b-4861-b058-cf58834340f0
2007-07-13 09:40:39 +00:00
seitsonen 52f39b6f16 Removed commented, obsolete old USE statement
apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3990 c92efa57-630b-4861-b058-cf58834340f0
2007-06-28 15:18:15 +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 01069603f2 Small changes. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3947 c92efa57-630b-4861-b058-cf58834340f0
2007-05-15 09:18:06 +00:00
seitsonen 66013077c4 - Removed unused variable 'npool'
- Rationalised the lines with 'USE'

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3933 c92efa57-630b-4861-b058-cf58834340f0
2007-05-10 12:33:07 +00:00
seitsonen 52753349f5 Hyper-fine interactions implemented; seem to work for CN molecule. No
extrapolation towards the origin included yet. EFG not tested

       apsi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3932 c92efa57-630b-4861-b058-cf58834340f0
2007-05-10 12:27:45 +00:00
ceresoli 1776c5540f Small changes to g-tensor. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3925 c92efa57-630b-4861-b058-cf58834340f0
2007-04-28 14:21:22 +00:00
giannozz 669b8b20e5 Misc updates: configure (mac intel + ifort), make.depend, Makefiles
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3907 c92efa57-630b-4861-b058-cf58834340f0
2007-04-10 20:39:42 +00:00
ceresoli 4e98f3c84f Small change. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3893 c92efa57-630b-4861-b058-cf58834340f0
2007-04-02 08:22:12 +00:00
ceresoli 7e43110e86 Randomizing (i.e. "smerding") the wavefunctions makes GIPAW more robust
in the diagonalization phase. (D.C.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3890 c92efa57-630b-4861-b058-cf58834340f0
2007-03-31 12:47:41 +00:00
ceresoli a87a1a0016 isolve (diagonalization method) now in input. (D.C.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3887 c92efa57-630b-4861-b058-cf58834340f0
2007-03-30 13:27:25 +00:00