Commit Graph

552 Commits

Author SHA1 Message Date
dalcorso e23e3527cc Bug fix: problem with the generation of the atomic wavefunctions in the
projwfc code when a scalar relativistic PP is used with lspinorb=.true..


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5206 c92efa57-630b-4861-b058-cf58834340f0
2008-09-22 09:28:44 +00:00
cavazzon bb65b5df9b - missing Modules object files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5192 c92efa57-630b-4861-b058-cf58834340f0
2008-09-12 16:58:08 +00:00
paulatto 1bca0cf8db Function remove_stack_limit is now called by start_postproc (which is
called by most postprocessing utilities).
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5171 c92efa57-630b-4861-b058-cf58834340f0
2008-09-04 10:01:15 +00:00
paulatto 70d00cdb8d Fixed a big that prevented relax calculation with sawtooth potential from
working correctly. Printing of infos on stdout has been made clearer and
not redundant for parallel runs.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5144 c92efa57-630b-4861-b058-cf58834340f0
2008-08-28 12:09:48 +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 8cd13cb00b Common "symme" moved to a separate file; some cleanup. Symmetries of the
Bravais lattice are written (but not yet read nor used) to the xml file


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5125 c92efa57-630b-4861-b058-cf58834340f0
2008-08-22 15:53:34 +00:00
giannozz 5006bef10d projwfc explicitly says where the atomic states come from
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5123 c92efa57-630b-4861-b058-cf58834340f0
2008-08-22 08:09:10 +00:00
cavazzon 7e62a7a470 - minor change to better interface PW with GW,
thanks to A. Mosca Conte


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5052 c92efa57-630b-4861-b058-cf58834340f0
2008-07-10 11:33:47 +00:00
giannozz fb2bdc6e7e Subroutine "sgama" split into two pieces, one finding symmetries and the
other one finding k-points. More "sgama" deconstruction will follow. PG


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5003 c92efa57-630b-4861-b058-cf58834340f0
2008-06-18 20:32:03 +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 f569a3ade3 Yet another mistake in a not-too-careful commit of mine
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4990 c92efa57-630b-4861-b058-cf58834340f0
2008-06-16 17:15:22 +00:00
giannozz cf576a465f c_mkdir is explicitly defined as integer*4 (as suggested by AF) in order
to prevent problems in 64-bit machines with default 64-bit integers


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4983 c92efa57-630b-4861-b058-cf58834340f0
2008-06-16 12:08:18 +00:00
giannozz b5214153a8 Fixed incorrect test for vector orthogonality
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4981 c92efa57-630b-4861-b058-cf58834340f0
2008-06-13 07:45:34 +00:00
cavazzon c191a0379a - bug fix, problem in naming projection files when the number of atoms
is greather than 1000


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4944 c92efa57-630b-4861-b058-cf58834340f0
2008-05-20 14:46:01 +00:00
dalcorso 4a77554630 plotnum=7 + pools.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4932 c92efa57-630b-4861-b058-cf58834340f0
2008-05-15 13:18:11 +00:00
dalcorso 6353f8a06b Bands + pools.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4931 c92efa57-630b-4861-b058-cf58834340f0
2008-05-15 13:13:39 +00:00
dalcorso 0375acce30 Variable so(nt) removed: so(nt) -> upf(nt)%has_so.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4929 c92efa57-630b-4861-b058-cf58834340f0
2008-05-15 12:58:11 +00:00
giannozz 6d9c6d3caa Minor bug: atoms exactly at the boundary of the visualisation cell were
missing


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4918 c92efa57-630b-4861-b058-cf58834340f0
2008-05-14 12:44:06 +00:00
giannozz 40a8625c08 Miscellaneous changes (from Arash) for compatibility with W90:
(1) Makefile in the Q-E root directory has new "make w90" option
(2) New "W90" directory and all subdirectories and files therein
(3) PP/pw2wannier90.f90 has been updated for compatibility with Q-E4.0
(4) Modules/wannier.f90 has been updated
(5) flib/lapack_atlas.f -- additional routines added (needed by W90)
(6) flib/blas.f -- additional routines added (needed by W90)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4903 c92efa57-630b-4861-b058-cf58834340f0
2008-05-09 19:17:41 +00:00
cavazzon 53e1ed8f62 - eliminating the limitation on the number of atoms (it was 1000)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4830 c92efa57-630b-4861-b058-cf58834340f0
2008-04-22 16:01:20 +00:00
cavazzon 99b5973833 - cleanup of some debugging logs
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4829 c92efa57-630b-4861-b058-cf58834340f0
2008-04-21 15:58:18 +00:00
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 542ede733e - added a distributed memory version of projwfc (like cegterg, regterg),
this sub. should allow computation of projections for very very
  large systems, thousands of atoms and bands.
  Not deeply teste


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4827 c92efa57-630b-4861-b058-cf58834340f0
2008-04-20 21:27:47 +00:00
cavazzon b3be124201 - reduce replaced by mp_sum
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4825 c92efa57-630b-4861-b058-cf58834340f0
2008-04-19 16:28:45 +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 042309653b - xml fix, wrong tag.
Thanks to Axel


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4814 c92efa57-630b-4861-b058-cf58834340f0
2008-04-16 12:45:39 +00:00
giannozz 6413604a41 Updated to the new file format (Andrea F.)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4806 c92efa57-630b-4861-b058-cf58834340f0
2008-04-16 07:55:20 +00:00
cavazzon aa5738e940 - changes suggested by Andrea Ferretti
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4801 c92efa57-630b-4861-b058-cf58834340f0
2008-04-15 11:16:56 +00:00
cavazzon e4dcec88b0 - reduce replaced with mp_sum
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4795 c92efa57-630b-4861-b058-cf58834340f0
2008-04-12 17:27:50 +00:00
cavazzon f2409b4684 - reduce substituted by mp_sum
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4794 c92efa57-630b-4861-b058-cf58834340f0
2008-04-12 16:21:19 +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
giannozz 74d4bbf24c Correct terminator for namelist: / , no longer &end
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4766 c92efa57-630b-4861-b058-cf58834340f0
2008-04-02 09:09:03 +00:00
dalcorso c757917a25 Bug fix: In some cases lsign=.true. could have problems in the parallel case.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4762 c92efa57-630b-4861-b058-cf58834340f0
2008-03-27 16:33:26 +00:00
giannozz 4dc4266f0b Misc small changes for Alpha compilation warning, by G. Cantele
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4731 c92efa57-630b-4861-b058-cf58834340f0
2008-03-06 20:02:06 +00:00
giannozz f41c8cd8a8 There were some inconsistencies in the naimc convention (if any) of the
files: *.xml should be formatted, *.dat formatted . Compatibility with
previous convention is maintained. Courtesy of Andrea Ferretti.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4717 c92efa57-630b-4861-b058-cf58834340f0
2008-02-19 10:43:39 +00:00
dalcorso ecb4855dfc Bug fix: incompatibility with the new calbec.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4682 c92efa57-630b-4861-b058-cf58834340f0
2008-02-08 10:28:40 +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
dalcorso 70ad199b1f Bands.x can now write on file the bands without changing their order.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4673 c92efa57-630b-4861-b058-cf58834340f0
2008-02-02 14:12:13 +00:00
paulatto ccc6a71a8f Bugfix: PAW should work in parallel with pools
Bugfix: PAW stress should work in parallel, even with pools
Bugfix: vc-bfgs should have a consistent convergence threshold (by SdG)
        (its existence should be reported in INPUT_PW too!)

Note: I had to move some initialization from allocate_nlpot to a new function
      pre_init that I've put in PW/setup.f90; it's called by setup and read_file
Note: the scf_mod part of PAW is now much better, becsum and rho%bec are NOT
      the same any more (rho%bec is mixed and recollected among pools,
      becsum is not).

LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4657 c92efa57-630b-4861-b058-cf58834340f0
2008-01-24 17:02:01 +00:00
paulatto 11e143f404 Missing object prevented linking of bands.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4651 c92efa57-630b-4861-b058-cf58834340f0
2008-01-24 10:23:24 +00:00
cavazzon 33f8d16684 - celanup, poolreduce replaced by mp_sum(...,inter_pool_comm)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4644 c92efa57-630b-4861-b058-cf58834340f0
2008-01-23 17:10:45 +00:00
cavazzon 2a83a33c2a - bug fix, calculation of epsilon.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4629 c92efa57-630b-4861-b058-cf58834340f0
2008-01-16 11:33:34 +00:00
cavazzon 2d9644b6f1 - parallelization of pw2gw in order to
produce input file for GW starting from
  a parallel pw run. Not working with pools yet.
  Thanks to Adriano Mosca Conte


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4628 c92efa57-630b-4861-b058-cf58834340f0
2008-01-16 08:39:14 +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
dalcorso 494c3c872d Cleanup. init_us_1 and newd are now called by read_file.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4588 c92efa57-630b-4861-b058-cf58834340f0
2008-01-02 14:53:49 +00:00
cavazzon c61262f739 - required change to include fft_parallel module
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4581 c92efa57-630b-4861-b058-cf58834340f0
2007-12-31 11:07:26 +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