Commit Graph

26 Commits

Author SHA1 Message Date
giannozz 6c45539bb4 Misc spelling errors
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13957 c92efa57-630b-4861-b058-cf58834340f0
2017-10-25 20:08:57 +00:00
giannozz 44e7c93042 References to mp_global replaced by references to specific modules for
each parallelization level - should be done elsewhere, mp_global is just
a compatibility layer


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10513 c92efa57-630b-4861-b058-cf58834340f0
2013-10-07 08:10:00 +00:00
ccavazzoni e3e253d203 - adding varaibles to manage band group
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7356 c92efa57-630b-4861-b058-cf58834340f0
2010-12-28 00:16:27 +00:00
giannozz a3a39fc998 Cleanup: uniform spelling for "Quantum ESPRESSO", removal of f_defs.h,
CMPLX is explicitly typed, blas/lapack are lowercase (consistently with
the convention: FORTRAN COMMANDS = uppercase, all the rest lowercase)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5789 c92efa57-630b-4861-b058-cf58834340f0
2009-08-01 14:26:46 +00:00
giannozz 6f52984cd2 Only one random number generator is used everywhere ("randy", which
seems to be the most uniform). Beware all kinds of unexpected side
effects.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5272 c92efa57-630b-4861-b058-cf58834340f0
2008-11-05 20:25:20 +00:00
giannozz 45ae58d60b All occurrences of d0, d+N, d-N, replaced with fortran-90 style _DP.
Please do not re-introduce old-style syntax. A uniform syntax allows
if the need arises to change the precision in less than no time.
Courtesy of Pascal Thibeaudeau. Modules/ directory only.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3964 c92efa57-630b-4861-b058-cf58834340f0
2007-06-11 17:13:15 +00:00
cavazzon eab09a43f7 - task groups, clean ups and bugs fix
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3610 c92efa57-630b-4861-b058-cf58834340f0
2006-12-17 23:11:16 +00:00
giannozz 1e235af88b More patches by Axel: all occurrences of "index" replaced by "idx".
"index" is an instrinsic and shouldn't be used as a variable.
control-M characters removed from qexml.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3585 c92efa57-630b-4861-b058-cf58834340f0
2006-12-01 14:41:55 +00:00
giannozz 6e55c387ee Axel's patch: removal of unused variables, replacement of variable "index"
with a less dangerous "idx" ("index" is an intrinsic: some compilers may
complain, or even do strange things)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3574 c92efa57-630b-4861-b058-cf58834340f0
2006-11-27 15:06:51 +00:00
cavazzon 430daca75c - removed the spin dimension from wave function in fpmd routines.
Now wave functions array have only 2 indices everywhere, the first
  for the plane waves, and the second for the electronic states.
  When a spin calculation is performed the "spin up" states
  are stored in the first "nupdwn(1)" columns of the wave functions
  array, and the "spin down" states are stored in the second "nupdwn(2)"
  columns of the same array.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3274 c92efa57-630b-4861-b058-cf58834340f0
2006-07-17 09:15:34 +00:00
cavazzon 6a3a3538c7 - more BGL porting
- some fixes for self interaction correction


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3018 c92efa57-630b-4861-b058-cf58834340f0
2006-04-13 21:38:16 +00:00
cavazzon 26987d2472 - init_pool moved to mp_global (it is now used by CP too)
- further changes to support image parallelization in CP
- bug fix in XML save file for wave functions / charge density / pools .
  In siple case and combinations of procs and polls now it seem to work.
  More testing is required


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2963 c92efa57-630b-4861-b058-cf58834340f0
2006-03-26 17:14:44 +00:00
giannozz 4eb458269c - added check on end-of-file when reading atomic data
- fix for alpha compilation in wave_base


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2885 c92efa57-630b-4861-b058-cf58834340f0
2006-03-08 10:08:58 +00:00
cavazzon c7bd96d697 - changes needed for blue gene porting
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2867 c92efa57-630b-4861-b058-cf58834340f0
2006-03-05 23:02:36 +00:00
sbraccia a5eeeee8c5 All functions used to generate random number collected in a single module. Added two routines
random numbers from a normal distribution.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2725 c92efa57-630b-4861-b058-cf58834340f0
2006-01-25 04:24:49 +00:00
giannozz f533b052d5 dbl => DP (defined as previously dbl was)
syntax for declarations: real(DP), without "kind="


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2135 c92efa57-630b-4861-b058-cf58834340f0
2005-08-28 14:09:42 +00:00
giannozz bf4bfe222f General cleanup of intrinsic functions:
conversion to real    => DBLE
(including real part of a complex number)
conversion to complex => CMPLX
complex conjugate     => CONJG
imaginary part        => AIMAG

All functions are uppercase.
CMPLX is preprocessed by f_defs.h and performs an explicit cast:
#define CMPLX(a,b)  cmplx(a,b,kind=DP)
This implies that 1) f_defs.h must be included whenever a CMPLX is present,
2) CMPLX should stay in a single line, 3) DP must be defined.

All occurrences of real, float, dreal, dfloat, dconjg, dimag, dcmplx
removed - please do not reintroduce any of them.
Tested only with ifc7 and g95 - beware unintended side effects

Maybe not the best solution (explicit casts everywhere would be better)
but it can be easily changed with a script if the need arises.
The following code might be used to test for possible trouble:

program test_intrinsic

  implicit none
  integer, parameter :: dp = selected_real_kind(14,200)
  real (kind=dp) :: a = 0.123456789012345_dp
  real (kind=dp) :: b = 0.987654321098765_dp
  complex (kind=dp) :: c = ( 0.123456789012345_dp, 0.987654321098765_dp)

  print *, '      A = ', a
  print *, ' DBLE(A)= ', DBLE(a)
  print *, '      C = ', c
  print *, 'CONJG(C)= ', CONJG(c)
  print *, 'DBLE(c),AIMAG(C)  = ', DBLE(c), AIMAG(c)
  print *, 'CMPLX(A,B,kind=dp)= ', CMPLX( a, b, kind=dp)

end program test_intrinsic

Note that CMPLX and REAL without a cast yield single precision numbers on
ifc7 and g95 !!!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2133 c92efa57-630b-4861-b058-cf58834340f0
2005-08-26 17:44:42 +00:00
ballabio d214f05b60 last end subroutine --> end subroutine name [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1874 c92efa57-630b-4861-b058-cf58834340f0
2005-05-18 14:02:51 +00:00
ballabio 315a100b4b more end --> end function [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1869 c92efa57-630b-4861-b058-cf58834340f0
2005-05-17 17:07:57 +00:00
cavazzon 1733abe068 - more CP90/FPMD merging: fft high level driver, iosys, exchange-correlation
- some subroutine shortened and simplyfied to make compilation easy


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1559 c92efa57-630b-4861-b058-cf58834340f0
2005-01-15 10:53:46 +00:00
cavazzon 242e9454bf - more merging CP/FPMD
- cleanups


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1412 c92efa57-630b-4861-b058-cf58834340f0
2004-11-01 16:43:29 +00:00
cavazzon 1b938fa669 - work on FPMD for the merging with CP ( grid dimension )
- bug fix ( ion randomization )
- SIC updated
carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1378 c92efa57-630b-4861-b058-cf58834340f0
2004-10-14 08:38:05 +00:00
giannozz 4f68d24040 more patches from Axel Kohlmeyer - see ChangeLog for complete list
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1347 c92efa57-630b-4861-b058-cf58834340f0
2004-09-27 15:05:32 +00:00
sbraccia 0caeadbd7b Machine-dependent definitions are now contained in two different files (both in /include):
1) f_defs.h  for definitions to be included in FORTRAN files ONLY
   2) c_defs.h  for definitions to be included in C       files ONLY

C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1012 c92efa57-630b-4861-b058-cf58834340f0
2004-06-25 17:25:37 +00:00
cavazzon 2b9008ea8a - More merging between CP and FPMD
- some common NEB modules moved to Modules directory
  others NEB modules will be moved soon


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@687 c92efa57-630b-4861-b058-cf58834340f0
2004-02-29 23:30:07 +00:00
cavazzon 11cb02075a merging FPMD/CPV added common subroutines
( wave_steepest wave_verlet )
to advance wave_functions .
FPMD friction parameter for electrons gdelt substituted with frice


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@669 c92efa57-630b-4861-b058-cf58834340f0
2004-02-25 11:44:39 +00:00