Commit Graph

178 Commits

Author SHA1 Message Date
kkudin ca08f0a8e7 Add 4 digits to the Raman intensities output. By the way, why is dynmat
taking so much cpu time? - Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3752 c92efa57-630b-4861-b058-cf58834340f0
2007-02-05 19:34:04 +00:00
giannozz f0c195dafb Correct (i.e. usual) definition of alpha^2f(omega) (Malgorzata)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3740 c92efa57-630b-4861-b058-cf58834340f0
2007-02-02 16:14:38 +00:00
giannozz 6357befd22 Axel's patch for single-precision constants (please do not add more!)
GIPAW/make.depend added to CVS, like all others - should be updated
when dependencies change using "./makedeps.sh GIPAW" from the root
directory of QE


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3724 c92efa57-630b-4861-b058-cf58834340f0
2007-01-30 10:38:10 +00:00
degironc e9305a57d1 ev.f90: error corrected in the definition of Birch 1st and 2nd order equations of states. It was causing bad results in the fit when these EoS were used since the conversion from f77 to f90.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3701 c92efa57-630b-4861-b058-cf58834340f0
2007-01-21 12:07:19 +00:00
kkudin ec4c8bd737 Fix dynmat.x for ibrav=0. It looks like nobody actually used ibrav=0 here
for at least a year (since check in [2664] in Dec '05)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3679 c92efa57-630b-4861-b058-cf58834340f0
2007-01-16 17:56:08 +00:00
giannozz 3a98e2d9d4 More patches from Axel:
- correct an unquoted string (iosys) in PW/input.f90:483
(this was the cause of tonight compilation failere)
- correct a few incorrect format strings
- make more use of the constants module and thus
  provide more consistent units. NOTE, this has some
  numerical changes in the outputs, as in some places
  rather low precision and inconsistent numbers were
  used for unit conversion.
- convert all(?) single precision constants to double
  using the attached little perl program.
  exceptions: efermi.f90 (as it is supposed to be rewritten
  anyways), plotbands.f90 (it uses single precision everywhere,
  which may result in saving a significant amount of memory,
  so i converted the two double precision constants to single).
Unused routine 'set_fft_grid' removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3602 c92efa57-630b-4861-b058-cf58834340f0
2006-12-14 08:53:47 +00:00
giannozz 19aaac89fa More miscellanous cleanup from Axel:
- disable locales via use of LC_ALL=C in all shell scripts
   (which will hopefully make sorted lists more consistent
    between people running with different locales).
 - remove redundant files from PW, NMR_new, VdW, VIB;
   rename subroutines if their functionality is noI
   unchanged from the original source it was taken from.
 - corresponding updates to Makefiles and dependencies.
 - whitespace cleanups (eleminate remaining tabs).
 - a few more float->DBLE


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3596 c92efa57-630b-4861-b058-cf58834340f0
2006-12-12 11:02:09 +00:00
sbraccia 7432487fe6 Dependencies updated. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3593 c92efa57-630b-4861-b058-cf58834340f0
2006-12-11 14:55:42 +00:00
giannozz 9e294c022d More cleanup from Axel:
- replace variables that have the names of keywords:
  IF (this should make the code non-compilable!),
  INT, SCALE.
- CALL getenv -> CALL get_env  (which is the only place to call
  getenv(). BTW, newer fortran standards now recommend to use
  CALL get_environment_variable, so it might be needed to have
  only one platform dependend place)
- makefile cleanup in VIB (more consistent with subdirs, not yet
  perfect).
- whitespace fix (avoid tabs!).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3591 c92efa57-630b-4861-b058-cf58834340f0
2006-12-11 10:19:53 +00:00
giannozz d4da64ec0c More cleanup from Axel:
- workaround for gfortran (it is sort of working)
- single precision constants promoted to double precision
- dfloat-> DBLE
- DIMAG ->AIMAG
- DCMPLX->CMPLX
Note that ALL calls to dfloat, dimag, dcmplx have been added recently,
since I removed all of them no more than a few months ago


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3586 c92efa57-630b-4861-b058-cf58834340f0
2006-12-02 17:58:50 +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 61652e343c Objects in PW, PH, CPV are stored into libraries (libpw.a, libph.a,
libcp.a respectively), used to load the executables. This removes
the need to specify all needed objects in many different makefiles.
Works with 95, ifort, xlf. Please let me know if there are problems
with more exotic or lousy compilers.

A few minor things fixed as well.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3428 c92efa57-630b-4861-b058-cf58834340f0
2006-10-03 19:26:15 +00:00
giannozz b1292fee43 Exact comparisons of real numbers: if (a == b) then ... are dangerous
even when a and b should be EXACTLY equal. Some compilers manage to
make them slightly differnt anyway. Courtesy of E.A. Menendez.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3420 c92efa57-630b-4861-b058-cf58834340f0
2006-09-27 18:13:37 +00:00
giannozz 43e4e5d38d There is no reason to generate dependencies every time. Files
make.depend are now in the CVS and shouldn't be updated unless
needed. Configure no longer runs makedeps.sh. Type 'make depend'
to regenerate dependencies.

Remove all */make.depend files before updating!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3409 c92efa57-630b-4861-b058-cf58834340f0
2006-09-21 17:49:53 +00:00
dalcorso 634dbd5bcd Small bug fix. Sometimes -k points were used with domag=.false..
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3317 c92efa57-630b-4861-b058-cf58834340f0
2006-08-09 12:07:32 +00:00
dalcorso 047ab0cc41 Added a few routines to classify the vibrational modes of molecules
according to the irreducible representations of the point group.
(Still experimental)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3316 c92efa57-630b-4861-b058-cf58834340f0
2006-08-09 08:20:53 +00:00
sbraccia 848f5c1217 Added the possibility of post-processing the one-dimensional case. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3313 c92efa57-630b-4861-b058-cf58834340f0
2006-08-08 21:26:38 +00:00
giannozz 576867977f Some compilers may not like a costant string in input format
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3152 c92efa57-630b-4861-b058-cf58834340f0
2006-06-06 14:27:00 +00:00
giannozz debcca94c5 Some compilers do not like the declaration of an external function
that is not available, even if it is not actually used


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3144 c92efa57-630b-4861-b058-cf58834340f0
2006-05-29 09:20:46 +00:00
sbraccia 2a4cb571a4 Makefile updated. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3114 c92efa57-630b-4861-b058-cf58834340f0
2006-05-10 22:22:09 +00:00
giannozz db90558446 link to a2fmod no longer needed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3000 c92efa57-630b-4861-b058-cf58834340f0
2006-04-05 13:25:28 +00:00
sbraccia 30af5475a2 Output in eV. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2991 c92efa57-630b-4861-b058-cf58834340f0
2006-04-02 00:29:57 +00:00
sbraccia e5dffdf9e1 Fixed an error in the FES recosntruction.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2836 c92efa57-630b-4861-b058-cf58834340f0
2006-02-17 14:32:58 +00:00
giannozz 79c0b73a50 Call to serial fft changed, Makefile updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2815 c92efa57-630b-4861-b058-cf58834340f0
2006-02-14 14:54:36 +00:00
sbraccia 15a8379896 Added a post-processing tool to reconstruct the free-energy landscape from a
meta-dynamics run. Documentation included in the header of the metadyn_pp.f90 file.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2790 c92efa57-630b-4861-b058-cf58834340f0
2006-02-08 16:58:49 +00:00
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
cavazzon da4450417d - module random_numbers moved from flib to Modules to avoid
circular dependency. All general purpouse modules should go in
  directory Modules!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2769 c92efa57-630b-4861-b058-cf58834340f0
2006-02-04 14:06:28 +00:00
giannozz 8eda231bbb - Variable cell: use Cesar Da Silva's version of the damping algorithm
(he claims it is more tested); documentation updated (sort of)
- routines find_free_unit, delete_if_present, moved from 'parser'
  to 'io_files' (it is a more natural place)
- routines int_to_char moved from 'parser' to flib/ (it is quite
  unrelated with the rest of the module)
- routine trimcheck moved from flib/ to 'io_files' (more natural place)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2753 c92efa57-630b-4861-b058-cf58834340f0
2006-02-01 17:56:16 +00:00
giannozz 8569dd18ba tolerant_cft3 is no longer needed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2736 c92efa57-630b-4861-b058-cf58834340f0
2006-01-27 13:13:48 +00:00
kkudin 7875126e68 Added missing dependencies for IBM SP3
Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2734 c92efa57-630b-4861-b058-cf58834340f0
2006-01-26 23:35:50 +00:00
giannozz 04829cc556 - Version number updated to 3.1
- Changed format when writing a copy of the UPF file: for some reason
  the free format adds an initial blank character, causing the program
  to fail when reading (in fixed format) additional info for spin-orbit.
  Format A is now used when writing, free format when reading. (AdC)
- More preprocessing cleanup and documentation: anybody having access
  to weird machines is kindly requested to verify if things work


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2732 c92efa57-630b-4861-b058-cf58834340f0
2006-01-26 16:42:14 +00:00
sbraccia baa0ab16e4 Program ev converted to f90. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2724 c92efa57-630b-4861-b058-cf58834340f0
2006-01-25 04:20:18 +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 00b8bc882a Better input checks
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2691 c92efa57-630b-4861-b058-cf58834340f0
2006-01-05 21:50:45 +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
giannozz 468e89c35a Guido's changes for NEC-SX6
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2544 c92efa57-630b-4861-b058-cf58834340f0
2005-12-02 15:44:53 +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
dalcorso 7b7e0ae358 To compile previous commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2454 c92efa57-630b-4861-b058-cf58834340f0
2005-11-10 10:16:05 +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
dalcorso 71c38d9494 Changed symmetrization in the non-collinear case.
(A. Smogunov and ADC)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2326 c92efa57-630b-4861-b058-cf58834340f0
2005-10-21 13:01:42 +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 213db45e20 Case ibrav=5 was not properly done
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2286 c92efa57-630b-4861-b058-cf58834340f0
2005-10-12 15:51:42 +00:00
ballabio 670f4b64d5 now configure checks separately for serial and parallel compilers [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2258 c92efa57-630b-4861-b058-cf58834340f0
2005-10-05 18:11:25 +00:00
ballabio 235d96d71e separated LDFLAGS and LIBS [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2247 c92efa57-630b-4861-b058-cf58834340f0
2005-09-29 13:17:39 +00:00
cavazzon e7bf22f916 - Workaround: PGI compiler 6.0.1 doesn't like open do construct like
do
    enddo
  substituted with
    do while( .true. )
    end do


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2198 c92efa57-630b-4861-b058-cf58834340f0
2005-09-20 12:58:03 +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 c5d1a452de Added message explaining why there is no LO-TO splitting
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2137 c92efa57-630b-4861-b058-cf58834340f0
2005-08-29 10:11:07 +00:00