Commit Graph

34 Commits

Author SHA1 Message Date
giannozz 8609fb3e06 Calculation of Eliashberg function a2F works again
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2782 c92efa57-630b-4861-b058-cf58834340f0
2006-02-07 18:39:54 +00:00
giannozz 52a5ed0f75 Ry vs cm^(-1) confusion introduced by recent changes - cleaned up
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2715 c92efa57-630b-4861-b058-cf58834340f0
2006-01-20 10:16:11 +00:00
cavazzon 1a6b00bbb6 - FPMD/CP ortho subroutines merged as much as possible.
- Many ortho auxiliary functions (tauset, rhoset, sigset, calphi, updatc)
  are now in common between FPMD/CP, and moved to module ortho_base.f90
- In FPMD, three index vectors, related to real space like charge and potential
  have been substituted with single index vector like in CP, for compatibility
  and efficiency.
- Bug fix in pwtools/matdyn.f90 a logical variable was used in place of a
  character variable


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2694 c92efa57-630b-4861-b058-cf58834340f0
2006-01-10 14:04:13 +00:00
giannozz c876c71335 Electron-phonon calculation with new algorithm works in parallel
(but not yet with pools). New versions of q2r and matdyn added.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2690 c92efa57-630b-4861-b058-cf58834340f0
2006-01-05 19:02:22 +00:00
degironc e28966f45a Fixed problem with ibrav=0 in the chain ph.x -> q2r.x -> matdyn.x
If ibrav=0 ph.x write also  at(3,3) and symm_type and so do q2.x and matdyn.x
It could actually be simpler to always write/read at(3,3) and symm_type and
forget about ibrav and celldm ...

latgen modified so that it deals properly with ibrav=0 case.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2543 c92efa57-630b-4861-b058-cf58834340f0
2005-12-02 14:51:57 +00:00
giannozz 1320546f9a Yet anoher bad call to sgama
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2474 c92efa57-630b-4861-b058-cf58834340f0
2005-11-14 11:22:06 +00:00
giannozz e116cda6d7 More explicit error message
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2421 c92efa57-630b-4861-b058-cf58834340f0
2005-11-04 17:20:00 +00:00
giannozz 9291b6914e Erroneous errors
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2311 c92efa57-630b-4861-b058-cf58834340f0
2005-10-20 08:01:20 +00:00
giannozz aa0f6e133b Correct or less strange, normalisation for phonon DOS
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2163 c92efa57-630b-4861-b058-cf58834340f0
2005-09-09 10:58:27 +00:00
giannozz 2ad0dd8fe4 Added auxiliary codes by Eyvaz Isaev for Fermi energy visualisation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2143 c92efa57-630b-4861-b058-cf58834340f0
2005-08-30 16:35:08 +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
giannozz 0a6cf4552d Updated documentation for simplified interatomic force constants calculation
A file containing information on the q-point grid is written by ph.x
and read by q2r.x, thus making the process less clumsy
The phonon code does not restart automatically any longer unless instructed
to do so by setting input variable "recover"
Misc cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2039 c92efa57-630b-4861-b058-cf58834340f0
2005-07-20 14:57:21 +00:00
giannozz 1b2291d239 More dynamical allocation and more cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1954 c92efa57-630b-4861-b058-cf58834340f0
2005-06-09 18:11:45 +00:00
giannozz 95b7589337 Static allocation replaced by dynamical allocation, cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1953 c92efa57-630b-4861-b058-cf58834340f0
2005-06-09 14:29:51 +00:00
giannozz e3bb8be1db New routine input_from_file called everywhere
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1948 c92efa57-630b-4861-b058-cf58834340f0
2005-06-09 07:35:50 +00:00
giannozz a9799a0120 Improved Acoustic Sum Rule By Nicolas&Nicola merged
No warranty that it works: it just compiles


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1941 c92efa57-630b-4861-b058-cf58834340f0
2005-06-07 17:22:48 +00:00
giannozz 20a64d1126 tetra should be integer (courtesy of Pascal Thibaudeau)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1754 c92efa57-630b-4861-b058-cf58834340f0
2005-03-24 14:36:53 +00:00
giannozz 1648ab6bf2 Patches from Axel Kohlmayer:
- iotk_scan in iotk_module had a mixed up 'intent' statement.
- sun ultra fire 3 compiler warnings
- cleanup in filename length (brought to 256)
- cleanup in include files


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1399 c92efa57-630b-4861-b058-cf58834340f0
2004-10-26 09:32:48 +00:00
sbraccia a05a93b24b matdyn.f90 q2r.f90 modified to work in a parallel environment (only the first cpu does the job).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1342 c92efa57-630b-4861-b058-cf58834340f0
2004-09-27 12:16:41 +00:00
giannozz cf4129b4d2 Misc. cleanup; a few redundant routines moved to flib;
added example for phonon DOS; version number updated to 2.1 (PG)

Please start testing and debugging the next version, i.e., this one.
Note that reference data have to be updated for all examples.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1039 c92efa57-630b-4861-b058-cf58834340f0
2004-07-02 16:24:48 +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
giannozz 839d8fec7b uffa...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1009 c92efa57-630b-4861-b058-cf58834340f0
2004-06-25 16:30:52 +00:00
giannozz 45760a7a5f More T3E glitches: getarg must be preprocessed
|| instead of | in clib/cp.h


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@985 c92efa57-630b-4861-b058-cf58834340f0
2004-06-21 14:13:24 +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 3e444c17ea more "program -in input" added [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@923 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 16:54:20 +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
dalcorso 5786055c9d More q points allowed nqx=500.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@692 c92efa57-630b-4861-b058-cf58834340f0
2004-03-03 11:38:53 +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
giannozz 9e3fedec2c phonon: added comments to remind why dbecsum is summed
over processors; various calls to setv removed
Second occurrence of wsinit and wsweight removed
Unit number cleanup (solves problem with conflicting units)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@329 c92efa57-630b-4861-b058-cf58834340f0
2003-10-15 11:40:07 +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
giannozz 9e3a2de758 Support for lahey compiler added: "error" renamed to "errore", "rnd" to "rndx"
bug in io_base fixed
PARA => __PARA
cinterpolate moved into interpolate


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@86 c92efa57-630b-4861-b058-cf58834340f0
2003-02-21 14:57:00 +00:00
giannozz 127cd0e6a4 Misc. changes to installation files
small change in input.f90 to allow use of debugger
Do not (yet) use UPF format to write PPs in restart file:
other types of PP will not work
Example added, example documentation and PP in UPF format updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@19 c92efa57-630b-4861-b058-cf58834340f0
2003-01-24 18:28:58 +00:00
giannozz ac9f2144c0 O-sesame
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2 c92efa57-630b-4861-b058-cf58834340f0
2003-01-19 21:58:50 +00:00