Commit Graph

51 Commits

Author SHA1 Message Date
giannozz f2a15f2747 make.depend updated; fixed mpi initialization in (seldom-used) xctest.f90
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7436 c92efa57-630b-4861-b058-cf58834340f0
2011-01-23 16:14:41 +00:00
giannozz 59617dd793 Almost final merge of G-vector generation between PW and CP:
- Grid dimensions for both dense and smooth grids are in Modules/griddim.f90
- Variables describing  G vectors and their mapping onto FFT grids (both
  dense and smooth) are in Modules/recvec.f90
- FFT descriptors are defined in Modules/fft_types.f90
- Variables describing G-vector distribution across processors are
  contained in Modules/stick_base.f90
- Distribution across processors of G vectors in sticks and planes
  is performed in Modules/stick_set.f90, routine pstickset, which
  also initializes FFT descriptors
- G vectors and their mapping onto FFT grids are calculated in
  Modules/recvec_subs.f90 (routine ggen: a modified version of PW one,
  replacing the CP one ggencp)
Testing is very limited but given the kind of modifications there should
be no major problem, I hope.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7384 c92efa57-630b-4861-b058-cf58834340f0
2011-01-05 16:04:54 +00:00
giannozz 3ee0e520b6 More variable unification: module gvecs and gsmooth merged (new name: gvecs),
module gvect, gvecp, reciprocal_vectors merged (new name: gvect)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7348 c92efa57-630b-4861-b058-cf58834340f0
2010-12-24 10:19:22 +00:00
giannozz a869becb55 More variable harmonization: ig1,ig2,ig3 => mill
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7278 c92efa57-630b-4861-b058-cf58834340f0
2010-12-05 13:07:09 +00:00
giannozz 473a19205a All references to EE/ subdirectory and to libraries in Multigrid/ removed.
Calls to variables and routines in EE/ commented, for the time being.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7226 c92efa57-630b-4861-b058-cf58834340f0
2010-11-18 15:49:00 +00:00
degironc ad36fda0e1 just a Copyright statemet added in a few files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7209 c92efa57-630b-4861-b058-cf58834340f0
2010-11-12 21:44:47 +00:00
degironc dd216a78ba missing dependency
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7189 c92efa57-630b-4861-b058-cf58834340f0
2010-11-02 22:58:38 +00:00
giannozz 08d96590f9 More merge of grid dimensions:
1) variables nrxx, nr[123][x] moved from gvect to grid_dimensions
2) when the FFT descriptor, fdfftp, is presewnt, values contained
   in the descriptor are used instead
Beware unintended side effects.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7167 c92efa57-630b-4861-b058-cf58834340f0
2010-10-26 08:28:22 +00:00
giannozz 77648909ed Variable nrxxs removed from module gvect. Either the value in module
smooth_grid_dimensions or in dffts%nnr is used instead. Lots of changes
but nothing substantial. Beware unintended side effects


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7164 c92efa57-630b-4861-b058-cf58834340f0
2010-10-24 08:05:12 +00:00
giannozz 9ac1c4ecaf Remove dependency of XSpectra upon PP. Cleanup of calculations of dependencies
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7162 c92efa57-630b-4861-b058-cf58834340f0
2010-10-22 16:36:36 +00:00
giannozz 893be56652 removal of unused variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7069 c92efa57-630b-4861-b058-cf58834340f0
2010-09-02 10:21:40 +00:00
giannozz ff272cedd0 Xspectra updated with new fft + missing davcio in module
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7052 c92efa57-630b-4861-b058-cf58834340f0
2010-08-31 14:41:31 +00:00
giannozz 7a187311db diropn moved from PW/ into module io_files (where it belongs). davcio also
moved into file Modules/io_files.f90 but not inside module io_files. A better
place is in flib/ in my opinion. Removed dependency of CP upon PW. Lots of
changes but ne substantial or dangerous change.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6835 c92efa57-630b-4861-b058-cf58834340f0
2010-06-13 11:29:12 +00:00
giannozz 2f2af84beb Dependencies updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6675 c92efa57-630b-4861-b058-cf58834340f0
2010-04-28 18:15:54 +00:00
calandra 24637dc007 Nev version of the script to extract core-wavefunctions from
gipaw pseudopotentials. This new version extracts the core
wavefunction from UPF version 1 and UPF version 2.
Provided by A. Seitsonen.

MCB


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6634 c92efa57-630b-4861-b058-cf58834340f0
2010-04-16 14:51:55 +00:00
calandra 47d45bc631 Routine read_core_abs_paratec eliminated from file.
It was not used.

MCB


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6633 c92efa57-630b-4861-b058-cf58834340f0
2010-04-16 14:43:06 +00:00
calandra 919fd8146d Due to some modifications in PW/read_file.f90 the DFT+U
calculation in XSpectra was not working anymore.
I have changed read_file_xspectra.f90 to account for
these changes.
Now XSpectra with DFT+U works again.

MCB


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6591 c92efa57-630b-4861-b058-cf58834340f0
2010-04-02 04:16:49 +00:00
giannozz ab5b30bd9d symme => symm_base (forgotten commit)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6432 c92efa57-630b-4861-b058-cf58834340f0
2010-02-17 17:55:45 +00:00
giannozz ce2e1b655c XSpectra fixed (why does it use a different copy of read_file?), minor
cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6410 c92efa57-630b-4861-b058-cf58834340f0
2010-02-14 15:57:29 +00:00
giannozz c22a10cc2f All makefiles simplified, make.depend updated, fixed an inconsistency in
XSpectra coming from recent changes


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6379 c92efa57-630b-4861-b058-cf58834340f0
2010-02-09 15:21:51 +00:00
giannozz 6c5888721f Cleanup of matrix crystal to cartesian transformations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6295 c92efa57-630b-4861-b058-cf58834340f0
2010-01-15 07:36:54 +00:00
degironc 1e6b7dcfeb Modules/environmet.o added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6188 c92efa57-630b-4861-b058-cf58834340f0
2009-11-20 17:57:45 +00:00
giannozz 976fdf6f4e More minor cleanup (this time "harmless", not "harmful"!)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6123 c92efa57-630b-4861-b058-cf58834340f0
2009-11-09 18:53:05 +00:00
giannozz 90a501d84e variables ortho_para and use_task_group moved from control_flags to
mp_global, which seems to me a more appropriate place. Many changes
but little stuff. Hopefully harmful, but no guarantee: please check!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6122 c92efa57-630b-4861-b058-cf58834340f0
2009-11-09 16:07:19 +00:00
giannozz fcb09dd617 More initialization cleanup: clock and stack initialization moved into
environment_start; a few useless wrappers removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6115 c92efa57-630b-4861-b058-cf58834340f0
2009-11-08 10:11:24 +00:00
degironc cdd165beff last changes on becp broke compilation of xspectra.
now it compiles again.
XSpectra Examples:
example SiO2 looks fine to me...
example NiO looks fine to me...
example diamond stops for an unrelated problem (too few bands); please check


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5958 c92efa57-630b-4861-b058-cf58834340f0
2009-09-21 09:17:22 +00:00
giannozz a13cd1f18b Misplaced routines re-placed, Makefiles updated:
Modules/vxccg.f90 split into atomic/vxcgc.f90 and flib/radial_gradients.f90
Modules/metagga.f90 moved to flib/metagga.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5884 c92efa57-630b-4861-b058-cf58834340f0
2009-09-04 13:40:13 +00:00
giannozz 5c2f8645f8 Removed SHMEM, Makefiles and make.depend updated; lenght => length ; misc
Second attempt - for some reason the cvs on qe-forge more often than not
doesn't complete the job


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5815 c92efa57-630b-4861-b058-cf58834340f0
2009-08-04 14:36:12 +00:00
giannozz afec752184 End of this set of not-so-fundamental changes. Summary:
1) no more f_defs.h file to be included in fortran files
2) all CMPLX explicitly defined as CMPLX(...,KIND=dp)
3) blas/lapack names in lowercase (not all of them, actually)
4) documentation accordingly updated (plus unrelated changes to user_guide)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5805 c92efa57-630b-4861-b058-cf58834340f0
2009-08-03 09:19:02 +00:00
giannozz 134f077ee9 There were a few occurrences of "cmplx(a,b)" (lowercase, not preprocessed).
This is a very bad thing since the result is returned in single precision.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5783 c92efa57-630b-4861-b058-cf58834340f0
2009-07-31 16:37:18 +00:00
giannozz 68603defdd More references to removed files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5744 c92efa57-630b-4861-b058-cf58834340f0
2009-07-23 12:18:36 +00:00
giannozz 86186c5c7d Small change to the installation mechanism: the list of locations for
modules is provided by the Makefile in each subdirectory, rather than
by make.sys. No big advantage but neater solution than before


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5737 c92efa57-630b-4861-b058-cf58834340f0
2009-07-22 17:18:42 +00:00
giannozz b3daf98bf0 Added support for ESPRESSO_TMPDIR; removed nonstandard commas in write
that some compilers don't like


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5643 c92efa57-630b-4861-b058-cf58834340f0
2009-07-07 06:46:17 +00:00
calandra 63d30d7ef9 Corrected bug in restart in the case of a quadrupolar calculation.
Christos Gougoussis and Matteo Calandra


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5623 c92efa57-630b-4861-b058-cf58834340f0
2009-06-25 08:07:56 +00:00
calandra 9dc808e12c Deleted a line that should have been deleted in the last update.
It affects the quadrupolar calculation in the case of ultrasoft pseudopotentials.

Christos Gougoussis and Matteo Calandra


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5622 c92efa57-630b-4861-b058-cf58834340f0
2009-06-25 08:05:11 +00:00
giannozz 59339bee9b Compilation error in serial case
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5607 c92efa57-630b-4861-b058-cf58834340f0
2009-06-15 08:27:34 +00:00
calandra 5d89672b2d Makefile for the new version of XSpectra
Christos Gougoussis and Matteo Calandra


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5582 c92efa57-630b-4861-b058-cf58834340f0
2009-06-05 11:52:58 +00:00
calandra 25a5b6543f Routine applying the S^{-1} matrix to m wavefunctions psi
and putting the results in spsi.
      as in

2006 Hasnip, PJ; Pickard, CJ,
"Electronic energy minimisation with ultrasoft pseudopotentials",
Computer Physics Communications, Vol 174, Issue 1, Page 24-29.

and in

 B. Walker and R. Gebauer, "Ultrasoft Pseudopotentials in time
 dependent density funcional theory", J. Chem. Phys. {\bf 127}, 164106
 (2007)


  Original routine written by Ralph Gebauer
        Modified by Christos Gougoussis


  Christos Gougoussis and Matteo Calandra


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5581 c92efa57-630b-4861-b058-cf58834340f0
2009-06-05 11:50:43 +00:00
calandra 41183881cc New version of the xspectra code. The following features
have been added:

1) Generalization of the continued fraction to the ultrasoft
pseudopotentials case (see Christos Gougoussis et al. arXiv:0906.0897 )

2) New .sav file format with version, old versions are compatible.

3) Restart in continued fraction (experimental).

4) Several modification to have a code more uniform with the
QE-style standards


Christos Gougoussis and Matteo Calandra


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5580 c92efa57-630b-4861-b058-cf58834340f0
2009-06-05 11:43:18 +00:00
calandra 261b60ffdb Added variables for timing and restart in continued fraction.
New format of save file with version (old formats are compatible).

Christos Gougoussis and Matteo Calandra.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5579 c92efa57-630b-4861-b058-cf58834340f0
2009-06-05 11:37:56 +00:00
giannozz e21bcf37ab iargc shouldn't be defined external (gfortran doesn't like it)
Same constants used in the rest of the code (please check!)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5434 c92efa57-630b-4861-b058-cf58834340f0
2009-02-19 09:38:47 +00:00
giannozz 4e7626d2d8 Tabulators replaced by white spaces (they confuse some compilers).
Recent additions to parameters.f90 moved into the place where they
belong (in my opinion). I don't think it is such a great idea to put
parameters there, unless they are used throughout the distribution


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5431 c92efa57-630b-4861-b058-cf58834340f0
2009-02-17 14:51:24 +00:00
giannozz cd8615a735 Compilation problem (wannier_new module missing)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5429 c92efa57-630b-4861-b058-cf58834340f0
2009-02-17 11:41:45 +00:00
matteo.calandra f582ed13e1 Corrected a bug in the script extracting the core states
from the pseudo in upf version one.
Now in this new version it does not only extract the 1s core
state but all the core states.

Matteo Calandra


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5195 c92efa57-630b-4861-b058-cf58834340f0
2008-09-16 14:05:49 +00:00
matteo.calandra 6f51d6ace2 Corrected a loop variable I forgot to change in my
commit from yesterday.

Matteo Calandra


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5189 c92efa57-630b-4861-b058-cf58834340f0
2008-09-11 09:43:27 +00:00
matteo.calandra 38db9edf66 Corrected memory leak in the definition of r_paw.
Matteo Calandra


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5187 c92efa57-630b-4861-b058-cf58834340f0
2008-09-10 15:29:50 +00:00
giannozz 8cd13cb00b Common "symme" moved to a separate file; some cleanup. Symmetries of the
Bravais lattice are written (but not yet read nor used) to the xml file


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5125 c92efa57-630b-4861-b058-cf58834340f0
2008-08-22 15:53:34 +00:00
matteo.calandra 8ac7c14dbf Minor modifications to the xspectra code:
1) rename of several variables and routines having still
   the old suffix xanes that now has become xspectra
2) Corrected small bug when running on a single processor
   with no mpi and  xonly_plot=.true. .
3) Error in the printout of the memory required by the code
4) Input option use_paratec_recon has been removed
5) Variable xang_mom is not anymore an input variable, the
   calculation is chosen changing the variable
   calculation="xanes_dipole" or "xanes_quadrupole"

Matteo Calandra


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5033 c92efa57-630b-4861-b058-cf58834340f0
2008-06-30 15:44:59 +00:00
matteo.calandra aa9b32b23e Added script upf2plotcore.sh in directory XSpectra.
This script allows to extract the core wavefunctions
from a pseudo upf version 1 and to use the corresponding
output directly as input for the XSpectra code.

Matteo Calandra


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5029 c92efa57-630b-4861-b058-cf58834340f0
2008-06-30 09:31:32 +00:00
matteo.calandra ff9d5280f9 Removed broken link in directory bin
xspectra.x --> ../XSpectra/xspectra.x
and not
xspectra.x --> ../Xanes/xspectra.x

Matteo Calandra


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5024 c92efa57-630b-4861-b058-cf58834340f0
2008-06-26 21:19:39 +00:00