Commit Graph

170 Commits

Author SHA1 Message Date
giannozz 47c5de62f8 More USPP_related variables moved to Modules/uspp.f90
Note that lqx => lmaxq for consistency with other names
(those ending in x are static dimensioning)
Beware unexpected side effects (PG)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@933 c92efa57-630b-4861-b058-cf58834340f0
2004-05-31 17:55:33 +00:00
dalcorso 489795748e Cleanup of PWNC.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@928 c92efa57-630b-4861-b058-cf58834340f0
2004-05-31 12:54:27 +00:00
giannozz ee61e86345 iargc explicitely declared
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@926 c92efa57-630b-4861-b058-cf58834340f0
2004-05-28 10:29:52 +00:00
ballabio 18e476f2a6 again more "program -in input" [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@924 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 17:29:01 +00:00
giannozz 4a5732790a Part of the variables for ultrasoft pseudopotentials have been moved to a
new module uspp_param, shared between PW and CP (in file Modules/uspp.f90)
The flag newpseudo is no longer used to decide whether states with oc=0 are
bound or not: for those states, and only for the old RRKJ format, oc is set
to a negative value, and this signals that they are not bound. Not elegant
but simpler than it used to be. The converter to UPF format did not include
those states anyway. Beware unexpected side effects!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@914 c92efa57-630b-4861-b058-cf58834340f0
2004-05-26 11:04:07 +00:00
deinzer cb63ae8703 added reference to PW/set_kplusb
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@912 c92efa57-630b-4861-b058-cf58834340f0
2004-05-25 14:43:47 +00:00
giannozz a75c83beb2 Merged noncolinear and colinear symmetries (routines sgama, irrek).
Variable degspin removed, constant degspin=2 left.
Please check for unintended effects!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@906 c92efa57-630b-4861-b058-cf58834340f0
2004-05-21 16:19:20 +00:00
giannozz 2da5c01765 becp = <beta|psi> allocated only when needed (except in phonon where it is
still allocated at the beginning) - misc cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@878 c92efa57-630b-4861-b058-cf58834340f0
2004-05-11 21:08:21 +00:00
giannozz 097c76c675 Makefile and doc update
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@877 c92efa57-630b-4861-b058-cf58834340f0
2004-05-11 08:46:53 +00:00
giannozz a1c7155180 restart.o was loaded twice
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@866 c92efa57-630b-4861-b058-cf58834340f0
2004-05-07 17:42:58 +00:00
cazzato db23f632d6 the new punch routine, which writes on the .save file (instead of .pun),
is now the default. Moreover, if the wf_collect flag (in the control namelist)
is true, it collects all wave functions and store them in the same file.
The phonon and postprocessing codes can handle this new .save file.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@864 c92efa57-630b-4861-b058-cf58834340f0
2004-05-07 17:21:24 +00:00
dalcorso ff207d8c52 Added two routines for s.o.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@843 c92efa57-630b-4861-b058-cf58834340f0
2004-04-30 14:58:05 +00:00
dalcorso aef6ec462c Introduced variables for spin-orbit support. Changes on these
routines are due to the fact that dvan becomes spin dependent and has
an additional index.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@839 c92efa57-630b-4861-b058-cf58834340f0
2004-04-30 08:51:31 +00:00
giannozz d69e112706 More PP cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@828 c92efa57-630b-4861-b058-cf58834340f0
2004-04-28 10:25:36 +00:00
giannozz 6c76b02482 Pseudopotential cleanup: vnl => vloc_at
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@818 c92efa57-630b-4861-b058-cf58834340f0
2004-04-26 07:25:01 +00:00
giannozz d198ebad0c ndm, mmaxx => ndmx ; 0:ndm => ndmx (starting from 0 no longer needed)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@815 c92efa57-630b-4861-b058-cf58834340f0
2004-04-23 17:10:44 +00:00
giannozz aaec53ef14 sorry...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@812 c92efa57-630b-4861-b058-cf58834340f0
2004-04-22 14:41:54 +00:00
giannozz 118fd9975c funct.f90 and which_dft moved to Modules/functionals.f90
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@811 c92efa57-630b-4861-b058-cf58834340f0
2004-04-22 14:28:37 +00:00
giannozz 0c2d41eeec dylmr2.f90 moved to flib/
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@804 c92efa57-630b-4861-b058-cf58834340f0
2004-04-20 14:45:00 +00:00
giannozz e277741dc8 First steps in USPP merge between CP and PW:
PW: nqfm => nqfx, some us variables and aainit moved to Modules/uspp.f90 (new)
CP: lx, lqx => lqmax, lix => lmaxx+1, variables moved, aainit not yet merged
invmat moved to flib/ and merged with invmat3 of CP/FPMD,
rndm and ylmr2 moved to flib/ in rranf.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@793 c92efa57-630b-4861-b058-cf58834340f0
2004-04-13 21:49:51 +00:00
giannozz 5b74c1aa22 Cleanup: integer conversion to real performed with "dble" everywhere
minor things here and there


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@765 c92efa57-630b-4861-b058-cf58834340f0
2004-04-03 13:24:17 +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
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
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 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
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 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
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
sbraccia 492f080ce3 Calls to poolbcast replaced by calls to mp_bcast(*,MPI_COMM_ROW).
PW/broadcast.f90 PW/poolbcast.f90 removed.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@707 c92efa57-630b-4861-b058-cf58834340f0
2004-03-08 17:21:27 +00:00
giannozz 7868b0a4ab - Missing object in pwtools/Makefile
- yet another call to init_pool removed
- Changelog and BUGS updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@704 c92efa57-630b-4861-b058-cf58834340f0
2004-03-08 14:00:22 +00:00
cavazzon 744fb1cbb2 - neb basic routines moved to Modules, to be shared among codes
- basic cell and ionic variables moved frpm pwcom to
  cell_base and ions_base .
  cell_base modules and ions_base modules should be initialized
  through the use of cell_base_init and ions_base_init, this after
  having read the namelists and the cards .
  IN THE FUTURE NONE OF THE VARIABLES IN THE BASIC MODULES SHOULD
  BE SET IN THE MAIN CODES, BUT THROUGH A CALL TO SOME INIT
  FUNCTIONS CONTAINED IN THE BASIC MODULE ITSELF.
  THE IDEA IS THAT THE BASIC VARIABLES SHOULD BE USED AS
  READ-ONLY. UNFORTUNATELY IN F90 THERE IS NO POSSIBILITY
  TO SET A READ ONLY ATTRIBUTE.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@702 c92efa57-630b-4861-b058-cf58834340f0
2004-03-08 08:43:25 +00:00
ballabio be905d8d8e removed dependencies on ../PW/neb_variables.o [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@690 c92efa57-630b-4861-b058-cf58834340f0
2004-03-01 17:13:37 +00:00
sbraccia b893fdb844 oops ...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@679 c92efa57-630b-4861-b058-cf58834340f0
2004-02-26 15:24:50 +00:00
sbraccia c20cd8c392 Fiexd some error added in the PW/Makefile during my previous commit.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@677 c92efa57-630b-4861-b058-cf58834340f0
2004-02-26 13:48:25 +00:00
degironc ce9d9804c9 14 feb 2004 LDA+U: variable starting_ns_eigenvalue has been added in
order to allow to specify how to fill starting ns occupation
             matrices. Useful when the default choice take the wrong
             (or not desired) path.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@598 c92efa57-630b-4861-b058-cf58834340f0
2004-02-14 08:39:34 +00:00
giannozz 5d9c503b0b Updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@564 c92efa57-630b-4861-b058-cf58834340f0
2004-02-05 21:13:36 +00:00
ballabio 1bf1efa138 fixed double linking of ../PW/cdiaghg.o [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@552 c92efa57-630b-4861-b058-cf58834340f0
2004-02-03 11:57:05 +00:00
giannozz 8867d0c47e Makefiles updated after last changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@542 c92efa57-630b-4861-b058-cf58834340f0
2004-01-30 10:08:32 +00:00
sbraccia d044268261 A missing IMPLICIT NONE that was causing problems:
indeed iunres was not declared and unit -1073746312 was thus opened !!!
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@530 c92efa57-630b-4861-b058-cf58834340f0
2004-01-27 14:59:24 +00:00
giannozz ef0e4b12ad fake out-of-bound error fixed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@525 c92efa57-630b-4861-b058-cf58834340f0
2004-01-26 21:36:41 +00:00
degironc f10d5b1866 LDA+U forces and stress are now much faster (yet not optimal)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@517 c92efa57-630b-4861-b058-cf58834340f0
2004-01-24 14:44:20 +00:00
giannozz 0b1a5c9fd8 Extensive module cleanup: DP moved from wrong place (parameters) to the
correct place (kinds); module "varie" replaced by "control_flags" (not
yet in pwcom, though) - many many files changed.
64-bit cpus (Opteron, maybe Itanium) should now work if __LINUX64 is defined


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@513 c92efa57-630b-4861-b058-cf58834340f0
2004-01-23 15:08:03 +00:00
sbraccia 222b8df7cd Files no longer needed have been removed and the Makefile updated.
In the Gamma directory are now present only those files needed for a phonon
calculation at q=0 (phcg.x).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@464 c92efa57-630b-4861-b058-cf58834340f0
2004-01-05 09:31:59 +00:00
giannozz 7c4f3cf840 Documentation updated to reflect merge of Gamma and k-point versions
variable filpun removed everywhere


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@454 c92efa57-630b-4861-b058-cf58834340f0
2003-12-11 11:10:03 +00:00
sbraccia d6ffd55039 Gamma adapted to the new PW routines.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@451 c92efa57-630b-4861-b058-cf58834340f0
2003-12-10 16:13:35 +00:00
ballabio ff247c327d Cleanup [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@439 c92efa57-630b-4861-b058-cf58834340f0
2003-12-02 15:47:00 +00:00
giannozz 9c97c84c9c Compilation problems (residual "units" modules) fixed
Documentation and ChangeLog updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@384 c92efa57-630b-4861-b058-cf58834340f0
2003-11-10 08:30:54 +00:00
cavazzon 9ce7263953 - bug (alpha compiler) reported by Sergey has been fixed
- module filnam in pwcom moved to io_files module
- module units in pwcom moved to io_file

From now on, all file names and their unit and attributes (i.e. reclen)
should be defined in Modules/io_files.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@382 c92efa57-630b-4861-b058-cf58834340f0
2003-11-09 18:30:08 +00:00
cavazzon c5d8ff2f66 - unit 6 replaced by stdout in CPV
- ^M removed from pseudo files
- wavefunctions arrais moved to module
  wavefunctions_module, common to all codes
  this is required to reduce duplicated subroutine
- new lapack subroutine, called from PWCOND,
  added to lib/lapack.f lib/lapack_ibm.f


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@381 c92efa57-630b-4861-b058-cf58834340f0
2003-11-09 10:42:50 +00:00
sbraccia 24ce939aeb Unit stdout (set in Modules/io_global.f90) is used to write on standard output
instead of 6 or *.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@365 c92efa57-630b-4861-b058-cf58834340f0
2003-11-04 10:53:05 +00:00
giannozz e34c8c50e3 Several Gamma-specific routines merged into PW/
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@356 c92efa57-630b-4861-b058-cf58834340f0
2003-10-29 18:53:40 +00:00
giannozz ac3144b3d4 oops...gradient correction corrected
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@355 c92efa57-630b-4861-b058-cf58834340f0
2003-10-29 18:01:43 +00:00
giannozz fb4188d994 More Gamma cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@354 c92efa57-630b-4861-b058-cf58834340f0
2003-10-29 17:45:55 +00:00
giannozz e7b0ce982f Gamma code cleanup: becp is allocated when used and then deallocated,
obsolete module gamma removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@353 c92efa57-630b-4861-b058-cf58834340f0
2003-10-29 14:05:29 +00:00
giannozz d7a1b077e1 *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@343 c92efa57-630b-4861-b058-cf58834340f0
2003-10-28 11:16:36 +00:00
giannozz c67ca51067 minor things: "external ::", examples for noncolinear case
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@341 c92efa57-630b-4861-b058-cf58834340f0
2003-10-28 08:05:14 +00:00
giannozz 57d733a8b0 Added SAVE to all modules
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@336 c92efa57-630b-4861-b058-cf58834340f0
2003-10-17 12:03:47 +00:00
giannozz bba38fd761 bfgs modified to work with arbitrary components of the atomic positions
kept fixed (Carlo Sbraccia)
"Total force" now prints a more sensible quantity:
\sqrt(\sum_{i,n} f_i(n)^2) instead of \sum_{i,n} |f_i(n)|
Cleanup in several routines and in modules.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@334 c92efa57-630b-4861-b058-cf58834340f0
2003-10-16 16:30:12 +00:00
cavazzon 1d34b5c0a8 non collinear spin version of PW,
contributed by Adriano Mosca Conte,
added to the repository.
The non collinear code has required
a new module "wavefunctions" containing
"psic" and "evc", that no longer belong
to pwcom.

use: cvs update -d

there's a new example (example13), that is not
yet complete, I'm waiting for the appropriate
pseudopotential from Adriano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@322 c92efa57-630b-4861-b058-cf58834340f0
2003-10-03 14:01:11 +00:00
cavazzon cbff0f48de different modules containing filenames and directories
substituted by common module:
Modules/io_files.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@317 c92efa57-630b-4861-b058-cf58834340f0
2003-09-23 14:45:12 +00:00
giannozz ce8515b1be many calls to "setv" replaced by f90 assignements
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@314 c92efa57-630b-4861-b058-cf58834340f0
2003-09-17 21:50:03 +00:00
cavazzon c80f75d514 bug fix, dlay_set dimensioning
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@309 c92efa57-630b-4861-b058-cf58834340f0
2003-09-11 08:13:36 +00:00
giannozz d0706224d4 Version number centralized in Modules/version.f90, updated to 1.3.0
Auxiliary programs in pwtools/: equation of state (ev.x),
distances/angles (dist.x), k-point generation (kpoints.x).
D3 fixes (maybe). Misc cleanup.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@291 c92efa57-630b-4861-b058-cf58834340f0
2003-08-29 17:15:25 +00:00
giannozz 319ae12049 sp3 fix (allocation with zero length). Manual updates.
Gamma: fixed occupations, electric fields, cleanup.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@289 c92efa57-630b-4861-b058-cf58834340f0
2003-08-21 15:14:22 +00:00
giannozz f4c0bdf1de PP/start_postproc.f90 cleanup. Manual updated. Some error messages clarified.
Example for Berry phase updated (BEWARE: space needed between card and option
after last changes to input!!! K_POINT{automatic} => K_POINT {automatic} )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@283 c92efa57-630b-4861-b058-cf58834340f0
2003-08-11 17:48:04 +00:00
degironc 0deeeaba5b 30 Jul 2003 indexing of the occupation matrices (ns,nsnew, etc) used in
LDA+U has been redefined in a more natural order:
             ns(na,is,ldim,ldim) -> ns(ldim,ldim,is,na)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@281 c92efa57-630b-4861-b058-cf58834340f0
2003-07-31 12:54:09 +00:00
cavazzon 49f7deeb0b compilation fix, object PW/becmod.o added to Gamma/Makefile
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@276 c92efa57-630b-4861-b058-cf58834340f0
2003-07-25 12:19:28 +00:00
giannozz 6b9b7b9725 Atomic positions are written in a relaxation run in input units
The unit cell can be given using crystallographic parameters a, b, c,
(all in A), cosab cosac, cosbc .  Misc. cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@263 c92efa57-630b-4861-b058-cf58834340f0
2003-07-11 15:16:00 +00:00
giannozz 61ba3c484f Please update ALL Makefiles when adding new files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@258 c92efa57-630b-4861-b058-cf58834340f0
2003-07-07 10:07:20 +00:00
cavazzon 1625356cb6 - arrays ipc ipcs icpl icpls substituted by
data structures dfftp dffts

- small bug fixed in setlocal.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@254 c92efa57-630b-4861-b058-cf58834340f0
2003-07-01 10:11:55 +00:00
cavazzon b361a00b78 restart file restructure started.
new hpsort that should solve the problems with the unique
g vectors ordering, d1, d2, d3 eliminated from ggens of all
the codes.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@253 c92efa57-630b-4861-b058-cf58834340f0
2003-06-30 14:30:44 +00:00
cavazzon de9a865b6c subroutine latgen and volume moved to flib
and used by all codes,
as common latgen it has been used the one contained in CPV,
sice this version solve some problems related to left-handed cell

new common module ions_base with ionic basic variables


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@247 c92efa57-630b-4861-b058-cf58834340f0
2003-06-25 12:43:25 +00:00
cavazzon 21187430a4 More common modules for grid dimensioning,
recips.f90 moved to flib and used by all codes


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@245 c92efa57-630b-4861-b058-cf58834340f0
2003-06-24 21:38:49 +00:00
giannozz 3a086b820c Installation cleanup; fftw are compiled by default
All Makefiles updated for addition of Berry phase code
iargc, getenv, getarg preprocessed
Missing Blas/Lapack sources for pw added


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@228 c92efa57-630b-4861-b058-cf58834340f0
2003-06-12 07:43:14 +00:00
giannozz a48e8a85ec Minor cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@219 c92efa57-630b-4861-b058-cf58834340f0
2003-05-28 14:53:30 +00:00
giannozz aef2705d46 Davidson modified to use less memory in non-US calculations
(involves changes in several routines)
Option "nooverlap" for Davidson removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@215 c92efa57-630b-4861-b058-cf58834340f0
2003-05-22 10:18:38 +00:00
giannozz e6eb7c8cb7 MKL problem fixed (maybe)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@208 c92efa57-630b-4861-b058-cf58834340f0
2003-05-12 12:31:34 +00:00
giannozz 5772acd872 Some cleanup in ggen, __OLD_GGEN stuff removed,
same code (almost) for PW and Gamma versions
version number updated,  manual updated
Lahey installation


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@203 c92efa57-630b-4861-b058-cf58834340f0
2003-05-05 16:10:51 +00:00
cavazzon 7ec278895a bug fix, sticks and serial Gamma code. The do_fft_x and do_fft_y
vectors was built only from half of G-space.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@201 c92efa57-630b-4861-b058-cf58834340f0
2003-05-03 15:10:42 +00:00
giannozz a36e51ecb6 *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@199 c92efa57-630b-4861-b058-cf58834340f0
2003-05-02 15:35:35 +00:00
giannozz 2970fd4810 Makefiles updated, Gamma updated, misc
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@198 c92efa57-630b-4861-b058-cf58834340f0
2003-05-02 13:23:14 +00:00
cavazzon 07c97593b8 - cleanup
- serial code sticks enabled with fftw to (then we should check when
  it is worth to use them, in most cases seems convenient)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@197 c92efa57-630b-4861-b058-cf58834340f0
2003-05-01 22:47:53 +00:00
cavazzon 23aec87a2f - more performance issues
- ifdef __PARA removed from the main subroutine of PW, Gamma, D3, PP, PH
  now startup is called both for serial and parallel codes.
- cfts_3 included in fft_scalar ( tested for __AIX )
- module pencils in serial executions is no more needed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@189 c92efa57-630b-4861-b058-cf58834340f0
2003-04-28 07:23:04 +00:00
cavazzon 616b483f36 Performance issues and Harware Performance Monitor
interface for Power4 processor ( can by switched on defining __HPM )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@187 c92efa57-630b-4861-b058-cf58834340f0
2003-04-24 22:10:04 +00:00
cavazzon 7705b68b8a function allowed moved to fft_scalar
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@182 c92efa57-630b-4861-b058-cf58834340f0
2003-04-22 21:45:49 +00:00
cavazzon 23634ce31b good_fft_dimension moved to fft_scalar
small fix (most probably a typo) in scatter.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@181 c92efa57-630b-4861-b058-cf58834340f0
2003-04-22 21:26:28 +00:00
giannozz 126d78de8a FFT : Cern fft, option NOPENCILS removed
Make.ibmsp modified to work without modifications for all codes
Misc minor changes. Initialization to zero added to regterg as well


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@179 c92efa57-630b-4861-b058-cf58834340f0
2003-04-22 19:34:27 +00:00
cavazzon 45858fb8bd Small fixes in Makefiles (consequence of the directory change of clocks.f90)
..... fixed by PG few minutes ago!
PW interfaced to Module/fft_scalar.f90 when __FFTW is defined.
Extensive tests of parallel and serial execution for all codes,
has been done on ALPHA system.
In pw_examples/example6 found a problem in parallel execution with 4 procs,
related to stdin (I've got an end of file on stdin), no problem
for the serial execution.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@176 c92efa57-630b-4861-b058-cf58834340f0
2003-04-21 21:29:49 +00:00
giannozz 4d60840971 Makefile fixes (PP, PH, D3, Gamma)
Calls to allocate_fft, ggen moved out of setup.f90
Minor change in mix_rho to reduce memory use
CPV: Exch_corr: gradr not deallocated in some cases


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@175 c92efa57-630b-4861-b058-cf58834340f0
2003-04-21 20:42:34 +00:00
giannozz be52103a27 All filenames => 80 char
All directories=> 80 char
Filenames + directories + other => 256
---------------------------------------------------------------


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@154 c92efa57-630b-4861-b058-cf58834340f0
2003-04-12 19:25:08 +00:00
giannozz d2c6caca79 Minor things
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@153 c92efa57-630b-4861-b058-cf58834340f0
2003-04-10 20:08:14 +00:00
giannozz 644e487002 Iterative diag for Gamma case updated - comments, indent etc.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@150 c92efa57-630b-4861-b058-cf58834340f0
2003-04-09 13:58:05 +00:00
giannozz b25079f896 evc is dimensioned (npwx, nbnd) - various routines changed
(extensive changes to wfcinit, rotate_wfc, ccginitg).
Residual wrong dimension et(nbndx,nkstot) removed.
Common efield_0 in PW renamed extfield to avoid name
clash with common efield in PH (PGI compiler)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@148 c92efa57-630b-4861-b058-cf58834340f0
2003-04-08 07:13:30 +00:00
giannozz ab5b6af5e5 D3/Makefile : missing add_efield added
cegterg, regterg: use GEMM instead of GEMV, do not require
any longer evc, et to be dimensioned nbndx (et is now
dimensioned (nbnd,nkstot)) - misc. cleanup

Il calcolo di (H-eS)*psi ('update') nella diagonalizzazione iterativa
prendeva un tempo esagerato. L'ho modificata in modo da usare prodotti
matrice-matrice su tutti gli psi invece che matrice-vettore su ogni
psi, se piu' di 1/4 dei vettori non e' a convergenza. La cosa e' fatta
a naso e richiede ulteriori di prove, ma mi sembra che apporti dei
miglioramenti.

In TODO ho messo una lista di cose da fare.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@145 c92efa57-630b-4861-b058-cf58834340f0
2003-04-07 12:55:29 +00:00
giannozz 6e3853d809 Some cleanup and marginal improvements in force calculation for US PP
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@144 c92efa57-630b-4861-b058-cf58834340f0
2003-04-04 14:36:00 +00:00
giannozz 96ea2f812f Do not restart bfgs from previous results if restart_mode='from_scratch'
(this time correct)
BEWARE: tmp_dir => outdir in all namelists and examples
misc. cleaning


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@138 c92efa57-630b-4861-b058-cf58834340f0
2003-03-27 15:47:30 +00:00
giannozz a0cc0b1d7e - call to dvqpsi_us in PH/elphon.f90 updated with recent
recent changes (could cause core dump)
- local_dos.f90 compilation error in parallel case
- more mpi_bcast => mp_bcast, misc. cleaning


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@131 c92efa57-630b-4861-b058-cf58834340f0
2003-03-21 16:20:59 +00:00
giannozz 318fdfcfcf obsolete core-charge only term (etxcc) removed from bfgs.f90, set_rhoc.f90
bfgs.f90:  direct calls to mpi_bcast replaced by calls to mp_bcast
Misc. minor changes


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@122 c92efa57-630b-4861-b058-cf58834340f0
2003-03-13 18:20:45 +00:00