Commit Graph

57 Commits

Author SHA1 Message Date
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
dalcorso 46c27ea447 bands.f90 updated to the new becp_type.
The option no_overlap should now work with pools.
Bug fix: The option lsym=.false. was not working any more.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5975 c92efa57-630b-4861-b058-cf58834340f0
2009-09-28 12:34:20 +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
dalcorso a2b5ab5e50 Minor partial cleanup. Many routines declared unused variables. Many others
could be cleaned.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5445 c92efa57-630b-4861-b058-cf58834340f0
2009-02-25 15:58:53 +00:00
dalcorso 6353f8a06b Bands + pools.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4931 c92efa57-630b-4861-b058-cf58834340f0
2008-05-15 13:13:39 +00:00
dalcorso 70ad199b1f Bands.x can now write on file the bands without changing their order.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4673 c92efa57-630b-4861-b058-cf58834340f0
2008-02-02 14:12:13 +00:00
dalcorso 494c3c872d Cleanup. init_us_1 and newd are now called by read_file.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4588 c92efa57-630b-4861-b058-cf58834340f0
2008-01-02 14:53:49 +00:00
giannozz 5aab624726 More <beta|psi> cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4508 c92efa57-630b-4861-b058-cf58834340f0
2007-12-06 10:07:30 +00:00
dalcorso ea2ccc3235 tvanp --> upf%tvanp.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4450 c92efa57-630b-4861-b058-cf58834340f0
2007-11-20 08:27:33 +00:00
giannozz 1c7068430a Handling of input errors in all postprocessing codes was incorrect in
parallel execution (please verify)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4342 c92efa57-630b-4861-b058-cf58834340f0
2007-10-15 16:33:28 +00:00
dalcorso 23a8a73ac3 The variables needed to constrain the magnetization written in the punch
file. The ph.x, pwcond.x, pp.x and bands.x codes now stop if pw.x has
been run with constrained magnetization.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4083 c92efa57-630b-4861-b058-cf58834340f0
2007-07-28 16:40:41 +00:00
dalcorso 2a8b254cc8 The ph.x, bands.x and pp.x now check that pw.x has been run with the same
number of processors.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4051 c92efa57-630b-4861-b058-cf58834340f0
2007-07-21 16:25: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 1e235af88b More patches by Axel: all occurrences of "index" replaced by "idx".
"index" is an instrinsic and shouldn't be used as a variable.
control-M characters removed from qexml.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3585 c92efa57-630b-4861-b058-cf58834340f0
2006-12-01 14:41:55 +00:00
giannozz 914e901c3d Wavefunctions in pwscf are stored also for the noncollinear case
as the usual two-index array evc(2*npwx,nbnd), no longer as a
different three-index array evc_nc(npwx,2,nbnd).

I am not really sure that this way is better than the previous
one: sometimes it is more convenient, sometimes it is less, but
I think that having the same array makes easier the transition
to a code that keeps everything in memory. Apologies to anybody
preferring three indices: anyway the physical memory layout
hasn't changed, so the transition from three-index to two-index
arrays shouldn't be a major problem


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3572 c92efa57-630b-4861-b058-cf58834340f0
2006-11-27 12:47:25 +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
dalcorso 387ba36fe2 Small changes. Now if nat=0 and ntyp=0 pw.x gives the bands of the free
electrons gas.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3388 c92efa57-630b-4861-b058-cf58834340f0
2006-09-14 09:55:56 +00:00
dalcorso c88cc0e8e5 Small fix and changes. In some cases plotband did not find all the
high symmetry points. When lsym=.true. bands.x does not use any more
the old algorithm to order the bands.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3360 c92efa57-630b-4861-b058-cf58834340f0
2006-09-06 10:03:51 +00:00
dalcorso 1b02c150c9 Small change. The symmetry analysis can be limited to a few k points.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3358 c92efa57-630b-4861-b058-cf58834340f0
2006-09-01 16:23:10 +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
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 d30c8d027b Improved algorithm.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2922 c92efa57-630b-4861-b058-cf58834340f0
2006-03-16 15:37:22 +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 0d6fa99b88 Added check on the presence of a slash at the end of outdir everywhere.
Since it is done in 100 places, I added a small function 'trimcheck'


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2749 c92efa57-630b-4861-b058-cf58834340f0
2006-01-31 17:22:28 +00:00
dalcorso 33c97ffce1 Bands.x calculates the expectation value of the spin operator on each
spinor wave-function.
(A. Smogunov and ADC)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2427 c92efa57-630b-4861-b058-cf58834340f0
2005-11-07 11:07:36 +00:00
dalcorso 4935c333a2 Bug fix: sometimes bands was not working in the noncollinear case.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2412 c92efa57-630b-4861-b058-cf58834340f0
2005-11-02 15:53:46 +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
dalcorso 8bad2898c6 Added a check on spin_component.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2132 c92efa57-630b-4861-b058-cf58834340f0
2005-08-26 09:31:58 +00:00
giannozz acc9136f3c New routine input_from_file called everywhere
Untested changes to ELF for the case US + double grid
(the kinetic energy density is still incorrect but less than before)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1947 c92efa57-630b-4861-b058-cf58834340f0
2005-06-09 07:34:11 +00:00
dalcorso 1f933400db Small bug fix.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1746 c92efa57-630b-4861-b058-cf58834340f0
2005-03-23 16:32:45 +00:00
dalcorso f876c90b57 Small bug fix: The number of k points was not written correctly in some cases.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1744 c92efa57-630b-4861-b058-cf58834340f0
2005-03-23 15:41:55 +00:00
dalcorso 8c6c6329ef Bands.f90 generalized. Now it can deal with also with the LSDA,
the noncolinear and the spin-orbit case.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1543 c92efa57-630b-4861-b058-cf58834340f0
2005-01-05 17:42:55 +00:00
sbraccia b64cec03f3 Old parallel variables (such as me mypool) removed from PP.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1416 c92efa57-630b-4861-b058-cf58834340f0
2004-11-03 13:49:16 +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
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 97e28817f3 parallel_include missing and other small things
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1002 c92efa57-630b-4861-b058-cf58834340f0
2004-06-25 15:01:44 +00:00
giannozz 45760a7a5f More T3E glitches: getarg must be preprocessed
|| instead of | in clib/cp.h


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@985 c92efa57-630b-4861-b058-cf58834340f0
2004-06-21 14:13:24 +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
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
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
ballabio ec7882d5e1 Added support for "program -in input"
where program = pp.x, chdens.x, bands.x [Gerardo]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@922 c92efa57-630b-4861-b058-cf58834340f0
2004-05-27 16:12:42 +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
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
giannozz ab5ffd7887 Minor things
Tuesday morning the package will be released - please check that
everything is in good standing


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@590 c92efa57-630b-4861-b058-cf58834340f0
2004-02-12 17:18:41 +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
giannozz 183a01bc5e Check on undefined variables, out-of-bound arrays
Several implicit none re-added, pwcom modules split


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@466 c92efa57-630b-4861-b058-cf58834340f0
2004-01-06 10:53:30 +00:00
giannozz 9c97c84c9c Compilation problems (residual "units" modules) fixed
Documentation and ChangeLog updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@384 c92efa57-630b-4861-b058-cf58834340f0
2003-11-10 08:30:54 +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
giannozz e7b0ce982f Gamma code cleanup: becp is allocated when used and then deallocated,
obsolete module gamma removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@353 c92efa57-630b-4861-b058-cf58834340f0
2003-10-29 14:05:29 +00:00