Commit Graph

102 Commits

Author SHA1 Message Date
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