Commit Graph

169 Commits

Author SHA1 Message Date
cavazzon b0f5a72da0 - object:
../Modules/radial_grids.o
  was missing in Makefile, but "something" refers to it


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4212 c92efa57-630b-4861-b058-cf58834340f0
2007-09-04 15:27:50 +00:00
dalcorso 4337822c78 Modification of the new noncollinear GGA routine.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4200 c92efa57-630b-4861-b058-cf58834340f0
2007-09-03 07:03:01 +00:00
cavazzon 1917ee9a65 - block-like parallelization of cdiaghg,
no global replicated matrix are now allocated inside cdiaghg
- real routine will follow soon
- note that the number of processors involved in diag.
  is the largest square smaller or equal to nproc_pool
- it is possible to suggest a different number of processors in
  the input with the parameter: ortho_para (like for cp)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4104 c92efa57-630b-4861-b058-cf58834340f0
2007-08-09 20:48:22 +00:00
giannozz 0a3d50ff7e Minor change in output
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4014 c92efa57-630b-4861-b058-cf58834340f0
2007-07-10 14:29:04 +00:00
giannozz 369da2a000 Some minor changes in the output:
- obscure printout of misc variables removed from allocate_wfc,
  moved to less random places with hopefully less obscure meaning
- added printout of memory usage of main arrays


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4013 c92efa57-630b-4861-b058-cf58834340f0
2007-07-10 11:15:31 +00:00
giannozz ac82c40ab7 configure updated (only configure.ac had been previously updated).
LD used instead of MPIF90 in Makefiles for loading. Since LD is used
anyway in iotk, it makes sense to use it. In some cases it may be
useful to have distinct options for compiling and for loading.
Minor cleanup in some routines


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3976 c92efa57-630b-4861-b058-cf58834340f0
2007-06-20 17:04:47 +00:00
giannozz 054e721960 Misc pseudopotential cleanup: upf_to_internal merged between CP and PW;
PAW-related stuff extracted and put into the paw module; various checks
moved to more appropriate places; initialization of obsolete variables
lloc and lmax moved elsewhere; variable zp moved to uspp_param.
All PP-reading subroutines (too many) read zp, not zv; zv is set later.
Summary for pseudopotentials unified and purged of printout of
obsolete/unused/unset variables.
PW/readin.f90 renamed to something more suggestive of what it does
(PW/read_pseudo.f90). Module PW/upf_to_internal.f90 moved to Modules/,
routine upf2internal removed from CPV/read_pseudo.f90.
Harmless error in berry phase + a few bad formats in GIPAW fixed.
Dependencies and Makefiles updated.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3851 c92efa57-630b-4861-b058-cf58834340f0
2007-03-18 19:24:56 +00:00
sbraccia ebaf17e04f Added keyword (assume_isolated) to enable the direct calculation of Makov-Payne
correction to the total energy at the end of a self-consistency. An estimate of
the vacuum level is also calculated so that eigenvalues can be properly aligned.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3842 c92efa57-630b-4861-b058-cf58834340f0
2007-03-12 13:50:45 +00:00
giannozz 0a862b7402 Added possibility (not yet activated) of keeping wavefunctions in memory.
File buffers.f90 contains replacements - with different names and syntax -
for diropn (open_buffer) and davcio (get_buffer, save_buffer). If you have
better names, please go ahead. Works for a single buffer right now.

Pitfalls: nwordwfc is now defined as the number of complex words, no longer
of real words, but only in PW/, so mixing routines from PW with routines from
other codes may run into trouble (although I didn't see any side effect).
Restart may no longer work in some specific cases.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3800 c92efa57-630b-4861-b058-cf58834340f0
2007-02-21 13:01:31 +00:00
degironc 42a12efcc8 The Meta-GGA available on cp.x has been ported to pw.x: scf and forces,
while stress must still be done. So far, NC PP only.
SdG + Koichiro Umemoto


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3779 c92efa57-630b-4861-b058-cf58834340f0
2007-02-13 21:39:20 +00:00
dalcorso cfef6c3be5 Phonon in the noncollinear and spin-orbit case. Changes in PW.
angle1, angle2 and starting_magnetization are saved in the punch file.
The transformation of angle1 and angle2 to radiants is done in input.f90.
Clean_up of sum_band.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3765 c92efa57-630b-4861-b058-cf58834340f0
2007-02-08 12:47:41 +00:00
giannozz 45c4046097 calculation of kinetic energy extracted and done in a separate routine;
some restructuring here and there; uninitialized variable (PGI only) fixed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3728 c92efa57-630b-4861-b058-cf58834340f0
2007-01-31 15:51:32 +00:00
giannozz fd20ba3bde Printout of Kohn-Sham eigenvalues for both the scf and the non-scf case
extracted and called as a separate routine. There should be no changes
in the output. This is just a cosmetic step to 1) reduce the size of some
routines performing (too) many tasks, and 2) to avoid having two pieces
of code doing basically the same task. More to come.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3726 c92efa57-630b-4861-b058-cf58834340f0
2007-01-30 17:01:47 +00:00
giannozz 102532104c cgramg1, used in DIIS, had been erroneously removed. Some loaders were
complaining about its absence, even if it was not actually needed.
Re-added for consistence, but diis modules are no longer compiled
nor loaded at all.
Axel: fix more single-precision constants
Variable-cell dynamics now stops when the maximum number of steps
(nstep) is exceeded


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3723 c92efa57-630b-4861-b058-cf58834340f0
2007-01-30 10:28:07 +00:00
giannozz bd6b07f386 Calculation of weights and Fermi energies is extracted from sum_band
and performed by a separate subroutine (weights).
More uniform behaviour of scf and non-scf case; some unneeded calls
(ppolreduce, sum_band) removed.
Subroutine punch minimized (should be removed)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3721 c92efa57-630b-4861-b058-cf58834340f0
2007-01-29 10:40:07 +00:00
giannozz 17bb64fd14 Minor cleanup: v(0) calculated together with v; non_scf routine
put into a separate file


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3707 c92efa57-630b-4861-b058-cf58834340f0
2007-01-23 17:31:15 +00:00
giannozz 6eae898b2a More merge of noncolinear stuff
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3702 c92efa57-630b-4861-b058-cf58834340f0
2007-01-21 20:09:10 +00:00
giannozz fcaa7e6c59 c_bands simplified (sort of). A routine that diagonalizes wavefunctions
for a single k-point without reading or writing anything is now available.
The functionality of c_bands should remain the same (please check).
Obsolete non-collinear DIIS diagonalization routines removed.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3683 c92efa57-630b-4861-b058-cf58834340f0
2007-01-17 15:32:57 +00:00
umari 546d765916 Changement to the treatment of the Berry's phase electric
field. Now the projectors for the hermitean el. field operator
which depend on the wavefunctions,
are calculated just once and store on disk for every diagonalization

It permits much faster execution in particular for cg minimization.

P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3607 c92efa57-630b-4861-b058-cf58834340f0
2006-12-15 23:18:19 +00:00
giannozz 783c0d42e1 Variables read in module pres_ai_mod have been added to input_parameters:
the data is read into input_parameters and copied to module pres_ai_mod,
like for all the other input variables. This allows a better separation
between reading and initialization phases, removes many dependencies upon
upon pres_ai_mod. Module pres_ai_mod moved to CPV where it belongs.
Makefiles and dependency files updated. UNTESTED: it may or may not work..


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3597 c92efa57-630b-4861-b058-cf58834340f0
2006-12-12 15:35:11 +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
dalcorso 84d83c2309 Added a routine that writes on file the matrix elements of the p operator.
Compute_qdipol.f90 moved to the PW directory.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3587 c92efa57-630b-4861-b058-cf58834340f0
2006-12-06 10:39:16 +00:00
giannozz 6bc54e352d Some more cleanup of the noncolinear case
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3583 c92efa57-630b-4861-b058-cf58834340f0
2006-11-29 08:40:05 +00:00
giannozz 84610c754e Obsolete file removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3576 c92efa57-630b-4861-b058-cf58834340f0
2006-11-27 17:00:48 +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
giannozz 774ae87397 Unused routine removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3484 c92efa57-630b-4861-b058-cf58834340f0
2006-10-24 12:25:33 +00:00
giannozz 5a274142b3 unused/obsolete routines removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3478 c92efa57-630b-4861-b058-cf58834340f0
2006-10-23 14:00:08 +00:00
giannozz 7adec9989d Too many swapping routines around
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3477 c92efa57-630b-4861-b058-cf58834340f0
2006-10-23 13:34:05 +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
degironc c11b1c6adc When checkallsym finds that the symmetry is lower than the original one
the code symmetrizes the atomic (and iif needed the cell) configuration
before stopping, so as to allow to restart from a symmetric configuration
if desired.
SdG


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3425 c92efa57-630b-4861-b058-cf58834340f0
2006-10-02 09:37:35 +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
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 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
dalcorso 7ec70db326 Added a routine to print the name of the point group. (Only with
verbosity="high").


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3302 c92efa57-630b-4861-b058-cf58834340f0
2006-07-31 09:05:10 +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 404ba52f8a Added a routine to read the charge density in the xml format. Both read_rho and
write_rho are in the same module io_rho_xml. These routines are now used in
pw_restart. Beware anomalous behaviours.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3068 c92efa57-630b-4861-b058-cf58834340f0
2006-05-03 13:36:18 +00:00
sbraccia 7196ce7788 Added a routine to write the charge density in the xml format. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3062 c92efa57-630b-4861-b058-cf58834340f0
2006-05-02 01:41:26 +00:00
giannozz 46f30d0f43 - memory.x as implemented was impossible to maintain and basically useless.
We need to think to a better way to estimate the memeory usage of a run.
- write lloc for UPF PP
- do not write rho and potential that are never read


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3054 c92efa57-630b-4861-b058-cf58834340f0
2006-04-27 15:55:05 +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
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 7c1c150c1a cleanup of unused scalapack routines + misc cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2933 c92efa57-630b-4861-b058-cf58834340f0
2006-03-22 16:33:27 +00:00
giannozz 7f8305b218 Nasty bug in Gamma-only stress calculation when lmax=0
Makefile updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2892 c92efa57-630b-4861-b058-cf58834340f0
2006-03-08 18:05:55 +00:00
giannozz d19f3f10af makefile and module usaghe updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2874 c92efa57-630b-4861-b058-cf58834340f0
2006-03-07 13:59:02 +00:00
giannozz f9143583a4 More pseudopotential cleanup - unexpected side effects are possible
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2870 c92efa57-630b-4861-b058-cf58834340f0
2006-03-06 13:31:27 +00:00
giannozz 5a1b63a5d1 Routines for old Vanderbilt format merged - some details still to be fixed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2869 c92efa57-630b-4861-b058-cf58834340f0
2006-03-06 11:12:48 +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 4ecfe7f280 All machine-dependent 3d FFTs moved to module fft_scalar
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2827 c92efa57-630b-4861-b058-cf58834340f0
2006-02-16 13:22:19 +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 793aba95d5 First attempt of a cleanup of FFT mess in PW
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2810 c92efa57-630b-4861-b058-cf58834340f0
2006-02-14 14:17:24 +00:00