Commit Graph

311 Commits

Author SHA1 Message Date
giannozz 779fad75ad Cleanup: modules energies and printout_base moved to CPV where they are used.
The only variable used in all codes, "title", moved to a new module run_info
in Modules (it may in the furture contain more stuff).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8044 c92efa57-630b-4861-b058-cf58834340f0
2011-08-03 19:16:03 +00:00
ccavazzoni 8040dea31d - grid data structure merged with the fft data structure.
Now all variables regarding real space grid, fft and 
  their parallelization are contained into the objects:
  dfftp (dense grid) 
  dffts (smooth grid)



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7973 c92efa57-630b-4861-b058-cf58834340f0
2011-07-14 22:14:15 +00:00
ccavazzoni 930828018e - real space grid variables (nr1, nr2, ecc...) substituted by a data type.
Further changes will follow in order to reduce dependencies and 
  duplicate variables (especially with dfft data structure) 
  


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7961 c92efa57-630b-4861-b058-cf58834340f0
2011-07-10 20:56:44 +00:00
marsamos f83cfca2a0 open_input_file modified to automatically detect xml. There is no nedd
for arg -xmlinput now.
all routines calling find_free_unit or trimcheck have been
modified. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7926 c92efa57-630b-4861-b058-cf58834340f0
2011-07-04 15:27:16 +00:00
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 df160c95f3 Variable ecutwfc moved from "gvect" to "wvfct"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7341 c92efa57-630b-4861-b058-cf58834340f0
2010-12-22 21:44:25 +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
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 b41ba40564 Harmonization of FFT grid variables with CP:
nrx1, nrx2, nrx3 => nr1x, nr2x, nr3x
  nrx1s,nrx2s,nrx3s=> nr1sx,nr2sx nr3sx


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7091 c92efa57-630b-4861-b058-cf58834340f0
2010-09-18 16:48:39 +00:00
giannozz a561a61e98 Forgot to update GIPAW in previous commits, plus minor things (removal of
unused routines and of unused variables)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7050 c92efa57-630b-4861-b058-cf58834340f0
2010-08-31 13:13:51 +00:00
giannozz 3fcb6ee773 More fft unification
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7023 c92efa57-630b-4861-b058-cf58834340f0
2010-08-27 11:55:22 +00:00
giannozz 948affe215 Source "normalization" of Gamma phonon
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6849 c92efa57-630b-4861-b058-cf58834340f0
2010-06-18 16:50:35 +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 76ee6cc8ea Printed value of the polarizability includes local-field effects
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6596 c92efa57-630b-4861-b058-cf58834340f0
2010-04-07 12:36:33 +00:00
nn245 4463142589 Rename Modules/functionals.f90 to Modules/funct.f90 to avoid basename clash with flib/functionals.f90 (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6505 c92efa57-630b-4861-b058-cf58834340f0
2010-03-17 12:01:22 +00:00
giannozz f0fc81c48e programs started with mp_global_start should end with mp_global_end. Not a
big deal: it avoids leaving allocated object at stop


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6451 c92efa57-630b-4861-b058-cf58834340f0
2010-02-25 20:03:07 +00:00
giannozz da3f938442 More symmetry cleanup (sort of). Symmetry-related variables, together with
routines that find the symmetry of a system, are in module symm_base;
module symme contains only routines for symmetrization of the various
quantities.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6403 c92efa57-630b-4861-b058-cf58834340f0
2010-02-12 20:57:55 +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
obm c122ffed47 1) For TDDFPT purposes, subroutine newd does too many things at once, and accepts too few parameters.
I have splitted them and collected all in a module. Usual calls to newd is not changed, apart from necessity
to include the module, newq is the part I use for calculating response charge density.
2) Some gamma only additions to PH/dv_of_drho.f90 proved to be unnecessary, removing. I am still trying to
find an efficient/minimal impact way to cast this subroutine to use real instead of complex input.

As usual, I have tested before posting, however be sure to check before in your applications.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6322 c92efa57-630b-4861-b058-cf58834340f0
2010-01-27 18:50:07 +00:00
giannozz 2bb7dcecd5 I have forgotten this one
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6296 c92efa57-630b-4861-b058-cf58834340f0
2010-01-15 08:07:20 +00:00
giannozz a4cf0f888b Minor symmetry cleanup: S^{-1} moved to symmetry module and its usage
made uniform. It seems to work, but beware unintended side effects.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6282 c92efa57-630b-4861-b058-cf58834340f0
2010-01-09 15:21:34 +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 3ddfa0f460 More of the same
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6116 c92efa57-630b-4861-b058-cf58834340f0
2009-11-08 11:49:26 +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
giannozz 805b860d62 Merge of initial printout between CP and PW: CPV/environment.f90 moved
to Modules/environment.f90 and generalized to PW and other codes.
PW/startup.f90 is kept as a wraper for now. The initial message in CP
looks now like the one in PW (please check if it satisfactory). The
compilation date has disappeared from info printed by CP: was it useful?
Makefiles and make.depends updated. ld1 does not depend any longer upon
files in PW/ . Miscellaneous cleanup.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6111 c92efa57-630b-4861-b058-cf58834340f0
2009-11-06 17:28:19 +00:00
giannozz f1e241876b First attempt to solve the problem of xcrysden not reading the final
coordinats in a relax calculation. I followed Tone's suggestion. The
delimiters for the final set of cordinates are just one of the possible
choiceis and can be easily changed in output_tau.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6036 c92efa57-630b-4861-b058-cf58834340f0
2009-10-17 11:19:30 +00:00
dalcorso ffc76c84c0 Small cleanup. add_vuspsi does not use psi.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6002 c92efa57-630b-4861-b058-cf58834340f0
2009-10-14 14:32:37 +00:00
degironc 190839d0c6 more becp simplifications.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5956 c92efa57-630b-4861-b058-cf58834340f0
2009-09-19 08:32:22 +00:00
giannozz 79f2ca2262 Nonlinear core corrections in Gamma-only phonon code fixed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5939 c92efa57-630b-4861-b058-cf58834340f0
2009-09-18 09:42:36 +00:00
degironc fb6d84f554 In an attempt to unifying the management of becp-like variables in various cases
(gamma_only, noncolin and generic k) a derived data-type bec_type is introduced
in becmod with component %r (for gamma real case), %nc (for non colinear case)
and %k (for the generic k case) .
The changes were tivial (rbecp -> becp%r, becp->becp%k, becp_nc->becp%nc) but
pervasive... I tried my best to test that everything is ok

stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5937 c92efa57-630b-4861-b058-cf58834340f0
2009-09-16 15:26:25 +00:00
degironc ea12898a5d first implementation of Martyna-Tuckerman method to decouple periodic
images in a cluster calculation.  Still to be tested in parallel, it
 has been tested for Gamma vs 0 0 0 and for nspin=1 and 2. Forces seem
 to be ok. In the few cases considere there is no significant increase
 of workload with respect to the periodic calculation.

 plot_io.f90 moved from PP to flib because it may be needed
 in PW/martyna_tuckeman.f90 for debugging and in this way circular
 references are avoided. It only USE low-level modules like io_global,
 kinds, and constants so it should be ok.

 Module ws_base.f90 added in Modules. It deals with basic operations
 associated to Wigner-Seitz cell. The implementation should be general;
 it has been tested for SC and FCC only.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5911 c92efa57-630b-4861-b058-cf58834340f0
2009-09-09 12:59:40 +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 54d31284f8 Removed SHMEM, Makefiloes and make.depend updated; lenght => length ; misc
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5814 c92efa57-630b-4861-b058-cf58834340f0
2009-08-04 14:34:32 +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 fdd5b2ca68 More references to removed file
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5743 c92efa57-630b-4861-b058-cf58834340f0
2009-07-23 12:18:16 +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 fd7a11d0dc There can be conflicts between the erf and erfc in QE and those provided
by external libraries (e.g. recent ESSL). In order to prevent such problems,
erf has been renamed qe_erf and erfc qe_erfc


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5644 c92efa57-630b-4861-b058-cf58834340f0
2009-07-08 10:29:32 +00:00
giannozz 04fda6d053 Makefiles updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5608 c92efa57-630b-4861-b058-cf58834340f0
2009-06-15 08:28:43 +00:00
ccavazzoni d2ad7f7f23 - adding module wrappers.o
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5505 c92efa57-630b-4861-b058-cf58834340f0
2009-04-05 07:58:54 +00:00
giannozz 3675de688a #ifdef __INTEL moved inside clib/stack.c .The C code used to be compiled
in all cases, causing problems in at least one obscure software configuration


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5482 c92efa57-630b-4861-b058-cf58834340f0
2009-03-25 15:11:41 +00:00
giannozz e869b8a432 erfc set to external, i.e. the one in erf.f90 - the system erfc on some
versions of some compilers is not accurate enough, or not at all


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5441 c92efa57-630b-4861-b058-cf58834340f0
2009-02-23 17:44:13 +00:00
giannozz 0c17468d9c More h_psi and s_psi cleanup and harmonization. There shouldn't be any
side effects, but who knows


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5430 c92efa57-630b-4861-b058-cf58834340f0
2009-02-17 11:43:48 +00:00
degironc d3ebcd964d additions to makefile files needed by the new DFT+DMFT part
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5398 c92efa57-630b-4861-b058-cf58834340f0
2009-02-12 08:09:57 +00:00
giannozz 27c6cdf10e 1) Non scf calculations use atomic positions from the data filem no longer
those provided in input. I think that this is the correct behaviour and that
the previous one was a source of trouble and of useless additional work.
I cannot see any reason why one should perform a non scf calculation with
one set of atomic positions and the scf potential relative to a different one.
2) After a reshuffling of input.f90 (which has become a mess beyond control),
the check on starting_magnetization works again. input.f90 should be
rewritten like the corresponding routine of CP. 3) Dependencies updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5370 c92efa57-630b-4861-b058-cf58834340f0
2009-02-04 09:41:18 +00:00
dalcorso 8c4826bb19 Further cleanup.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5352 c92efa57-630b-4861-b058-cf58834340f0
2009-01-15 16:55:41 +00:00
giannozz be76efc343 More cleanup (?): modules "uspp" and "symme" extracted from "pwcom"
everywhere. I didn't like the previous half-baked state.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5128 c92efa57-630b-4861-b058-cf58834340f0
2008-08-23 17:55:06 +00:00
giannozz 2e1131b0be Fixed yesterday's commit
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5127 c92efa57-630b-4861-b058-cf58834340f0
2008-08-23 08:00:36 +00:00
giannozz eac102ea22 Updated Makefiles. a) a target name should not coincide with a directory
name (remember tha some machines like Mac OSX have case-insensitive file
systems! ee == EE) b) some linkers require an explicit presence of all
modules in the list of files to be linked


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5001 c92efa57-630b-4861-b058-cf58834340f0
2008-06-18 15:08:53 +00:00
giannozz c85f1c444e Minor changes tothe qexml file format, by AF: in particular, added the
flag reporting whether only half G-vector sphere is present (not
actually used in q-e but it may be useful for other codes). make.depend
updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4819 c92efa57-630b-4861-b058-cf58834340f0
2008-04-18 12:29:55 +00:00
cavazzon c3fe9dd438 - reduce substituted by mp_sum
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4793 c92efa57-630b-4861-b058-cf58834340f0
2008-04-12 16:12:49 +00:00