Commit Graph

1246 Commits

Author SHA1 Message Date
paulatto b432292265 Removing debug edit that slipped in last commit.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6132 c92efa57-630b-4861-b058-cf58834340f0
2009-11-10 12:58:00 +00:00
paulatto 564863b4a7 Wrong estimate of the maximum distance of two atoms in PBC corrected.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6131 c92efa57-630b-4861-b058-cf58834340f0
2009-11-10 12:51:55 +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
giannozz 600e968aa9 Argh...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6112 c92efa57-630b-4861-b058-cf58834340f0
2009-11-06 20:03:19 +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 078bc34b68 Startup of MPI processes of CP and PW merged - beware side effects!
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6060 c92efa57-630b-4861-b058-cf58834340f0
2009-10-20 16:01:22 +00:00
giannozz 9dcdcb6172 ortho_para removed from input variables (it has been declared obsoclescent
since a long time)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6047 c92efa57-630b-4861-b058-cf58834340f0
2009-10-19 19:56:33 +00:00
giannozz d7357d5cd9 Mior (but potentially dangerous) changes to parallel initialization:
most of what was in PW/startup.f90 moved into Modules/mp_global.f90 in
view of a merge with CP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6037 c92efa57-630b-4861-b058-cf58834340f0
2009-10-18 17:48:34 +00:00
giannozz eb9abe588c Yet another fix (hopefully the last one) to parallelism in DFT-D.
Courtesy of Daniel Forrer


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5988 c92efa57-630b-4861-b058-cf58834340f0
2009-10-01 09:01:20 +00:00
giannozz 3aaaf770f9 Bug fix: DFT-D wasn't working with pools
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5983 c92efa57-630b-4861-b058-cf58834340f0
2009-09-29 15:24:29 +00:00
giannozz 26ec9c411b Yesterday's commit had a bug that affected NEB. Some cleanup.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5973 c92efa57-630b-4861-b058-cf58834340f0
2009-09-27 04:12:20 +00:00
giannozz 1bd3370701 Namelist &phonon and related variables removed from PWscf. It wasn't working
any longer since a long time. Documentation and GUI updated (no warranty the
latter works). Further cleanup of nelec, neldw, nelup in the documentation


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5968 c92efa57-630b-4861-b058-cf58834340f0
2009-09-24 19:44:04 +00:00
dalcorso 655c197ab5 Routines write_q, write_control_ph, write_status_ph moved to ph_restart.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5964 c92efa57-630b-4861-b058-cf58834340f0
2009-09-22 14:51:54 +00:00
ccavazzoni 258eb13bd8 - calculation = 'fpmd' is going to be dropped, since
'fpmd' has been completely merged with 'cp'.
  Now cp.x stops with an error when fpmd is specified.
  For the time being the fpmd main is kept in the repository.

- Computation of empty states is going to dropped
  (PW at gamma can be used to compute empty states as well,
   and it can restart from CP wavefunctions )
  Now cp.x stops with an error inviting the user to use pw.x instead.
  For the time being the empty states module is kept in the repository.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5957 c92efa57-630b-4861-b058-cf58834340f0
2009-09-19 17:25:32 +00:00
degironc 4c1a5e47c8 variables nelec, nelup and neldw removed from input
now only tot_charge, tot_magnetization (REAL!) and multiplicity are available.
documentation updated
inputs in examples, tests and cptest updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5949 c92efa57-630b-4861-b058-cf58834340f0
2009-09-18 13:30:27 +00:00
degironc 7d5ba4b623 input management of the assume_isolated case modified.
Now assume_isolated is a character variable with values 'none' (default), 'makov-payne', 'dcc', or 'martyna-tuckerman'.
 do_ee and which_compensation variables no longer in the input.
 Details in the INPUT_PW.* files.
 cluster_example and tests/cluster?.in also updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5935 c92efa57-630b-4861-b058-cf58834340f0
2009-09-15 20:29:07 +00:00
marsamos d212b0c605 add module coulomb_vcut for EXX div (G. Bussi, A. Ferretti, L. Martin-S)
add plugins dir (and related modif to Makefile) for "external applications"
add released wannier90 (from www.wannier90.org) in plugins
small modif exx example
small bug fixed in nscf calc save_in_cbands for compilation with -DEXX


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5927 c92efa57-630b-4861-b058-cf58834340f0
2009-09-13 16:48:24 +00:00
giannozz 521bebd841 Removed unused module
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5912 c92efa57-630b-4861-b058-cf58834340f0
2009-09-09 13:17:28 +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
degironc fbce289a84 just a small output formatting change
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5910 c92efa57-630b-4861-b058-cf58834340f0
2009-09-09 12:48:26 +00:00
giannozz 38a9d2f6f0 Last commit of yesterday wasn't such a great idea after all
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5909 c92efa57-630b-4861-b058-cf58834340f0
2009-09-09 08:51:49 +00:00
giannozz f43149e546 Subroutine read_card split into read_cards_cp and read_cards_pw.
No advantage at this stage, but once these routines are moved into
CP/ and  PW/ respectively, linking the autopilot module in PWscf
is no longer needed.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5908 c92efa57-630b-4861-b058-cf58834340f0
2009-09-08 19:22:49 +00:00
ccavazzoni ec64b62b84 - obsolete parameter removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5903 c92efa57-630b-4861-b058-cf58834340f0
2009-09-08 14:44:42 +00:00
ccavazzoni 5d3b612cf1 - obsolete FPMD cards removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5899 c92efa57-630b-4861-b058-cf58834340f0
2009-09-08 14:11:59 +00:00
ccavazzoni 2525446522 - "medium" verbosity level added to the list
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5890 c92efa57-630b-4861-b058-cf58834340f0
2009-09-06 17:23:52 +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
ccavazzoni 164b24df69 - duplicated subroutines removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5859 c92efa57-630b-4861-b058-cf58834340f0
2009-08-23 09:06:08 +00:00
paulatto df81711c1e Inserted iuntmp=90 to be used for closing and deleting files at the end of
calculation (previously unit=4 was hardcoded and could possibly conflict
with other parts of code)
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5857 c92efa57-630b-4861-b058-cf58834340f0
2009-08-22 10:24:56 +00:00
giannozz 74da5fa6b6 The pathscale compiler doesn't like routine "synchronize", apparently due
to a name conflict. "synchronize" renamed to a less generic "mp_synchronize"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5851 c92efa57-630b-4861-b058-cf58834340f0
2009-08-19 20:09:26 +00:00
ccavazzoni 0f39e828ba - sticks/pencils distribution report, now display only
min max and total number of sticks


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5823 c92efa57-630b-4861-b058-cf58834340f0
2009-08-05 15:14:15 +00:00
ccavazzoni 0ff63b9fd6 - compatibility with odd compilers
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5819 c92efa57-630b-4861-b058-cf58834340f0
2009-08-04 15:11:17 +00:00
giannozz 00dc81ac65 Oops...incorrect syntax
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5818 c92efa57-630b-4861-b058-cf58834340f0
2009-08-04 15:01:40 +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 244b5e412e Last remains of T3E support removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5812 c92efa57-630b-4861-b058-cf58834340f0
2009-08-03 15:48:16 +00:00
giannozz caa0216245 f_defs.h removed, minor updates to the user guide on mixed OpenMP+MPI
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5801 c92efa57-630b-4861-b058-cf58834340f0
2009-08-02 18:39:48 +00:00
ccavazzoni 258054feb1 - forgotten "tscale" in ESSL
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5800 c92efa57-630b-4861-b058-cf58834340f0
2009-08-02 09:48:48 +00:00
ccavazzoni 7503af2318 - cleanup of FFT+OpenMP stuff ...
tested: internal FFTW (__FFTW) + OpenMP, ACML multithread (__ACML), ESSL multithread (__ESSL)
  In all other cases for hybrid MPI+OpenMP the internal FFTW is recommended .
  multithreaded internal FFTW is faster than ACML (on opteron dual core)
  and slower than ESSL . So I would say that for hybrid parallelism
  use internal FFTW + OpenMP a part where ESSL multithread (esslsmp) are available.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5799 c92efa57-630b-4861-b058-cf58834340f0
2009-08-02 07:44:03 +00:00
giannozz 190ca1a6b6 More standardization to the "Quantum ESPRESSO" form
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5795 c92efa57-630b-4861-b058-cf58834340f0
2009-08-01 20:50:09 +00:00
giannozz 59ffc845b2 There were a few occurrences of REAL(something) with no explicit cast, i.e.
REAL(something,kind=DP). This is dangerous: REAL truncates to single precision.
DBLE should be used instead: it is what is used everywhere in the rest of the
code and unlike REAL can be easily localized using grep


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5792 c92efa57-630b-4861-b058-cf58834340f0
2009-08-01 17:28:27 +00:00
giannozz a3a39fc998 Cleanup: uniform spelling for "Quantum ESPRESSO", removal of f_defs.h,
CMPLX is explicitly typed, blas/lapack are lowercase (consistently with
the convention: FORTRAN COMMANDS = uppercase, all the rest lowercase)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5789 c92efa57-630b-4861-b058-cf58834340f0
2009-08-01 14:26:46 +00:00
dalcorso 8d78ac3c1a Introduced a new input variable: one_atom_occupations. If .true. the
occupations 'from_input', specify the occupations of the initial
atomic wavefunctions.
The bands are occupied according to their projections on the initial atomic
wavefunctions. Used to simulate isolated (possibly nonspherical) atoms.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5778 c92efa57-630b-4861-b058-cf58834340f0
2009-07-30 15:47:47 +00:00
ccavazzoni 91785f0990 - more on FFT driver for NEC SX machines.
Thanks to Harald Klimach (HLRS)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5774 c92efa57-630b-4861-b058-cf58834340f0
2009-07-29 16:01:35 +00:00
ccavazzoni 7516116d1b - OpenMP driver for ESSL that relys only on internal multithreading
of ESSL. No explicit OpenMP directives are used, it should then be
  safe to use OpenMP and esslsmp together.
  At least on BlueGene/P it works.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5773 c92efa57-630b-4861-b058-cf58834340f0
2009-07-29 15:17:57 +00:00
ccavazzoni a38d2ff9f3 - better omp parallelization for paw_onecenter
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5763 c92efa57-630b-4861-b058-cf58834340f0
2009-07-29 12:30:53 +00:00
ccavazzoni 8d5ebc1b09 - bug fix, wrong call to FFT driver for vector NEC SX machines
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5762 c92efa57-630b-4861-b058-cf58834340f0
2009-07-29 12:27:00 +00:00
ccavazzoni 2e261d0e1f - more vector drivers, they give better performance on vector machines
but also on Intel processors with vector units.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5757 c92efa57-630b-4861-b058-cf58834340f0
2009-07-26 19:03:42 +00:00
ccavazzoni 1b3762bbe5 - workaround for a problem with the FFT driver on NEC SX machine
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5754 c92efa57-630b-4861-b058-cf58834340f0
2009-07-26 07:43:56 +00:00
giannozz 6adcd22a9c Minor cleanup in fft. The special case of 3-dimensional "stick" FFT
(for wavefunctions) is not implemented for some exotic cases (scsl and
sunperf libraries, nec sx). This is now hidden into Modules/fft_scalar.f90
instead of appearing in cft3/cft3/fwfft/invfft interfaces called by codes.
It shouldn't make any difference for most common cases; it should just add
an intermediate call to a wrapper routine in the exotic cases. Tab removed.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5751 c92efa57-630b-4861-b058-cf58834340f0
2009-07-24 16:03:57 +00:00