Commit Graph

327 Commits

Author SHA1 Message Date
dalcorso 72ebd925a1 Added two flags, lrpa and lnoloc to print the dielectric constant
calculated with DV_xc=0 (RPA), or with DV_H=0 and DV_xc=0.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3571 c92efa57-630b-4861-b058-cf58834340f0
2006-11-27 08:58:23 +00:00
dalcorso 6b75caab1a Bug fix: US effective charges and dynamical matrix were wrong in insulators
when nbnd > nelec/2.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3559 c92efa57-630b-4861-b058-cf58834340f0
2006-11-22 10:54:28 +00:00
giannozz 930d0ecdae dependencies updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3558 c92efa57-630b-4861-b058-cf58834340f0
2006-11-22 08:52:07 +00:00
cococ 6eca780f78 added pres_ai_mod.o to compile input_parameters and read_namelists
----------------------------------------------------------------------

Modified Files:
	PH/Makefile PW/Makefile
----------------------------------------------------------------------


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3554 c92efa57-630b-4861-b058-cf58834340f0
2006-11-21 00:49:08 +00:00
kkudin edb1613564 Added prefix.EXIT feature to the PH program - Kostya
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3538 c92efa57-630b-4861-b058-cf58834340f0
2006-11-15 23:43:43 +00:00
giannozz f03c1f0467 Alpha compilation errors, courtesy of Giovanni Cantele
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3529 c92efa57-630b-4861-b058-cf58834340f0
2006-11-14 15:36:59 +00:00
giannozz 4c75e48b33 Documentation (sort of) for restart procedure added to phq_recover
Restart in solve_e_fpol disabled (couldn't work)
Restart from raman calculation modified so that if restarting from a
raman+phonon calculation might work - completely untested


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3518 c92efa57-630b-4861-b058-cf58834340f0
2006-11-08 08:21:55 +00:00
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