Commit Graph

1678 Commits

Author SHA1 Message Date
giannozz ac8e7c2103 augmentation charges in real space (tqr=.true.) and k-point
parallelization (pools) was not working due to bogus check


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5760 c92efa57-630b-4861-b058-cf58834340f0
2009-07-27 16:51:24 +00:00
ccavazzoni 6d44eb9db9 - added support for vector XC drivers
- more MPI and OpenMP parallelizations


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5758 c92efa57-630b-4861-b058-cf58834340f0
2009-07-26 19:05:44 +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
ccavazzoni b7c1427ea7 - new way of distributing data...
if the number of processors are less or equal the number of atoms,
  nothing is changed... atoms are distributed to processors
  if the number of processors is greater than the number of atoms
  the same atom can be assigned to more than one processor so that
  the work for each atom can be shared.
  All this is required for scalability of PAW simulation
- OMP parallelization


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5750 c92efa57-630b-4861-b058-cf58834340f0
2009-07-24 13:36:01 +00:00
ccavazzoni ce307623d3 - new way of distributing data...
if the number of processors are less or equal the number of atoms,
  nothing is changed... atoms are distributed to processors
  if the number of processors is greater than the number of atoms
  the same atom can be assigned to more than one processor so that
  the work for each atom can be shared.
  All this is required for scalability of PAW simulation


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5749 c92efa57-630b-4861-b058-cf58834340f0
2009-07-24 13:31:47 +00:00
ccavazzoni 91bd0543b2 - bug fix, problem with a recent commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5746 c92efa57-630b-4861-b058-cf58834340f0
2009-07-24 10:39: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
ccavazzoni f5fb5355c2 - vxc_t and exc_t replaced by vxc_t_vec and exc_t_vec
for better performances


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5735 c92efa57-630b-4861-b058-cf58834340f0
2009-07-22 14:38:44 +00:00
paulatto 67b6ecac6d Fixed subroutine name in call to errore
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5726 c92efa57-630b-4861-b058-cf58834340f0
2009-07-21 09:03:50 +00:00
ccavazzoni b2359146e1 - OpenMP parallelization, no fortran lines have been changed,
so no new bug is expected for non OpenMP build.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5719 c92efa57-630b-4861-b058-cf58834340f0
2009-07-19 21:10:32 +00:00
ccavazzoni fd57cd39a5 - further OpenMP parallelization, no fortran lines have been changed,
so no new bug is expected for non OpenMP build.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5718 c92efa57-630b-4861-b058-cf58834340f0
2009-07-19 21:08:58 +00:00
degironc 1cb5257e94 definition of volume element corrected
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5717 c92efa57-630b-4861-b058-cf58834340f0
2009-07-18 19:06:24 +00:00
giannozz 4f3f218e3e format increased to deal with > 1000 processors
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5691 c92efa57-630b-4861-b058-cf58834340f0
2009-07-16 06:26:03 +00:00
giannozz b62ff28512 Dimmok -> Dimmock ; better message, repeated only once, when fractional
translations are disabled


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5652 c92efa57-630b-4861-b058-cf58834340f0
2009-07-10 12:57:37 +00:00
dalcorso 1a71987d16 A few signs in the double group character tables of C_3 and S_6 have been
changed.
The new signs agree with the tables of Koster, Dimmok, Wheeler, Statz,
Properties of the 32 point groups, and differ from those of
Koster, Space groups and their representations that were implemented so far.
In at least one example the former are correct. If somebody has evidence
that previous signs were correct, please provide an example.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5650 c92efa57-630b-4861-b058-cf58834340f0
2009-07-09 16:51:01 +00:00
ccavazzoni b12b1a5d42 - workaround for a weird IBM xlf bug
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5649 c92efa57-630b-4861-b058-cf58834340f0
2009-07-09 16:22:41 +00:00
giannozz 2519c47136 Tabulators and unused variables removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5647 c92efa57-630b-4861-b058-cf58834340f0
2009-07-09 16:07:21 +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 f875ab8a1a Minor changes, make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5640 c92efa57-630b-4861-b058-cf58834340f0
2009-07-03 18:11:20 +00:00
giannozz 2b1435345d Modified algorithm by SdG implemented by default instead of the original
one. There are cases in which the former works nicely and the latter
loses the symmetry: not great for a symmetry=preserving method.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5638 c92efa57-630b-4861-b058-cf58834340f0
2009-07-03 18:08:30 +00:00
paulatto ac8f11b4b3 #include "f_defs.h" was missing in this file (and possibly in many others)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5633 c92efa57-630b-4861-b058-cf58834340f0
2009-06-29 16:07:35 +00:00
degironc a19d4e679a correction of a bug introduced with the new treatment of dipolar correction
and macroscopic field in a slab.
There is still a ~ 1.d-4 Ry difference in the total energy of the test example
to be investigated.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5630 c92efa57-630b-4861-b058-cf58834340f0
2009-06-27 20:45:51 +00:00
degironc 92279bc69a Reformulation of the dipole and macroscopic electric field treatment in slab
calculations using a unique saw(x) function (included in cell_base) in
all e-field related routines (energy, potential, forces, ..) and inclusion
of a macroscopic electronic dipole contribution in the mixing scheme.
This should solve charge sloshing problems that appeared with the prevous
version in metallic slabs.

Riccardo Sabatini and Stefano deGironcoli


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5627 c92efa57-630b-4861-b058-cf58834340f0
2009-06-25 14:06:04 +00:00
degironc ee320dd7d4 default value for localized orbital occupation number and angular momentum defined
for all transition metalls and rare earth elements.
 sdg


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5626 c92efa57-630b-4861-b058-cf58834340f0
2009-06-25 13:33:38 +00:00
giannozz cc77731fb5 Added check for unimplemented case: exact exchange/hybrids + USPP/PAW
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5624 c92efa57-630b-4861-b058-cf58834340f0
2009-06-25 10:16:28 +00:00
giannozz e9fcfb8b9b Yet another input option: remove symmetries with fractional translations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5620 c92efa57-630b-4861-b058-cf58834340f0
2009-06-19 13:40:43 +00:00
dalcorso eed6d8ce91 Added a check to stop the code if dr2 is negative.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5619 c92efa57-630b-4861-b058-cf58834340f0
2009-06-19 13:33:54 +00:00
paulatto 0aabff94b5 In the NEB and other path calculations, the restart files are not saved in
"outdir/" but in "outdir/prefix_#/". Furthermore, if using more than one
image, the processor ID nd_nmbr is repeated for each image.
As a consequence, at the end of the calculation, pw.x tries to delete the
restart files several time concurrently, crashing.
This is a temporary fix, as a way to delete the files properly should
be found. All the other file deletions are also wrong, but not harmful;
probably the entire stop_run is innapropriate for multi-image optimization
(i.e. it calls io_path_stop which has just been called directly by pwscf!).
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5617 c92efa57-630b-4861-b058-cf58834340f0
2009-06-18 08:38:21 +00:00
giannozz 47962d79bd B field temporarily disabled
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5616 c92efa57-630b-4861-b058-cf58834340f0
2009-06-18 06:06:33 +00:00
ccavazzoni 91f8899bc4 - bug fix, OpenMP parallelization: missing !$omp barrier
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5615 c92efa57-630b-4861-b058-cf58834340f0
2009-06-17 15:17:22 +00:00
ccavazzoni 522c49ed2a - bug fix, OpenMP parallelization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5614 c92efa57-630b-4861-b058-cf58834340f0
2009-06-17 14:28:38 +00:00
ccavazzoni 4a565880a2 - bug fix in OpenMP parallelization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5613 c92efa57-630b-4861-b058-cf58834340f0
2009-06-16 12:10:32 +00:00
giannozz a9b90b1714 The makefile for dft-d wasn't really doing what was expected
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5606 c92efa57-630b-4861-b058-cf58834340f0
2009-06-15 08:19:47 +00:00
paulatto 90dc290305 Circular dependency removed (offending subroutine moved to PP/paw_postproc.f90)
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5604 c92efa57-630b-4861-b058-cf58834340f0
2009-06-15 07:54:05 +00:00
ccavazzoni 089fddde49 - when OpenMP parallelism is used print out the total number
of CPU cores, the number of MPI processes and the number of threads
  per process


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5603 c92efa57-630b-4861-b058-cf58834340f0
2009-06-14 19:27:09 +00:00
ccavazzoni 9d8213b1e1 - change output format for energies, from 15.8 to 17.8
this is because for large systems with thousands of atoms and electrons
  one can get only "******"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5602 c92efa57-630b-4861-b058-cf58834340f0
2009-06-14 19:25:39 +00:00
giannozz 4541ba4cbd Added DFT-D, i.e. plus semiempirical dispersions (courtesy of Daniel Forrer)
Example and documentation still missing, coming soon


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5599 c92efa57-630b-4861-b058-cf58834340f0
2009-06-14 19:05:55 +00:00
giannozz 54d8ba0a29 Yesterday's commit wasn't complete: a check had to be changed.
By the way, it seems to me that a more straightforward approach would be:
'relax' and 'vc-relax': use bfgs, ignore ion_dynamics and cell_dynamics
'md', 'vc-md': use molecular dynamics, either free or damped


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5598 c92efa57-630b-4861-b058-cf58834340f0
2009-06-13 06:52:48 +00:00
paulatto 7a598df0b9 Added plot of all-electron valence charge for PAW, still undocumented it
can be accessed with plot_num=15.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5597 c92efa57-630b-4861-b058-cf58834340f0
2009-06-12 15:38:03 +00:00
giannozz b19d97e479 Minor change suggested by AF: file data-file.xml is not deleted but renamed
when a non-scf calculation is started.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5592 c92efa57-630b-4861-b058-cf58834340f0
2009-06-11 06:25:11 +00:00
paulatto c75d603d2e A few modifications trying to make input parsing more user-friendly:
1. added error handling for card_atomic_species
   (ntyp too large produced funny but cryptic errors)
2. added visual feedback for parsing of costraints
   (unless they are used for collective-variables constraints does give no
    feedback during the entire calculation)
3. added a print of "waiting for input" just before actually reading it
   (trying to reduce the number of "pw.x does nothing" requests for support)
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5577 c92efa57-630b-4861-b058-cf58834340f0
2009-06-04 08:17:58 +00:00
giannozz 78b0565b4b Dependencies updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5572 c92efa57-630b-4861-b058-cf58834340f0
2009-06-02 13:25:40 +00:00
ccavazzoni f1c391fa58 - OpenMP parallelization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5567 c92efa57-630b-4861-b058-cf58834340f0
2009-05-24 17:33:58 +00:00
dalcorso a804f0ff18 Small change. Avoid to write a noninitialized string in the xml file.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5564 c92efa57-630b-4861-b058-cf58834340f0
2009-05-21 08:25:57 +00:00
paulatto dfc48e22c9 No need to reprint the cell in fixed cell relax when convergence is reached
furthermore, I suspect this is causing problems when comverting output to
xcrysden animation.
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5560 c92efa57-630b-4861-b058-cf58834340f0
2009-05-14 13:18:59 +00:00
sclauzer 82194aa262 Fixed set_hubbard_l.f90 and tabd.f90 in order for LDA+U to work properly also with UPFv2 (atomic species with single character names were not recognized).
Set the default for Hubbard_l to -1 instead of 0 for the atomic species with U=0.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5555 c92efa57-630b-4861-b058-cf58834340f0
2009-05-08 08:28:39 +00:00
dalcorso 235f4099fc Bugs fix: two allocated, unused and nondeallocated variables removed.
Added two missing deallocations.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5539 c92efa57-630b-4861-b058-cf58834340f0
2009-04-30 16:13:36 +00:00
paulatto 90988a70fb No need to print every time that PAW data is being deallocated... (now it
will only be printed for iverbosity>0)
LP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5538 c92efa57-630b-4861-b058-cf58834340f0
2009-04-29 15:42:30 +00:00
giannozz b09643e188 Misleading error message
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5532 c92efa57-630b-4861-b058-cf58834340f0
2009-04-28 08:48:18 +00:00