Commit Graph

520 Commits

Author SHA1 Message Date
giannozz 19b7ba4744 Symmetric indices of variable qfunc, holding the Q(r) functions in
Ultrasoft PPs, merged into a single index. The logic of the index
should be the same as for the other USPP_related variables. Tested
for UPF format, should work for old van and rrkjus formats as well,
but I haven't tested it (tests very welcome).

Why? with default static dimensions, qfunc took 40Mb. Some compilers
(e.g. g95) store a copy of statically dimensioned arrays in objects
and executables, so 'make all' produced *.x for 1Gb or so ...
Apart from this, wasting nonscalable memory should be avoided anyway
in massively parallel machines.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3506 c92efa57-630b-4861-b058-cf58834340f0
2006-11-03 12:21:28 +00:00
giannozz c6db9a55a9 Minor format changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3494 c92efa57-630b-4861-b058-cf58834340f0
2006-10-25 18:40:43 +00:00
giannozz ace80545fa Minor corrections ot Raman output
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3488 c92efa57-630b-4861-b058-cf58834340f0
2006-10-25 12:28:19 +00:00
giannozz 0d6d6a9967 Better fix: davcio_drho writes and reads from a single task
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3486 c92efa57-630b-4861-b058-cf58834340f0
2006-10-24 16:47:25 +00:00
giannozz eb38dde045 There was a bug in Raman calculation (and whenever a file with delta rho
was desired) with pools: a unit open only for the node performing I/O
(ionode) was needed by the first process of each pool.
Temporary fix: open the unit when is needed.
Better fix: read/write from I/O node, broadcast what is read to all pools.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3483 c92efa57-630b-4861-b058-cf58834340f0
2006-10-24 12:10:56 +00:00
giannozz de4c662862 Shorthand for Rydberg is Ry, not ryd
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3476 c92efa57-630b-4861-b058-cf58834340f0
2006-10-23 12:32:54 +00:00
dalcorso 726e776d9d Symmetry analysis was not working for a D_2h point group with rotation axis
not coincident with the coordinate axis.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3471 c92efa57-630b-4861-b058-cf58834340f0
2006-10-21 15:09:19 +00:00
giannozz 6232da2eaf getenv replaced by wrapper get_env, preprocessed only in a single file
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3452 c92efa57-630b-4861-b058-cf58834340f0
2006-10-11 14:42:42 +00:00
giannozz 16631dd274 Bug in clinear fixed (courtesy of Yingli Niu)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3432 c92efa57-630b-4861-b058-cf58834340f0
2006-10-04 14:08:11 +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 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 8ecca440d6 j-average of KB pseudo was not implemented in read_file.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3385 c92efa57-630b-4861-b058-cf58834340f0
2006-09-13 14:38:46 +00:00
giannozz 2145c19e68 modenum should not be read again by the phonon code
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3366 c92efa57-630b-4861-b058-cf58834340f0
2006-09-07 17:16:31 +00:00
giannozz 565b0414ff harmless out-of-bound error
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3337 c92efa57-630b-4861-b058-cf58834340f0
2006-08-24 17:36:14 +00:00
dalcorso cecdda2715 Now bands.x can classify the bands according to the irreducible
representation of the small group of k. k points on the border
of the Brillouin zone of systems with non symmorphic space groups
are not dealt with. Spin-orbit case included.

Find_mode_sym extended to all the q points, with the same limitations as
the bands.
(still experimental).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3330 c92efa57-630b-4861-b058-cf58834340f0
2006-08-22 17:01:13 +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
giannozz 6c40185885 - outdir is set by default to the value of the $ESPRESSO_TMPDIR
environment variable, or to './' (as before) if this is not set
- pseudo_dir is set by default to the value of $ESPRESSO_PSEDIR,
  to $HOME/espresso/pseudo/ otherwise
- documentation updated to reflect the new defaults
Note that the 'capture' of $HOME/pw/pseudo using a call to 'getenv'
was already present in pwscf but it was not working (pseudo_dir was
overwritten) so nothing susceptible to create new problems was added.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3309 c92efa57-630b-4861-b058-cf58834340f0
2006-08-08 18:05:16 +00:00
dalcorso 963ed1c5fb Makefile update.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3303 c92efa57-630b-4861-b058-cf58834340f0
2006-07-31 10:03:32 +00:00
dalcorso 859f33b332 The new variable lgamma_gamma has been introduced in ph.x.
This variable is .true. when xq is gamma and only the gamma point is used
for k point sampling.
The symmetrization used in phcg.x has been imported in ph.x in the case
lgamma_gamma=.true..


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3288 c92efa57-630b-4861-b058-cf58834340f0
2006-07-26 15:02:37 +00:00
dalcorso ce63a20b8d Bug fix: In the parallel case ph.x could not properly stop after max_seconds.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3265 c92efa57-630b-4861-b058-cf58834340f0
2006-07-11 10:03:22 +00:00
sbraccia 9710f29c75 1) v_of_rho has been rearranged in order to reduce the number of FFTs per step.
Now the input of v_of_rho is the charge density in both real and reciprocal
space (always available within the scf loop); the output is unchanged. This
permits to get rid of one FFT for the calculation of V-Hartree and one for the
calculation of V-XC (\nabla rhr in GGA). Array dimensions removed from the list
of arguments of several routines (they are read from the modules). Unused
variables removed.
2) mix_rho has been modified in order to mix only the fourier components of the
smooth part of the density. The FFTs in the local-TF preconditioning are done
using the coarse mesh (cft3s). The performance of the mixing is almost
unchanged, but the mixing itself is much cheaper. Cleanup of unused variables.
Please, check for posible side effects of these modifications.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3256 c92efa57-630b-4861-b058-cf58834340f0
2006-07-07 20:16:45 +00:00
dalcorso bfe7dc8a39 Bug fix: The recover of a phonon calculation with ldisp=.true. was
not correct.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3251 c92efa57-630b-4861-b058-cf58834340f0
2006-07-06 14:56:53 +00:00
dalcorso 914605565b Bug fix: int1 and int2 are needed to recover the US phonon calculation.
They are saved on disk as before.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3250 c92efa57-630b-4861-b058-cf58834340f0
2006-07-06 14:48:52 +00:00
dalcorso ac1a49fda5 Avoid that a phonon run stops during bands calculation.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3249 c92efa57-630b-4861-b058-cf58834340f0
2006-07-06 14:07:16 +00:00
dalcorso 3f443ecc36 Small bug fix.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3238 c92efa57-630b-4861-b058-cf58834340f0
2006-07-03 10:06:14 +00:00
dalcorso f561740bc8 Initialization of check_stop in the phonon code.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3227 c92efa57-630b-4861-b058-cf58834340f0
2006-06-30 08:54:04 +00:00
dalcorso 1e6857b3eb Makefile updated to compile previous commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3225 c92efa57-630b-4861-b058-cf58834340f0
2006-06-29 16:12:02 +00:00
giannozz 31a11bea75 - Electron-phonon symmetrization simplified (but still a mess)
- default for ngauss1 in el-phon calculation set to simple gaussian
  (ngauss1=0) . There is no reason to use Methfessel-Paxton broadening
  to represent the delta.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3177 c92efa57-630b-4861-b058-cf58834340f0
2006-06-14 14:15:24 +00:00
giannozz ff11d52df0 more explicit error messages
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3156 c92efa57-630b-4861-b058-cf58834340f0
2006-06-06 15:42:55 +00:00
giannozz 3773af5b7d - bug fix: charge density incorrectly read in lsda case
- io_pot removed, replaced by read_rho, write_rho. It looks like it is
  working but more testing is needed
- Makeifles updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3072 c92efa57-630b-4861-b058-cf58834340f0
2006-05-03 21:08:23 +00:00
sbraccia d5af9d79f7 Makefiles updated. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3070 c92efa57-630b-4861-b058-cf58834340f0
2006-05-03 14:33:05 +00:00
sbraccia ea0935fb5f Fixed a bug in the definition of the diagonalization thresholds for empty
states. This bug (introduced at the end of May 2005) was responsible for
somehow wrong results in the case of calculations with many k-points.
Cleanup of diagonalization thresholds: wg_set variable removed and btype array
is now set in sum_band.
Added a logical input variable (diago_full_acc) to decide if the empty states
(defined as states with occupation < 1%) have to be converged at full accuracy
or not. Defaul is .FALSE. (I am not sure this is the best choice, comments
appreciated).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3040 c92efa57-630b-4861-b058-cf58834340f0
2006-04-24 17:32:08 +00:00
giannozz 25271c803e oops, leftover reference to char_ph
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3004 c92efa57-630b-4861-b058-cf58834340f0
2006-04-06 17:48:48 +00:00
giannozz a2ebc57c2a The phonon code was writing garbage on output under "Title"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3002 c92efa57-630b-4861-b058-cf58834340f0
2006-04-06 12:13:54 +00:00
giannozz 9709360007 - Electron-phonon calculation with the new (Malgorzata) algorithm should
now work together with dispersion calculations. No need for N separate
  calculations for each q. The example will come soon.
- misc el-phon cleanup, removal of old stuff
- misc cleanup
NOTA BENE: the phonon code badly needs a cleanup of the symmetry stuff!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2999 c92efa57-630b-4861-b058-cf58834340f0
2006-04-05 13:15:37 +00:00
degironc 897c33c1e5 Calculation of finite (imaginary) frequency polarizability added.
So far it only works for non-metals and the output is specific for
molecules (it prints polarizability, not the dielectric constants).
Contributed by Viet Huy Nguyen.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2980 c92efa57-630b-4861-b058-cf58834340f0
2006-03-30 09:43:38 +00:00
giannozz f10f109950 tot_magnetization set to -1 (i.e. unset) when calculating phonon
dispersions to prevent a stupid error when initializing non-scf
calculations at finite k (the problem arises only with metals).
I don't know if this may cause trouble in other cases, though.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2973 c92efa57-630b-4861-b058-cf58834340f0
2006-03-28 16:26:43 +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 3733ffdb94 Old file format and related files deleted, makefiles updated accordingly
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2949 c92efa57-630b-4861-b058-cf58834340f0
2006-03-23 11:00:52 +00:00
giannozz 2272afad1b Makefile updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2936 c92efa57-630b-4861-b058-cf58834340f0
2006-03-22 16:39:14 +00:00
giannozz d01938e1a8 Excessive usage of memory fixed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2888 c92efa57-630b-4861-b058-cf58834340f0
2006-03-08 11:18:15 +00:00
giannozz cf63a9b56f - fix for alpha compilation (and bad check anyway)
- Makefile updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2886 c92efa57-630b-4861-b058-cf58834340f0
2006-03-08 10:10:06 +00:00
giannozz 889ed5516a Makefiles updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2876 c92efa57-630b-4861-b058-cf58834340f0
2006-03-07 14:00:34 +00:00
cavazzon c71243d743 - Makefile updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2840 c92efa57-630b-4861-b058-cf58834340f0
2006-02-20 09:42:59 +00:00
giannozz b4c24dc88a Update of Makefiles
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2831 c92efa57-630b-4861-b058-cf58834340f0
2006-02-16 16:48:11 +00:00
giannozz a2954e1512 SUN FFT's merged into fft_scalar - no more cft_1 and cft_2.
In fft_scalar the convention for the sign of the transform
is now the most common one, and not the essl one. Comments
updated to reflect this and other changes.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2820 c92efa57-630b-4861-b058-cf58834340f0
2006-02-15 11:03:48 +00:00
giannozz 084e85ef95 Makefile update
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2811 c92efa57-630b-4861-b058-cf58834340f0
2006-02-14 14:20:05 +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
sbraccia 24a1b85544 Makefiles updated.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2766 c92efa57-630b-4861-b058-cf58834340f0
2006-02-03 18:42:08 +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 a2d1c4dc84 Info on k-point grid is needed by electron-phonon calculation with
Malgorzata's algorithm


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2751 c92efa57-630b-4861-b058-cf58834340f0
2006-01-31 21:49:33 +00:00
giannozz 50ae06d1d7 Restart with new format works (sort of: charge density and wavefunctions
are not yet read from xml file) in parallel execution


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2745 c92efa57-630b-4861-b058-cf58834340f0
2006-01-30 16:17:30 +00:00
giannozz 44aa98ae4d Masses read from input by ph.x were overwritten by masses read from data file
(new format). The latter are now used only if masses are not read from input.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2737 c92efa57-630b-4861-b058-cf58834340f0
2006-01-27 14:21:31 +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 98c63ca797 - Miscellaneous fixes of compilation errors left after last changes
- support for cray-xt3 (courtesy of Axel Kohlmeyer)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2707 c92efa57-630b-4861-b058-cf58834340f0
2006-01-15 20:18:53 +00:00
giannozz 80ad81b265 1) phonon: workaround for serious bug in parallel execution
(waiting for a better solution)
2) time_max => max_second : bad name but the same everywhere


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2699 c92efa57-630b-4861-b058-cf58834340f0
2006-01-13 15:38:56 +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
dalcorso e3e9e215ca Compilation problems.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2682 c92efa57-630b-4861-b058-cf58834340f0
2006-01-03 16:05:59 +00:00
giannozz 68f1660a48 Electron-phonon calculation using Malgorzata's technique
Still preliminary and undocumented


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2654 c92efa57-630b-4861-b058-cf58834340f0
2005-12-28 10:55:17 +00:00
giannozz fe36de1c1b Oops, forgotten module splinelib after yesterday's change ...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2639 c92efa57-630b-4861-b058-cf58834340f0
2005-12-22 11:23:33 +00:00
giannozz 54dd9521fb Cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2627 c92efa57-630b-4861-b058-cf58834340f0
2005-12-21 11:20:28 +00:00
sbraccia 27b407c2a3 Various fixes to the xml data-file (thanks to A.Ferretti).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2583 c92efa57-630b-4861-b058-cf58834340f0
2005-12-13 14:45:35 +00:00
giannozz caf132c972 calculation of derivatives of exchange-correlation functional moved to
Modules/functionals.f90 and flib/functionals.f90 and lsda_functionals.f90
Duplicated routine dmxc.f90 removed. Atomic code does not depend any
longer on PH/.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2551 c92efa57-630b-4861-b058-cf58834340f0
2005-12-04 16:36:03 +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
degironc c8653b45fe PWscf: defining variable tqr=.true. in system namelist, Augmentations
charges are computed in real space only in spheres around the atoms and
these patches are added to rho on the dense fft grid.

Affected routines: addusdens and newd.

Should scale linearly with system size, as opposed to the quadratic
scaling of the G-space implentation.

Experimental version:
 - no forces nor stress yet.
 - parallel version to be tested
 - not to mention phonon and the other codes ...

DISCLAIMER

There are accuracy issues to be understood better, we may need properly
modifies pseudopotentials in order to avoid (or reduce) errors when
ecutrho is still insufficient to describe all Fourier components of the
augmentation charge.
In this case (that is nearly always) also the usal G-space has errors
(negative charges for molecules and surfaces, for instance) but they are
usually small and we are used to live with them.
Some experience is needed to understand the relevance of the error related
to R-space augmentation charges.
CP has R-space augmentation with small-boxes.
They also produce some different, usually small, errors.
I think (I may be wrong) this is the origin of the fact that sometime PWscf
and CP total energies are not exactly the same.

SdG and Antonio Suriano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2531 c92efa57-630b-4861-b058-cf58834340f0
2005-11-30 15:49:59 +00:00
giannozz 00410fefe5 Initialize t_rev to zero, just in case
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2470 c92efa57-630b-4861-b058-cf58834340f0
2005-11-14 08:48:45 +00:00
giannozz 2c5e0edb0f Incorrect call to 'sgama' after last changes
When you change the calling sequence of a routine,
please change it in all places where it is called!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2460 c92efa57-630b-4861-b058-cf58834340f0
2005-11-11 08:22:04 +00:00
degironc 91433749f9 More small changes to funct module, some clean up of the EXX part.
stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2420 c92efa57-630b-4861-b058-cf58834340f0
2005-11-04 11:47:42 +00:00
degironc c209f8233b Modules/functionals.f90 modified.
The idea is that module funct contains data defining the DFT functional in use
and a number of functions and subroutines to manage them.
Data are PRIVATE and are (shuold be) accessed and set only by function calls.
Basic drivers to compute XC quantities are also included.

It should be the main place where definitions for and calculation of xc
functionals are centralized.

In CPV printout [A.U.] replaced by [HARTREE A.U.] in many places.

stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2411 c92efa57-630b-4861-b058-cf58834340f0
2005-11-02 15:42:06 +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
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
giannozz 95b19a6b48 Replace two pointers that ifort doesn't seem to like with allocatable
arrays with the "target" option


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2249 c92efa57-630b-4861-b058-cf58834340f0
2005-10-03 16:39:15 +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
dalcorso fc5536622d Bug fix: The recent changes to the conduction band projection
was not working with US-PP.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2218 c92efa57-630b-4861-b058-cf58834340f0
2005-09-24 14:48:22 +00:00
giannozz 10efda8391 Do not stop if Fermi energy cannot be calculated in a non scf run:
just issue a warning and continue
Minor output changes


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2177 c92efa57-630b-4861-b058-cf58834340f0
2005-09-14 13:54:24 +00:00
giannozz 1e42e05f69 error (..., -1) => infomsg
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2142 c92efa57-630b-4861-b058-cf58834340f0
2005-08-30 16:27:58 +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 3ecea7dd3c Missing dependency added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2130 c92efa57-630b-4861-b058-cf58834340f0
2005-08-25 13:35:04 +00:00
dalcorso e3b06fa54d Merging of gradcorr.f90 and gradcorr_nc.f90.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2128 c92efa57-630b-4861-b058-cf58834340f0
2005-08-24 16:47:19 +00:00
giannozz 60bc521341 Makefiles updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2126 c92efa57-630b-4861-b058-cf58834340f0
2005-08-24 14:39:52 +00:00
ballabio 89c79b7302 compilation fix [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2103 c92efa57-630b-4861-b058-cf58834340f0
2005-08-17 12:05:15 +00:00
ballabio 091085a057 renamed module efield -> efield_mod to solve a conflict [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2102 c92efa57-630b-4861-b058-cf58834340f0
2005-08-17 11:53:09 +00:00
degironc e4ed1c4bff unused PW/dndtau.f90 removed, makefile updated accordingly
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2096 c92efa57-630b-4861-b058-cf58834340f0
2005-08-09 16:58:38 +00:00
degironc ac7906dc29 - makefile update after yesterday changes
- variable "ishybrid" added to Modules/funct.f90 to manage hybrid functionals
- duplicated subroutines in upftools/nclib.f90 removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2095 c92efa57-630b-4861-b058-cf58834340f0
2005-08-09 07:34:23 +00:00
giannozz e0d3021cc5 Updated Makefile with better dependencies (AK)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2089 c92efa57-630b-4861-b058-cf58834340f0
2005-08-03 17:00:07 +00:00
giannozz 17c3a0ae3d q_points: unit iudyn was undefined on entry
el-ph: reduced number of (in)significant figures printed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2067 c92efa57-630b-4861-b058-cf58834340f0
2005-08-01 09:23:50 +00:00
cavazzon 8803543c2b - variable iudyn was associated (with use) and declared in the
same subroutine


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2041 c92efa57-630b-4861-b058-cf58834340f0
2005-07-25 13:08:49 +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
sbraccia a066a10dc8 Fixed dependencies from metagga.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2029 c92efa57-630b-4861-b058-cf58834340f0
2005-07-15 13:21:32 +00:00
sbraccia 8b5e3af0de Removed unnecessary supercell file. NEB does not use pbc.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2013 c92efa57-630b-4861-b058-cf58834340f0
2005-07-11 11:10:11 +00:00
cavazzon b5fa8ee14b - cell_base, added support for cell input units, ex: CELL_PARAMETERS (angstrom)
- core charge, same module between CPV and FPMD
- Makefile: added dependency between "mods" and "libiotk"
- Makefile: fix for dependencies in PH and Gamma when __NEWPUNCH is defined


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1995 c92efa57-630b-4861-b058-cf58834340f0
2005-07-04 10:34:44 +00:00
degironc 285119fa34 seqopn.f90 and diropn.f90 modified in such a way that the name of
all files open by seqopn.f90 and diropn.f90 in the TMP_DIR have the
general form "prefix"."extension" where extension is the only part of
the filename passed as an argument. This should avoid conflicts between
different jobs running at the same time and sharing the same TMP_DIR
(provided they have different prefixes ...)

All examples (from 1 to 26) give the same output as before on my pc.
Please let me know if you notice unexpected behaviours.

stefano

PS: example26 apparently does nothing (even giving the command run_example 7)..
As it uses cp.x which does not use seqopn/diropn routines this behaviour
cannot be due to the present changes.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1963 c92efa57-630b-4861-b058-cf58834340f0
2005-06-17 13:27:38 +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 1045299ff0 Makefiles updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1929 c92efa57-630b-4861-b058-cf58834340f0
2005-06-02 20:06:41 +00:00
sbraccia 8d44a2a8fd The new subroutine flush_unit() is used everywhere. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1904 c92efa57-630b-4861-b058-cf58834340f0
2005-05-25 02:58:35 +00:00
giannozz fc903c5a57 No reason to have different length and naming convention for files
used (or not used) by mixing


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1885 c92efa57-630b-4861-b058-cf58834340f0
2005-05-19 21:17:42 +00:00
degironc a82b80548a Experimental version with some (incomplete and probably wrong) exact
exchange stuff.
These features can be obtained by compiling with -DEXX added to DFLAGS
in make.sys
***** DO NOT USE FOR ANY PRODUCTION RUN. *****

Stefano and Antonio


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1883 c92efa57-630b-4861-b058-cf58834340f0
2005-05-19 12:25:25 +00:00
giannozz 7b1936bcd4 Minor changes to printout of Raman coeffcients
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1876 c92efa57-630b-4861-b058-cf58834340f0
2005-05-18 17:47:38 +00:00
sbraccia 33156ffb70 Removed unnecessary dependencies and fixed a bug spotted by Axel Kohlmeyer.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1835 c92efa57-630b-4861-b058-cf58834340f0
2005-04-27 21:56:55 +00:00
giannozz 293aceaa5f uffa...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1827 c92efa57-630b-4861-b058-cf58834340f0
2005-04-21 14:58:35 +00:00
giannozz b367305c1c oops
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1826 c92efa57-630b-4861-b058-cf58834340f0
2005-04-21 14:38:11 +00:00
giannozz 7de4ac5c64 More minor changes to restart, cpu time printout
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1825 c92efa57-630b-4861-b058-cf58834340f0
2005-04-21 14:37:21 +00:00
giannozz d14d877a48 Less buggy Raman restart - not yet final
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1824 c92efa57-630b-4861-b058-cf58834340f0
2005-04-21 12:41:18 +00:00
giannozz fe1f888e42 Minor fixes to have phonon restart in a Raman calculation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1819 c92efa57-630b-4861-b058-cf58834340f0
2005-04-20 17:27:14 +00:00
giannozz def35656c0 Some cleanup (delta_e does only what is useful and where it is useful)
minor fixes here and there


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1815 c92efa57-630b-4861-b058-cf58834340f0
2005-04-19 14:18:34 +00:00
giannozz a1fd63174a - Check on consistency of input flags
- Raman tensor in A^2


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1814 c92efa57-630b-4861-b058-cf58834340f0
2005-04-19 10:45:36 +00:00
sbraccia 71ff0f5039 cinitcgg_nc removed. Fixed a couple of bugs in the cg diagonalisation.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1808 c92efa57-630b-4861-b058-cf58834340f0
2005-04-15 16:17:35 +00:00
giannozz f9b268d677 Raman working again -mMiscellaneous cleanup and attempts to speed yp
things a bit and to reduce memory usage - beware unexpected side effects


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1807 c92efa57-630b-4861-b058-cf58834340f0
2005-04-15 15:43:33 +00:00
sbraccia e29f425ea9 Added missing dependencies and removed those unnecessary. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1774 c92efa57-630b-4861-b058-cf58834340f0
2005-03-30 16:08:40 +00:00
giannozz b765272fd4 calls to efermi updated to the new syntax
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1768 c92efa57-630b-4861-b058-cf58834340f0
2005-03-29 12:22:02 +00:00
dalcorso 6b91568ab1 V_of_rho and v_of_rho_nc merged.
Constraints on the magnetization moved to the routine add_bfield.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1766 c92efa57-630b-4861-b058-cf58834340f0
2005-03-29 09:05:42 +00:00
giannozz 0bf090e4bc variable "okvan" moved to module "uspp" + minor cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1765 c92efa57-630b-4861-b058-cf58834340f0
2005-03-28 13:55:19 +00:00
giannozz 50decb486f Added copyright notice where missing (please check)
Modified copyright notice to make it compatible with script
"check_license"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1730 c92efa57-630b-4861-b058-cf58834340f0
2005-03-21 14:01:19 +00:00
cavazzon 908e1f314e - a dependency from module timestep.o was missing
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1713 c92efa57-630b-4861-b058-cf58834340f0
2005-03-15 15:48:01 +00:00
ballabio 765729b8b3 merged make.sys and make.rules together
there was no reason they should be two different files
everybody must rerun configure
[Gerardo]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1690 c92efa57-630b-4861-b058-cf58834340f0
2005-03-08 18:44:10 +00:00
giannozz 1dab6e80c2 Delta rho should be symmetrized before it is written.
No need to symmetrize it once again when it is read.
Note that the symmetrization in solve_e is now applied to Delta rho,
not to Delta Vscf. This is consistent with the behavior of solve_linter
Some cleanup in solve_e and solve_linter


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1685 c92efa57-630b-4861-b058-cf58834340f0
2005-03-08 11:44:57 +00:00
giannozz 5c0b5b01f6 Oops, parallel compilation fixed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1681 c92efa57-630b-4861-b058-cf58834340f0
2005-03-04 18:24:38 +00:00
giannozz e03cb4b5d7 Raman calculation with 2nd-order response by Michele Lazzeri added
(temporarily together with phonon)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1677 c92efa57-630b-4861-b058-cf58834340f0
2005-03-04 17:46:02 +00:00
degironc 0c3bb340b0 bug fix in phonon code.
Array int3 (used in US case) was incorrectly dimensioned as int3(...,3,...)
instead of int3(...,max_irr_dim,...).
This generated incorrect results in an US phonon calculation when irreducible
reresentations with dimension larger than 3 (currently max_irr_dim is 4)
were found.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1554 c92efa57-630b-4861-b058-cf58834340f0
2005-01-11 09:15:56 +00:00
giannozz f6c7dd48e0 Added optimized support for ALTIX machines - contributed by Martin Hilgeman
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1545 c92efa57-630b-4861-b058-cf58834340f0
2005-01-07 12:57:41 +00:00
dalcorso dadadae120 Merging of PWNC and PW. pw.x should now work for collinear,
noncolinear and spin-orbit cases. pwnc.x is no more needed and the
directory PWNC and all its files will be removed.
Step one: added to PW the noncolinear routines that have not been
merged, changes on all the Makefiles.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1537 c92efa57-630b-4861-b058-cf58834340f0
2005-01-05 16:26:09 +00:00
dalcorso 646b629563 The noncolinear version is not working in these programs. Added a call errore
in these cases.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1536 c92efa57-630b-4861-b058-cf58834340f0
2005-01-05 15:22:56 +00:00
cavazzon e32ce9b074 - common xc and gga functionals subroutines for all code PW/CP/FPMD
- Few more functionals has been added to file more_functionals.f90
  since in PW BLYP/LSDA were not implemented .
  In the same file, temporary, are stored old CP90 subroutines
  for testing purpose ( in CP functionals were vectorized!! ).
  The small program PP/xctest.f90 can be used to make a comparative
  test between new and old routines, in case someone suspect a problem
  there.
- buon anno!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1533 c92efa57-630b-4861-b058-cf58834340f0
2004-12-31 11:14:32 +00:00
cazzato a6ad18850a iswitch flag removed; appropriate flags (as lscf, lmd, lphonon, etc.) should be used
in particular (modenum.ne.0) stands for iswitch = -4 now: is it OK?
unused show_memory routine also removed
documentation updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1503 c92efa57-630b-4861-b058-cf58834340f0
2004-12-10 15:20:46 +00:00
degironc a46d223957 make.depend files are gererated by configure and are therefore always seen
as Modified by CVS. I think they should not be part of the CVS tree (SdG).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1501 c92efa57-630b-4861-b058-cf58834340f0
2004-12-10 12:12:40 +00:00
cavazzon 89ab8f3e55 - FPMD files added to CPV directory
- FPMD directory is no more needed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1479 c92efa57-630b-4861-b058-cf58834340f0
2004-11-25 14:51:47 +00:00
cavazzon 4d205dc09b - updated dependencies and Makefiles
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1475 c92efa57-630b-4861-b058-cf58834340f0
2004-11-24 16:13:26 +00:00
cavazzon 155f29dd8c - cpmplete experimental common CP/FPMD XML-like restart .
CP and FPMD are now linked to a common XML-like
  restart subroutine (see Module/cp_restart.f90 ).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1469 c92efa57-630b-4861-b058-cf58834340f0
2004-11-24 10:56:23 +00:00
ballabio 196e5a093f use "sort -d" to obtain machine-independent results, update
dependencies [Gerardo]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1462 c92efa57-630b-4861-b058-cf58834340f0
2004-11-22 14:38:36 +00:00
giannozz c756769e7d Routines moved to flib no longer in Makefiles
problems in parallel compilation


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1458 c92efa57-630b-4861-b058-cf58834340f0
2004-11-19 13:44:01 +00:00
giannozz 6b6df612dd Memory leak in Raman code fixed
TODO list updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1455 c92efa57-630b-4861-b058-cf58834340f0
2004-11-18 14:47:19 +00:00
giannozz c93c5ea868 Reduction in memory requirements for phonon calculation
with uspp (routine dvanqq) - courtesy of N. Mounet


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1454 c92efa57-630b-4861-b058-cf58834340f0
2004-11-18 10:01:58 +00:00
sbraccia 34f2d14df4 Some undeclared variables explicitly declared.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1447 c92efa57-630b-4861-b058-cf58834340f0
2004-11-16 13:27:56 +00:00
cavazzon 3b22ff0108 - FPMD/CP more merging
- new module for merged FPMD/CP restart subroutines
- starting work on XML restart/punch  (cp_restart.f90)
carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1443 c92efa57-630b-4861-b058-cf58834340f0
2004-11-15 12:13:22 +00:00
ballabio 8a6525f4fe renamed .dependencies to make.depend, added them to CVS [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1434 c92efa57-630b-4861-b058-cf58834340f0
2004-11-09 10:53:55 +00:00
sbraccia 44b325e0b6 oops ...
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1426 c92efa57-630b-4861-b058-cf58834340f0
2004-11-04 13:43:56 +00:00
sbraccia e6aa41ea47 Again on the old parallel variables.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1424 c92efa57-630b-4861-b058-cf58834340f0
2004-11-04 13:35:00 +00:00
sbraccia b181c7f33f Old parallel variables (such as me mypool) removed from PH.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1415 c92efa57-630b-4861-b058-cf58834340f0
2004-11-03 10:58:17 +00:00
giannozz b2f1252ed0 Electron-phonon coefficient calculation should work also after a restart
(to be tested). Makefile and ChangeLog cleanup

Per favore scrivete qualcosa nel ChangeLog quando fate qualcosa
e verificate che tutto compile quando aggiungete roba - PG


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1413 c92efa57-630b-4861-b058-cf58834340f0
2004-11-01 17:48:04 +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
giannozz b1a2ddd336 Wrong routine (elphon instead of elphel) called in solve_linter
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1397 c92efa57-630b-4861-b058-cf58834340f0
2004-10-25 17:35:20 +00:00
giannozz 20013fd024 Print correct CPU time for runs of more than 100h (PG)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1396 c92efa57-630b-4861-b058-cf58834340f0
2004-10-25 16:40:56 +00:00
giannozz 04d8df9962 compilation problem
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1359 c92efa57-630b-4861-b058-cf58834340f0
2004-09-28 10:49:51 +00:00
sbraccia 92558d111b Again cleanup of parallel variables and pwcom/phcom references.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1355 c92efa57-630b-4861-b058-cf58834340f0
2004-09-28 08:50:35 +00:00
sbraccia 721f3aa6e6 Cleanup (references to pwcom and phcom removed). Variable max_time replaced by max_seconds.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1343 c92efa57-630b-4861-b058-cf58834340f0
2004-09-27 13:22:27 +00:00
giannozz 7ae21a832f Duplicated entries removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1250 c92efa57-630b-4861-b058-cf58834340f0
2004-09-08 08:30:12 +00:00
sbraccia f38556e04b File diis_module splitted in three separate files, each containing a module with the same name.
Fixed some severe bugs.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1248 c92efa57-630b-4861-b058-cf58834340f0
2004-09-07 15:06:58 +00:00
ballabio 7bece4b4eb cleanup and some reorganization [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1217 c92efa57-630b-4861-b058-cf58834340f0
2004-09-02 17:07:31 +00:00
deinzer ac833f01cb writting Z* in proper way
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1185 c92efa57-630b-4861-b058-cf58834340f0
2004-08-27 09:00:02 +00:00
giannozz d43140a669 Fixed compilation problem in phonon (parallel)
Re-fixed bad initialization of startingpot with calculation='raman'


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1178 c92efa57-630b-4861-b058-cf58834340f0
2004-08-26 16:18:28 +00:00
deinzer 73c24c3351 small modifications in saving fildrho
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1177 c92efa57-630b-4861-b058-cf58834340f0
2004-08-26 14:20:10 +00:00
giannozz 9b2ddc028c More compilation problems
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1124 c92efa57-630b-4861-b058-cf58834340f0
2004-08-18 16:22:16 +00:00
giannozz 750f3fb8ef Compilation problems
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1122 c92efa57-630b-4861-b058-cf58834340f0
2004-08-18 16:11:25 +00:00
ballabio 91b6ca3e71 again changes in the output [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1072 c92efa57-630b-4861-b058-cf58834340f0
2004-07-14 15:32:56 +00:00
ballabio c63e3325a7 Other small changes in the output [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1070 c92efa57-630b-4861-b058-cf58834340f0
2004-07-14 14:58:51 +00:00
ballabio ffed0c9be2 small change in output format [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1069 c92efa57-630b-4861-b058-cf58834340f0
2004-07-14 14:23:51 +00:00
sbraccia 5d20c661ef Cleanup and fixes of minor errors in phonon.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1055 c92efa57-630b-4861-b058-cf58834340f0
2004-07-09 15:50:50 +00:00
giannozz 236867dbf3 Some obvious and needed checks were missing from phonon codes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1051 c92efa57-630b-4861-b058-cf58834340f0
2004-07-08 10:23:24 +00:00
giannozz 0f8be5da8e indeces => indices
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1045 c92efa57-630b-4861-b058-cf58834340f0
2004-07-05 21:09:07 +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
giannozz 633f59fab5 Minor things
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1035 c92efa57-630b-4861-b058-cf58834340f0
2004-07-01 15:51:11 +00:00
deinzer b36b5527d0 Cleanup: 'dispersion' removed from PW, is now entirely in PH
module disp moved from pwcom to phcom
         variable nqx changed to nqmax


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1032 c92efa57-630b-4861-b058-cf58834340f0
2004-06-30 17:56:05 +00:00
giannozz ddf01b76d6 Better check (again)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1029 c92efa57-630b-4861-b058-cf58834340f0
2004-06-30 13:57:23 +00:00
deinzer 427237849d file .stat. works now in parallel
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1028 c92efa57-630b-4861-b058-cf58834340f0
2004-06-30 13:27:27 +00:00
giannozz 0f728ab674 Better check
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1027 c92efa57-630b-4861-b058-cf58834340f0
2004-06-30 11:57:50 +00:00
giannozz 11ae746373 Missing variable in parallel + doc update
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1022 c92efa57-630b-4861-b058-cf58834340f0
2004-06-29 08:12:47 +00:00
deinzer 56680c2867 bug fixes in parallel execution
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1020 c92efa57-630b-4861-b058-cf58834340f0
2004-06-28 16:28:48 +00:00
deinzer de646b0367 Reference to missing module para added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1019 c92efa57-630b-4861-b058-cf58834340f0
2004-06-28 15:32:35 +00:00
deinzer 3ac7daa2ee Calculation of the dynamical matrices for the dispersion
is now within ph.x possible.
New input variables:
lnscf: if .true. the nscf and phonon run are done in one single run

ldisp: if .true. calculation of dyn. matrices for dispersion
nq1, nq2, nq3: q-point mesh


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1017 c92efa57-630b-4861-b058-cf58834340f0
2004-06-28 10:08:53 +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 e10d903786 parallel_include missing
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1001 c92efa57-630b-4861-b058-cf58834340f0
2004-06-25 14:43:28 +00:00
dalcorso 87c39c304e recovering from an electric field perturbation now possible.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@966 c92efa57-630b-4861-b058-cf58834340f0
2004-06-14 15:45:07 +00:00
giannozz ffcadc34c1 Modules becmod, rbecmod (one variable each) merged into a single module
(with two variables...) - More USPP merge


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@954 c92efa57-630b-4861-b058-cf58834340f0
2004-06-12 20:37:01 +00:00
sbraccia d1579c66ec Removed references (not yet everywhere) to module basis for those variables already in module ions_base.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@953 c92efa57-630b-4861-b058-cf58834340f0
2004-06-12 13:44:18 +00:00
deinzer 595bda9fe8 First step to calculate all dyn. matrices needed for the entire dispersion
in one step with pw.
A new calculation is possible called 'dispersion'
in the phonon card new input parameters are:
nq1, nq2, nq3 : number of q points in the direction
tr2_ph : threshold for the phonon calculation (see also INPUT_PH)
Therefore tr2_ph has been moved from phcom.f90 to Module disp in pwcom.f90
UP TO NOW ONLY THE Q POINTS FOR THE DYN. MATRICES ARE CALCULATED AND PRINTED.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@944 c92efa57-630b-4861-b058-cf58834340f0
2004-06-08 16:20:41 +00:00
giannozz df51dc0b2a More USPP variables moving around
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@937 c92efa57-630b-4861-b058-cf58834340f0
2004-06-01 21:22:19 +00:00
cavazzon e470e3d5a5 missIng array dimensions (int1, int2, .. ) for a parallel build
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@935 c92efa57-630b-4861-b058-cf58834340f0
2004-06-01 08:30:15 +00:00
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
degironc 1e8641955f PH: cleanup of cgsolve_all in order to reduce memory use.
zstar, epsilon and dynamical matrices written with
    8 digits only (it should not make any significant difference
    and it should be easier to spot differences in dynmat files
    if 0.123456789E-10 is treated as zero)
    symmetrization is applied already to drho (not anymore to dvscf)
                                              (SdG)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@930 c92efa57-630b-4861-b058-cf58834340f0
2004-05-31 16:19:23 +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
deinzer 7071fc40a4 Added missing use statements when compiled with -DDEBUG
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@925 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 18:26:16 +00:00
giannozz 52e6c0ad05 Missing variable definition
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@921 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 15:52:19 +00:00
ballabio 4c0e1b92ef Added support for "ph.x -in input" [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@920 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 15:19:38 +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
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 dfea605a3b Added check (tetrahedra not allowed)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@873 c92efa57-630b-4861-b058-cf58834340f0
2004-05-10 14:16:22 +00:00
giannozz 68b075c1ae Cleanup: pwcom no longer used in PP/
qgm is now a local variable as it should be


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@867 c92efa57-630b-4861-b058-cf58834340f0
2004-05-08 10:24:24 +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
ballabio eb22926786 added support for g95
several small fixes to get it to compile [Gerardo]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@859 c92efa57-630b-4861-b058-cf58834340f0
2004-05-06 13:06:16 +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
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 150ae509f3 more pseudopotential cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@824 c92efa57-630b-4861-b058-cf58834340f0
2004-04-27 13:44:55 +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 40f18f8179 Fixed multiple writes to file in parallel execution when calculating
electron-phonon coefficients


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@800 c92efa57-630b-4861-b058-cf58834340f0
2004-04-15 15:11:03 +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
cavazzon cb4704bfda - missing use of iverbosity
- xlf complains for expession like: if ( logical_val == .false. )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@766 c92efa57-630b-4861-b058-cf58834340f0
2004-04-03 14:42:28 +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
sbraccia 764ce7f663 References to brilz replaced everywhere by cell_base.
There are still references to pwcom: please do not use pwcom in new code !!!
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@760 c92efa57-630b-4861-b058-cf58834340f0
2004-04-02 10:30: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
sbraccia 7359b6ca2f The array of communicators was non necessary (thanks to SdG): removed everywhere.
Fixed a serious bug in para.f90 (introduced in the last commit).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@744 c92efa57-630b-4861-b058-cf58834340f0
2004-03-24 16:30:44 +00:00
sbraccia 2a99b6fdac 1) An experimental parallelization of NEB images has been implemented.
This required a deep modification of the parallelism in PWscf:
there are two new communicators (intra_image_comm and inter_image_comm) and the
existing "pool" communicators (intra_pool_comm and inter_pool_comm) are now vectors
of length given by the number of parallel images. #ifdef __PARA is no longer
needed because all "parallel" variables are always initialized for a serial run
and all parallel routines are, in the case of a serial run, dummy routines.
The wrappers to MPI routines used only by PWscf are in the PW/para.f90 file.
The others (mp_***) are in the Modules/mp.f90. All explicit referencies to mpif.h
should be replaced by an "USE parallel_include" (in a serial run parallel_include
is simply a dummy module).

2) The extrapolation of both potential and wavefunctions has been rewritten in
order to be smarter than before: on the basis of the required extrapolation
order, on the basis of the history and on the basis of which files are really
present on the disk, the algorithm chooses the extrapolation order.
All the algorithms in which ions are moved can use the extrapolation.

These are both unstable features: I need the help of everybody to test them.

C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@742 c92efa57-630b-4861-b058-cf58834340f0
2004-03-24 09:36:50 +00:00
giannozz f5092aeb71 Oops...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@740 c92efa57-630b-4861-b058-cf58834340f0
2004-03-19 17:24:43 +00:00
giannozz 73061fe296 yet another bug in phonon and k-point parallelization in
namelist reading (phq_readin)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@738 c92efa57-630b-4861-b058-cf58834340f0
2004-03-19 08:34:42 +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 a4c6adff57 oops...missing file in parallel compilation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@726 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 15:11:24 +00:00
giannozz e06089c7be cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@724 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 14:56:54 +00:00
giannozz 581e56d3ec Two instances of the same variable in efg.f90 (found by Antonio Tilocca)
Cleanup, doc, workaround for yet another ifc8 bug, no more #ifdef ZHEGVX


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@722 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 10:07:07 +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
degironc 608a925987 added reference to routines called by neb_base
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@720 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 09:23:46 +00:00
degironc bbf860d42c *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@719 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 07:59:07 +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
giannozz 9254bf4340 More postprocessing is working at Gamma point.
A few ifort8 compilation glitches fixed. Manual updated.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@717 c92efa57-630b-4861-b058-cf58834340f0
2004-03-12 18:38:54 +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
sbraccia c782b18fe1 Fixed an error in the call to mp_bcast (the correct communicator was missing).
Explicit referencces to MPI_barrier replaced with calls to mp_barrier.
Some cleanup.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@705 c92efa57-630b-4861-b058-cf58834340f0
2004-03-08 15:30:40 +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
sbraccia 7802c6c40c Calls to broadcast replaced by calls to mp_bcast everywhere.
All kinds ionic dynamics are done by a single cpu (see move_ions.f90).
After the ions are moved the new positions (and other information) are
broadcasted to all other cpus.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@701 c92efa57-630b-4861-b058-cf58834340f0
2004-03-07 17:18:22 +00:00
giannozz 509459fc93 Cleanup in PH/ and D3/, setv removed (please verify collateral damages!)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@698 c92efa57-630b-4861-b058-cf58834340f0
2004-03-07 13:47:42 +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
ballabio 822aac3b72 *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@682 c92efa57-630b-4861-b058-cf58834340f0
2004-02-26 16:46:30 +00:00
profeta 5eb515bbe8 remove setv use in symz
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@674 c92efa57-630b-4861-b058-cf58834340f0
2004-02-26 10:24:47 +00:00
profeta 3f541d0d8e Add electric field gradient calculation with PAW reconstruction
move setv and symz to PW
MP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@672 c92efa57-630b-4861-b058-cf58834340f0
2004-02-25 15:20:28 +00:00
giannozz b0fb00f5c8 Oops, first newly introduced bug (phonon+pools again) fixed...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@671 c92efa57-630b-4861-b058-cf58834340f0
2004-02-25 14:13:49 +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 1286ba43d1 Documentation updated, some changes to output in dynamics and in summary
as requested by Tone - examples updated with the exception of example12
(please verify if they are ok). Version number updated to 2.0 .
configure => configure.old, configure.new => configure


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@553 c92efa57-630b-4861-b058-cf58834340f0
2004-02-03 12:08:55 +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
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
degironc cfe2536ac0 bug fixed in phonon calculation with nosym=.true.
minus_q and related variables where not set properly: minus_q was always
set .false. while instead it may be .true. for some value of q (gamma
for instance).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@503 c92efa57-630b-4861-b058-cf58834340f0
2004-01-22 12:34:43 +00:00
giannozz cd8242ad9a Some cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@486 c92efa57-630b-4861-b058-cf58834340f0
2004-01-15 15:50:19 +00:00
sbraccia 4c30bb71a3 Again a fix for the array out-of-bounds problem.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@483 c92efa57-630b-4861-b058-cf58834340f0
2004-01-14 14:03:12 +00:00
ballabio 833d2f0d9a fixed typo (0d.0 -> 0.d0) [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@479 c92efa57-630b-4861-b058-cf58834340f0
2004-01-13 08:47:50 +00:00
giannozz 16bd3a343b Phonon did not work on 4-dim irreps
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@477 c92efa57-630b-4861-b058-cf58834340f0
2004-01-09 15:56:24 +00:00
cavazzon bb4db10003 - FPMD prepared for NEB
- variables in module pwcom/varie moved to Modules/control_flags
- module PW/format moved to Modules/format
- in module PW/supercell added workaround for AUTOMATIC variable and
  AIX compilers
- PH Makefile added rbecmod.o


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@468 c92efa57-630b-4861-b058-cf58834340f0
2004-01-07 22:54:02 +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 7eabc732c3 PH and D3 adapted to the new PW routines.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@452 c92efa57-630b-4861-b058-cf58834340f0
2003-12-10 16:26: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 c2b25dcd2a some pointers converted to allocatable (Michele)
new script to find dependencies


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@385 c92efa57-630b-4861-b058-cf58834340f0
2003-11-12 14:18:00 +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