Commit Graph

756 Commits

Author SHA1 Message Date
degironc 3deee25b0d 2 Apr 2004 A new (experimental) feature is added to LDA+U method.
The +U part of the functional can be built using
              for the projection on localized orbitals some simple
              Wannier functions generated by the post-processing
              code poormanwannier.f90 (pmw.x) from the LDA band
              structure. (SdG)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@764 c92efa57-630b-4861-b058-cf58834340f0
2004-04-02 16:05:17 +00:00
sbraccia 27985f2974 Default value for the neb-time-step (ds) updated.
Crrected csme other small errors in the INPUT_PW file.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@763 c92efa57-630b-4861-b058-cf58834340f0
2004-04-02 15:53:16 +00:00
giannozz 7a626aea22 Cleanup: dsum removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@762 c92efa57-630b-4861-b058-cf58834340f0
2004-04-02 13:22:33 +00:00
sbraccia 5f4676dda1 Cleanup: all references to varie replaced by references to control_flags
(also when varie is indirectly called by pwcom).
Fake module varie has been removed from pwcom.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@761 c92efa57-630b-4861-b058-cf58834340f0
2004-04-02 13:01:15 +00:00
sbraccia 764ce7f663 References to brilz replaced everywhere by cell_base.
There are still references to pwcom: please do not use pwcom in new code !!!
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@760 c92efa57-630b-4861-b058-cf58834340f0
2004-04-02 10:30:15 +00:00
sbraccia d729a0c79c Again an improvement of the optimization procedure in neb calculations:
the new version of quick-min estimates the optimal time step on the basis of
the approximate force constant along the displacement vector (this is only done
after some optimization steps).
In all test cases the algorithm is at least two times faster.
Nevertheless the algorithm is not yet optimal.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@759 c92efa57-630b-4861-b058-cf58834340f0
2004-04-02 09:45:55 +00:00
cavazzon a3e02b9d06 Self interaction correction (SIC)
tentatively added to FPMD,
work still in progress


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@758 c92efa57-630b-4861-b058-cf58834340f0
2004-04-01 16:30:59 +00:00
sbraccia e9575b3b67 Fixed a bug in the preconditioning of lbfgs_update().
The same bug is present also in the stable (web) release.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@757 c92efa57-630b-4861-b058-cf58834340f0
2004-04-01 15:04:30 +00:00
sbraccia 46496bc19b openfil.f90: fixed a bug related to __NEW_PUNCH
close_files.f90: fixed a bug in neb when lda_plus_u is true
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@756 c92efa57-630b-4861-b058-cf58834340f0
2004-03-31 17:06:39 +00:00
kokalj 06679ff877 veryclean target improved (adding "-")
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@755 c92efa57-630b-4861-b058-cf58834340f0
2004-03-31 11:42:30 +00:00
sbraccia deadd3e6ef Fixed a bug highlighted by P.G. with ifor.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@754 c92efa57-630b-4861-b058-cf58834340f0
2004-03-29 09:34:14 +00:00
sbraccia 28bfb48b47 - General cleanup.
- NEB: 1) units for activation energy and errors are printed in the output file
       2) elastic constants are automatically rescaled so that "spring"-forces have the
          same magnitude as "external-potential"-forces: this permits a larger time step
	  in NEB optimizations (the default will be changed later)
       3) fixed a bug in the way istep and istep_neb were set
- parser: the subroutine delete_if_present has a logical optional input argument to require a
          warning message when a file is removed
- check_stop: the function check_stop_now has an option input argument to assign an output unit
              different from stdout
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@753 c92efa57-630b-4861-b058-cf58834340f0
2004-03-29 08:42:37 +00:00
cavazzon 18a9b037c0 - oops!
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@752 c92efa57-630b-4861-b058-cf58834340f0
2004-03-28 21:44:56 +00:00
cavazzon 9b67f06d87 - date_and_tim moved to flib and used by all code,
- cleanup in clib
- tictac substituted by start_clock/stop_clock
- other cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@751 c92efa57-630b-4861-b058-cf58834340f0
2004-03-28 21:36:28 +00:00
cavazzon 31b6ad65d4 Subroutine PW/error.f90 moved to flib/ directory,
and linked by all codes.
Now in case of severe error, errore writes its message also to the file 'CRASH'
that is closed before aborting, this to avoid information loss in those
systems that do not flush open streams, when the code is stopped through
a call to MPI_ABORT


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@750 c92efa57-630b-4861-b058-cf58834340f0
2004-03-27 23:54:17 +00:00
cavazzon 80d3c37b00 some FPMD cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@749 c92efa57-630b-4861-b058-cf58834340f0
2004-03-27 14:31:25 +00:00
cavazzon dabaf5d817 celldm/alat/at input parameters in FPMD/CPV read
and set as in PW .


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@748 c92efa57-630b-4861-b058-cf58834340f0
2004-03-27 14:15:43 +00:00
sbraccia 8aa7633a1b Cleanup. Fixed some errors in the way nstep_neb and istep_neb were initialized.
Fixed some problems in PW/compute_scf.f90
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@747 c92efa57-630b-4861-b058-cf58834340f0
2004-03-26 09:26:11 +00:00
sbraccia df371533ce Tests on cpu time and soft exit adaptet to "parallel" NEB.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@746 c92efa57-630b-4861-b058-cf58834340f0
2004-03-25 12:09:40 +00:00
sbraccia ee90df07fc Yet another bug in para.f90
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@745 c92efa57-630b-4861-b058-cf58834340f0
2004-03-24 17:46:48 +00:00
sbraccia 7359b6ca2f The array of communicators was non necessary (thanks to SdG): removed everywhere.
Fixed a serious bug in para.f90 (introduced in the last commit).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@744 c92efa57-630b-4861-b058-cf58834340f0
2004-03-24 16:30:44 +00:00
giannozz 7897695824 Minor bugs:
*  planar average crashed if used with a cubic system
  *  Gamma-only phonon code not working for Raman calculations
     in some cases


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@743 c92efa57-630b-4861-b058-cf58834340f0
2004-03-24 15:41:46 +00:00
sbraccia 2a99b6fdac 1) An experimental parallelization of NEB images has been implemented.
This required a deep modification of the parallelism in PWscf:
there are two new communicators (intra_image_comm and inter_image_comm) and the
existing "pool" communicators (intra_pool_comm and inter_pool_comm) are now vectors
of length given by the number of parallel images. #ifdef __PARA is no longer
needed because all "parallel" variables are always initialized for a serial run
and all parallel routines are, in the case of a serial run, dummy routines.
The wrappers to MPI routines used only by PWscf are in the PW/para.f90 file.
The others (mp_***) are in the Modules/mp.f90. All explicit referencies to mpif.h
should be replaced by an "USE parallel_include" (in a serial run parallel_include
is simply a dummy module).

2) The extrapolation of both potential and wavefunctions has been rewritten in
order to be smarter than before: on the basis of the required extrapolation
order, on the basis of the history and on the basis of which files are really
present on the disk, the algorithm chooses the extrapolation order.
All the algorithms in which ions are moved can use the extrapolation.

These are both unstable features: I need the help of everybody to test them.

C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@742 c92efa57-630b-4861-b058-cf58834340f0
2004-03-24 09:36:50 +00:00
sbraccia f94c73e766 Fixed a couple of bugs in the way default values were set (bugs inserted by me in a previous fix).
The same bug is present in the 2.0.1 version and in the patch-2-0p2.
This should be the ultimate fix for defaults-related problems.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@741 c92efa57-630b-4861-b058-cf58834340f0
2004-03-20 15:43:47 +00:00
giannozz f5092aeb71 Oops...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@740 c92efa57-630b-4861-b058-cf58834340f0
2004-03-19 17:24:43 +00:00
ballabio 7241650dee added support for Itanium/Intel compiler [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@739 c92efa57-630b-4861-b058-cf58834340f0
2004-03-19 15:01:49 +00:00
giannozz 73061fe296 yet another bug in phonon and k-point parallelization in
namelist reading (phq_readin)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@738 c92efa57-630b-4861-b058-cf58834340f0
2004-03-19 08:34:42 +00:00
cavazzon 7ef5f7a286 - fix in restart for spin polarized systems
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@737 c92efa57-630b-4861-b058-cf58834340f0
2004-03-17 20:36:27 +00:00
profeta cf59494935 GUI freeze with empty namelist in PW input file
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@736 c92efa57-630b-4861-b058-cf58834340f0
2004-03-17 17:32:40 +00:00
profeta 7b38e1c8b5 rdiaghg.f90 uses dsygvx routine which was nor present in local copy of lapack
added + all its dependancies


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@735 c92efa57-630b-4861-b058-cf58834340f0
2004-03-17 12:17:46 +00:00
kokalj b1202b3077 *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@734 c92efa57-630b-4861-b058-cf58834340f0
2004-03-17 10:11:20 +00:00
kokalj 4cb252bb41 small bug in putsFlush proc
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@733 c92efa57-630b-4861-b058-cf58834340f0
2004-03-17 10:09:33 +00:00
sbraccia b0580be0ae Removed useless files.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@732 c92efa57-630b-4861-b058-cf58834340f0
2004-03-17 09:16:24 +00:00
sbraccia 12875e3e80 A call to the subroutine check.f90 was still there.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@731 c92efa57-630b-4861-b058-cf58834340f0
2004-03-17 08:12:24 +00:00
sbraccia cbc1f05d29 All references to mpif.h and to the subroutine check.f90 removed by the PWscf and related codes.
If noone disagrees I'll remove the routine check.f90 and all the routines moved in para.f90.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@730 c92efa57-630b-4861-b058-cf58834340f0
2004-03-16 18:14:34 +00:00
ballabio 39de03c63f cleanup in Makefiles
changed name of PWNC/pw.x to PWNC/pwnc.x [Gerardo]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@729 c92efa57-630b-4861-b058-cf58834340f0
2004-03-16 14:47:58 +00:00
giannozz 36f3a976b3 Makefile cleanuo. In upftools executables are *.x as everywhere.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@728 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 15:59:52 +00:00
sbraccia 2bcd9132c5 Problems in parallel version of PWNC and PWCOND fixed.
Other refernces to mpif.h removed.
In rdiaghg and cdiaghg #ifdef HAS_ZHEGVX removed (that routine is present in all lapack distributions).
wfcs extrapolation extended to NEB.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@727 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 15:25:20 +00:00
giannozz a4c6adff57 oops...missing file in parallel compilation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@726 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 15:11:24 +00:00
giannozz d91860df21 Cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@725 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 15:04:26 +00:00
giannozz e06089c7be cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@724 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 14:56:54 +00:00
giannozz cde99783cc Modules/*.o => list of used modules
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@723 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 14:48:50 +00:00
giannozz 581e56d3ec Two instances of the same variable in efg.f90 (found by Antonio Tilocca)
Cleanup, doc, workaround for yet another ifc8 bug, no more #ifdef ZHEGVX


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@722 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 10:07:07 +00:00
sbraccia 0c4b3101cd General cleanup of the parallelization routines of PWscf: they have all been moved in the para.f90 file.
All explicit includes of mpif.h replaced by USE include_parallel.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@721 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 09:43:02 +00:00
degironc 608a925987 added reference to routines called by neb_base
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@720 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 09:23:46 +00:00
degironc bbf860d42c *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@719 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 07:59:07 +00:00
cavazzon c880a0a848 - Almost all neb routines moved to Modules
- New module check_stop used by all codes
  to check for exit conditions ( maximum time
  or EXIT file )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@718 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 00:08:26 +00:00
giannozz 9254bf4340 More postprocessing is working at Gamma point.
A few ifort8 compilation glitches fixed. Manual updated.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@717 c92efa57-630b-4861-b058-cf58834340f0
2004-03-12 18:38:54 +00:00
sbraccia c9c711e147 Fixed a problem with startingpot default value in the case of nscf and phonon calculations.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@716 c92efa57-630b-4861-b058-cf58834340f0
2004-03-12 17:45:30 +00:00
sbraccia 186a8f6657 Fixed a problem with a rename of an already renamed variable (ntyp_ => ntyp => nsp : ifort complains !!!).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@715 c92efa57-630b-4861-b058-cf58834340f0
2004-03-12 16:30:12 +00:00