Commit Graph

130 Commits

Author SHA1 Message Date
kkudin a914e9ea61 Added a new thermostat type (nhptyp=3) with a control array 'nhgrp',
allowing fine control over how thermostats are assigned to atoms
 Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3226 c92efa57-630b-4861-b058-cf58834340f0
2006-06-29 22:43:58 +00:00
dalcorso fd2773e9d7 Introduced the possibility to stop (with max_seconds) and restart a band calculation.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3224 c92efa57-630b-4861-b058-cf58834340f0
2006-06-29 15:14:38 +00:00
dalcorso 1d5f975857 Added missing bcast of the tqr variable. Cleanup of newd_nc.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3210 c92efa57-630b-4861-b058-cf58834340f0
2006-06-27 16:06:52 +00:00
cavazzon 9ec273c46c - removed unused variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3206 c92efa57-630b-4861-b058-cf58834340f0
2006-06-26 07:43:12 +00:00
giannozz 65a7670b85 Minor cleanup of unused variables and of constants
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3202 c92efa57-630b-4861-b058-cf58834340f0
2006-06-23 13:46:13 +00:00
sbraccia b236c0cc47 Added a logical flag (remove_rigid_rot) used to remove the total torque acting
on the system (useful to simulate an isolated system). Documentation updated.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3180 c92efa57-630b-4861-b058-cf58834340f0
2006-06-15 14:27:14 +00:00
sbraccia 3b9472b1a9 Fixed two bugs (one related to the removal of the prefix.md file, the other to
the extrapolation of the charge) in the restart procedure of a MD run.
Added a control flag in the restart file used to verify if the file contains
consistent information that can be used for post-processing.
Cleanup of unused features and variables.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3163 c92efa57-630b-4861-b058-cf58834340f0
2006-06-07 02:01:57 +00:00
cavazzon c021112ee3 - Cray XD1 workaround for large communication
- BGL porting of CP almost complete. New command
  line argument "-ntask_groups" to specify the
  number of task group used in parallelization.
  to generate an executable with BGL extensions,
  in the file make.sys the macro __BGL should
  be specified.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3069 c92efa57-630b-4861-b058-cf58834340f0
2006-05-03 14:19:57 +00:00
sbraccia ea0935fb5f Fixed a bug in the definition of the diagonalization thresholds for empty
states. This bug (introduced at the end of May 2005) was responsible for
somehow wrong results in the case of calculations with many k-points.
Cleanup of diagonalization thresholds: wg_set variable removed and btype array
is now set in sum_band.
Added a logical input variable (diago_full_acc) to decide if the empty states
(defined as states with occupation < 1%) have to be converged at full accuracy
or not. Defaul is .FALSE. (I am not sure this is the best choice, comments
appreciated).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3040 c92efa57-630b-4861-b058-cf58834340f0
2006-04-24 17:32:08 +00:00
sbraccia 463d1d0f03 Cleanup of NEB code. Climbing image implemented also for the string method.
Mariginal improvement of the broyden optimisation algorithm. The reference
output of example17 not yet regenerated.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3033 c92efa57-630b-4861-b058-cf58834340f0
2006-04-21 03:44:20 +00:00
cavazzon de345b52c3 - important bug fix, core correction in CP was not properly set,
the bug was introduced with the reorganization of the fft.
- NEB working with CP/FPMD (new calculation fpmd-neb added to check
  all the scf engines)
- Clean-ups


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2993 c92efa57-630b-4861-b058-cf58834340f0
2006-04-02 21:29:28 +00:00
sbraccia b7bd2b52ad Fixed bugs in the allocation of neb/string input arrays. Cleanup of unused
parameters. C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2990 c92efa57-630b-4861-b058-cf58834340f0
2006-04-02 00:28:20 +00:00
sbraccia 1572664412 Fixed a bug in the PLOT_WANNIER card. Dynamical allocation of input arrays for
neb and constraints moved into the appropriate routine.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2984 c92efa57-630b-4861-b058-cf58834340f0
2006-03-31 16:00:17 +00:00
sbraccia 9a2dc6cddf Added an input variable to refold the ionic coordinates into the supercell at
each step. Fixed a serious bug in overdamped Langevin dynamics.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2967 c92efa57-630b-4861-b058-cf58834340f0
2006-03-27 21:40:10 +00:00
cavazzon 26987d2472 - init_pool moved to mp_global (it is now used by CP too)
- further changes to support image parallelization in CP
- bug fix in XML save file for wave functions / charge density / pools .
  In siple case and combinations of procs and polls now it seem to work.
  More testing is required


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2963 c92efa57-630b-4861-b058-cf58834340f0
2006-03-26 17:14:44 +00:00
cavazzon e92ac1f08a - static array substituted with dynamic array, to reduce
memory requirements


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2951 c92efa57-630b-4861-b058-cf58834340f0
2006-03-23 18:00:12 +00:00
giannozz 0f1182cb72 calculations='bands' now does exactly what it is expected to do
LDA+U yields normalized values for projections even if the
atomic wavefunctions are not correctly normalized (Matteo C)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2942 c92efa57-630b-4861-b058-cf58834340f0
2006-03-22 18:58:38 +00:00
giannozz ca10d9a79f calculation='bands' introduced (but not finished)
leftover stuff from calculation='raman' removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2932 c92efa57-630b-4861-b058-cf58834340f0
2006-03-20 22:44:35 +00:00
sbraccia ef651ea048 Added the possibility of performing over-damped Langevin dynamics (PW only).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2903 c92efa57-630b-4861-b058-cf58834340f0
2006-03-10 22:31:18 +00:00
sbraccia da14a044fe Cleanup of NEB related stuff: unused variables and algorithms have been
removed. C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2858 c92efa57-630b-4861-b058-cf58834340f0
2006-03-01 19:57:03 +00:00
giannozz 25c8091e52 - workaround for mips compiler bug
- changed default for Wannier as suggested by Manu


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2809 c92efa57-630b-4861-b058-cf58834340f0
2006-02-14 14:15:28 +00:00
degironc 5298324b44 EXX: improved treatrmet of q+G=0 term
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2789 c92efa57-630b-4861-b058-cf58834340f0
2006-02-08 15:46:21 +00:00
umari 8418ec37e4 Added new paremeters for second Berry's phase electric field
(it's for Raman calculations)

P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2754 c92efa57-630b-4861-b058-cf58834340f0
2006-02-01 17:57:32 +00:00
sbraccia 07fe6e0fa4 New denomination of constraint types (now an identification string is used instead of
an index). Removed the two cases constrained_verlet and constrained_damp: a constrained
dynamics is automatically done if the CONSTRAINTS card is present. Added a keyword to
monitor the value of the constraints during the simulation. In this case the constraints are
not imposed.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2740 c92efa57-630b-4861-b058-cf58834340f0
2006-01-28 22:35:48 +00:00
sbraccia 0155b790f7 Added an input variable to specify the convergence threshold for variable-cell relaxations.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2729 c92efa57-630b-4861-b058-cf58834340f0
2006-01-25 13:33:56 +00:00
cavazzon 1a6b00bbb6 - FPMD/CP ortho subroutines merged as much as possible.
- Many ortho auxiliary functions (tauset, rhoset, sigset, calphi, updatc)
  are now in common between FPMD/CP, and moved to module ortho_base.f90
- In FPMD, three index vectors, related to real space like charge and potential
  have been substituted with single index vector like in CP, for compatibility
  and efficiency.
- Bug fix in pwtools/matdyn.f90 a logical variable was used in place of a
  character variable


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2694 c92efa57-630b-4861-b058-cf58834340f0
2006-01-10 14:04:13 +00:00
silviu 9c846a2acc bug fixed in the parallel execusion of cp/pw with the new input parameters
tot_charge/tot_magnetization/multiplicity. [silviu]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2677 c92efa57-630b-4861-b058-cf58834340f0
2006-01-02 12:07:18 +00:00
giannozz 3eff3fdaf4 More cleanup of error messages (too many checks on 'calculation'!)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2669 c92efa57-630b-4861-b058-cf58834340f0
2005-12-29 14:27:31 +00:00
giannozz 6361d04ab6 Cleanup of error messages
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2668 c92efa57-630b-4861-b058-cf58834340f0
2005-12-29 14:16:21 +00:00
giannozz 895a81b518 Electron-phonon calculation using Malgorzata's technique
Still preliminary and undocumented


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2652 c92efa57-630b-4861-b058-cf58834340f0
2005-12-28 10:42:31 +00:00
degironc a907073891 EXX should now work in parallel also for (nqx1,nqx2,nqx3) /= (1,1,1)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2607 c92efa57-630b-4861-b058-cf58834340f0
2005-12-19 13:00:38 +00:00
sbraccia bd5151b0a9 Extensive clean-up and reorganisation of meta-dynamics. The algorithm
implemented is the one described in PRL 92, 17061 (2004) and, at present, only
works at zero temperature.
The restart files are now written in xml format and are saved ina sub-directory
of the main "save" directory.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2562 c92efa57-630b-4861-b058-cf58834340f0
2005-12-07 04:22:30 +00:00
cavazzon 721359a455 - some updates about SIC for fpmd calculations
contributed by F.Baletto


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2559 c92efa57-630b-4861-b058-cf58834340f0
2005-12-06 14:55:23 +00:00
cavazzon 605be0555d - default values for nr1b nr2b nr3b set equal to 3,
this is required by the routine phfacs .
  now the code should not complain when this values
  are not specified in the input.
  A way to warn users to use sensible values for US pseudo
  is still missing.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2429 c92efa57-630b-4861-b058-cf58834340f0
2005-11-07 16:46:19 +00:00
degironc c209f8233b Modules/functionals.f90 modified.
The idea is that module funct contains data defining the DFT functional in use
and a number of functions and subroutines to manage them.
Data are PRIVATE and are (shuold be) accessed and set only by function calls.
Basic drivers to compute XC quantities are also included.

It should be the main place where definitions for and calculation of xc
functionals are centralized.

In CPV printout [A.U.] replaced by [HARTREE A.U.] in many places.

stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2411 c92efa57-630b-4861-b058-cf58834340f0
2005-11-02 15:42:06 +00:00
umari c299732584 Changed nberrycic --> nberrycyc
P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2370 c92efa57-630b-4861-b058-cf58834340f0
2005-10-25 23:11:53 +00:00
giannozz 201b68ac9a UMA => AMU everywhere . For people not speaking latin-derived languages
the connection between UMA and Atomic Mass Units is not obvious.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2359 c92efa57-630b-4861-b058-cf58834340f0
2005-10-25 13:08:29 +00:00
umari 28548c7288 Set default value of n_inner from 0 to 2
P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2343 c92efa57-630b-4861-b058-cf58834340f0
2005-10-21 22:57:21 +00:00
umari 3d492f0865 Added electric field Berry-phase style inputs for CP
P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2342 c92efa57-630b-4861-b058-cf58834340f0
2005-10-21 19:44:46 +00:00
kkudin 9e74e9e881 Renamed input 'nodedir' to 'wfcdir'
Fixed cases that do not know about 'wfcdir'
 Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2324 c92efa57-630b-4861-b058-cf58834340f0
2005-10-20 20:35:52 +00:00
sbraccia ba4d2bef4b Several bug-fix and clean-up.
NEB: removed unused variables; removed allocatable input arrays from input_parameters (to be
consistent with the rest of the input stuff) and replaced by static arrays.
XML: unit 99 used to read/write wfc's replaced by a call to iotk_free_unit.
constraints: the static array "fion" is passed as an array-section to constraint subroutines.
metadyn: fe_step must be defined as an array of "time-steps" (one for each deg-of-freedom).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2322 c92efa57-630b-4861-b058-cf58834340f0
2005-10-20 15:22:12 +00:00
kkudin 9ad446ea9e Added an input variable to PWSCF called 'nodedir'
If absent, it defaults to 'outdir'
Whatever files opened in openfil.f90 will be opened in 'nodedir' (wfc, igk, ...)
Everything else is unaffected
The idea is to make it easier to store large *.wfc files on nodes while keeping
the other files in a central location
The patch is minimally intrusive and only replaces temporarily a variable
in openfil.f90 ( this is an ugly but "clean" hack for now )
Please test if it does what is claimed
 Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2305 c92efa57-630b-4861-b058-cf58834340f0
2005-10-19 00:54:48 +00:00
sbraccia 14cacbea0c Small modifications in the metadynamics algorithm. Doc updated.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2291 c92efa57-630b-4861-b058-cf58834340f0
2005-10-15 23:27:47 +00:00
cavazzon df5e388d3c - fixed a problem with the charge written in restart dir, since
vofrho overwrites rhor, what was written in the restart was the
  potential and not the charge density.
- clean-up in input_parameters and INPUT_CP doc


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2248 c92efa57-630b-4861-b058-cf58834340f0
2005-10-01 16:04:41 +00:00
cavazzon 89fc5481fc - CP docs revised
- CP postprocessing ( cppp.x ) now properly read restart.xml and
  trajectory files to produce xcrysden files ( .xsf .axsf )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2235 c92efa57-630b-4861-b058-cf58834340f0
2005-09-26 15:56:23 +00:00
sbraccia 5e399e3a0b First experimental version of the Laio-Parrinello metadynamics. This implementation
is compatible with both PWscf and CP. Examples and documentation will follow.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2199 c92efa57-630b-4861-b058-cf58834340f0
2005-09-20 15:17:18 +00:00
cavazzon 41c665b82b - Executable fpmd.x no more built, new calculation "fpmd" added, to
execute cp.x with fpmd flavour
 - stress for LSD calculation fixed ( but more test required )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2190 c92efa57-630b-4861-b058-cf58834340f0
2005-09-18 23:49:24 +00:00
sbraccia 4e29b12a08 Fixed some errors in the BFGS relaxations that were mkaing the algorithm to
fail for some nasty system.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2185 c92efa57-630b-4861-b058-cf58834340f0
2005-09-17 02:14:39 +00:00
cavazzon f042695867 - added input parameter "refg" in the control namelist to set the
accurancy of the pseudopotential table for CP/FPMD (default values = 0.05Ryd)
  mmx now is calculated depending on refg and ecutrho


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2155 c92efa57-630b-4861-b058-cf58834340f0
2005-09-06 09:27:34 +00:00
giannozz 1e42e05f69 error (..., -1) => infomsg
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2142 c92efa57-630b-4861-b058-cf58834340f0
2005-08-30 16:27:58 +00:00