Commit Graph

117 Commits

Author SHA1 Message Date
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 c6d1a11311 Added a specific card to set the collective variables used in meta-dynamics.
This allowes for the possibility of setting constraints that are not collective
variables. Example and documentation updated.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3059 c92efa57-630b-4861-b058-cf58834340f0
2006-05-01 01:07:57 +00:00
cavazzon 6a3a3538c7 - more BGL porting
- some fixes for self interaction correction


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3018 c92efa57-630b-4861-b058-cf58834340f0
2006-04-13 21:38:16 +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
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
kkudin 9aef93b80e 1) link disk_io to reduce_io in CP, when disk_io='low' in CP the charge
density file is not written (perhaps the default could be reverted)
 2) added an option ion_velocities='change_step'. Here one restarts from
a file with CG while changing the timestep. The old timestep should be supplied
in tolp. The main goal is to make the [t-1] ion positions to be proportionally
smaller. This way one can go through CP->CG->CP sequence while changing the
timestep and keeping all the ionic and Nose positions & velocities fully
consistent as to keep previous equilibration. Perhaps variable cell variables
should also be rescaled in the same way.

 Option 2) is somewhat ugly in how things are specified, but practically useful
if one does not want to re-equilibrate with the time step change.

 I could not extract the timestep value from the restart file, is it not
being written?

 Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2930 c92efa57-630b-4861-b058-cf58834340f0
2006-03-17 19:36:47 +00:00
sbraccia 5eee750bb7 Fixed several bugs in the code used to compute free-energy barriers (for both
CP and PW). C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2855 c92efa57-630b-4861-b058-cf58834340f0
2006-02-27 20:06:23 +00:00
cavazzon 0cbd417269 - charge density is now read and written in CP/FPMD trough xml subroutine
- CP/FPMD post processing updated, charge and states written in xsf/grd format
- CP rhoofr moved to file chargedensity.f90
- merged from_scratch subroutine


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2839 c92efa57-630b-4861-b058-cf58834340f0
2006-02-19 23:29:28 +00:00
umari ec9753002e Added second Berry's phase el. field
some improvements in inner_loop
P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2755 c92efa57-630b-4861-b058-cf58834340f0
2006-02-01 18:01:04 +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
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 8d7ea2691d Input to cp was updated to include variable tot_magnetization, as an
alternative way of specifying the spin state. [silviu]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2672 c92efa57-630b-4861-b058-cf58834340f0
2005-12-31 23:41:08 +00:00
sbraccia 2ad9db50c5 Stop by user request (prefix.EXIT) was not working for CP. Fixed and reorganised.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2602 c92efa57-630b-4861-b058-cf58834340f0
2005-12-17 17:40:37 +00:00
silviu 69a8cb0fa5 Added input variable to namelist SYSTEM: multiplicity. It is redundent in
principle since the same information can be specified with nelup and neldw.
However in systems containing many atoms of various kinds it can help reduce
human errors. If unspecified, this parameter is ignored. [silviu]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2578 c92efa57-630b-4861-b058-cf58834340f0
2005-12-12 08:03:28 +00:00
silviu aba8a4d2da Added an input variable to SYSTEM namelist: tot_charge. The same information
could also be specified with a proper choise of nelec. The later option however
is more sensitive to human errors, especially when working on large systems
containing diverse elements (or when working in the middle of the night...) [silviu]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2577 c92efa57-630b-4861-b058-cf58834340f0
2005-12-12 00:17:09 +00:00
umari 4984105ba9 Added support for nspin==2 in CG/+eDFT and berry's phase electric field
Fixed MKL support in eDFT

P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2569 c92efa57-630b-4861-b058-cf58834340f0
2005-12-08 21:56:20 +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
giannozz 039537519a First batch of alpha compilation problems
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2497 c92efa57-630b-4861-b058-cf58834340f0
2005-11-21 17:30:07 +00:00
silviu 235822991c Breaking long code lines to shorter ones (i.e. adding '&'),
g95 doesn't like very long lines. [silviu]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2469 c92efa57-630b-4861-b058-cf58834340f0
2005-11-13 22:17:23 +00:00
umari 82ce6f09fc Added flag to stop calculation if (in cp.x)
ensemble DFT and NOT conjugate gradient
berry phase electric field and nspin==2
conjugate gradient and nspin==2
P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2465 c92efa57-630b-4861-b058-cf58834340f0
2005-11-11 17:31:43 +00:00
cavazzon 259a6ea9b2 - check added on SIC staff with CP
- FPMD error message fixed for SIC with nupdwn(1) = 1 and nupdwn(2) = 0


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2447 c92efa57-630b-4861-b058-cf58834340f0
2005-11-09 16:33:07 +00:00
giannozz 5ed89fdd33 bad output message caused a crash when issued
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2444 c92efa57-630b-4861-b058-cf58834340f0
2005-11-08 20:06:40 +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
kkudin f370b2c68b Removed excessive beautification (i.e. leading "&") in format strings
because ifort 9.0 on AMD64 complained
 Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2397 c92efa57-630b-4861-b058-cf58834340f0
2005-11-01 16:42:06 +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 3f385a668b Added electric field input possibility
P.U.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2336 c92efa57-630b-4861-b058-cf58834340f0
2005-10-21 18:14:30 +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
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 da075dba31 - CP post processing updated to use iotk
- small fix in randpos


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2219 c92efa57-630b-4861-b058-cf58834340f0
2005-09-25 22:59:33 +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 5bdf7a3ec8 Clean-up of the code for the calculation of free-energy barriers.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2189 c92efa57-630b-4861-b058-cf58834340f0
2005-09-18 23:10:50 +00:00
sbraccia 605a912480 NEB clean-up; fixed some bugs in the CP implementation. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2165 c92efa57-630b-4861-b058-cf58834340f0
2005-09-11 00:50:13 +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 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
targacept 9f487bd7ad Adding Autopilot Feature Suite
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2122 c92efa57-630b-4861-b058-cf58834340f0
2005-08-24 14:23:09 +00:00
sbraccia 39aa8f58be Dynamics with wannier functions: variables wf_dt and wfdt unified. Added a check on
the input value of calwf.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2119 c92efa57-630b-4861-b058-cf58834340f0
2005-08-23 18:42:25 +00:00
cavazzon 260828432d - FPMD: pseudopotential variable wsg, wnl, fnl substituted with
dion, beta, bec everyware.
- subroutines formfn, compute_beta, nlsm1, nlsm2, ecc ... now are common
  between FPMD and CPV, a lot of clean ups!
- Changes in stdout: relevant physical quantities ( positions velocities an cell )
  are now printed with the seme format of the corresponding input card,
  like in PW, as was suggested by SdG.
- exemple23 updated to reflect the new input namelist "wannier"
- Subroutine init_run now is used in FPMD too.
- WARNING in the stress computed with CP, for a pseudo with core-corrections,
  a contribution is missing! Not yet fixed, I need to talk with PG for the
  box staff.
- WARNING the examples reference are not updated, I'm on the IBM sp, and
  I prefer to update them from a linux machine.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2110 c92efa57-630b-4861-b058-cf58834340f0
2005-08-22 14:14:13 +00:00
cavazzon c4101a5e7e - CP/FPMD clean-ups
- CP: NEB is working again! (at least on the case of the example17)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2056 c92efa57-630b-4861-b058-cf58834340f0
2005-07-28 16:30:19 +00:00
cavazzon 59b4f60f8b - FPMD/CP variable "nbnd" and "nelec" are computed automatically if
not specified in the input, like in PW
- FPMD/CP directory for restart file now could be specified with
  the input parameter "scradir" in the control namelist
- FPMD: NEB is working again!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2051 c92efa57-630b-4861-b058-cf58834340f0
2005-07-27 16:09:03 +00:00
sbraccia ba2edda164 Cleanup of unused variables.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2033 c92efa57-630b-4861-b058-cf58834340f0
2005-07-18 02:56:45 +00:00
sbraccia d92755e936 Greneral cleanup. NEB works again also with the CP code.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2032 c92efa57-630b-4861-b058-cf58834340f0
2005-07-18 01:16:41 +00:00
kkudin d51341fefb Set electronic kinetic energy for CG to 0
Convert electron_dynamics='cg' to tcg=.true. in CP code
In principle, input variable 'tcg' should be removed at some point
Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2026 c92efa57-630b-4861-b058-cf58834340f0
2005-07-15 01:52:50 +00:00
sbraccia 601e5ef13f Cleanup. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2002 c92efa57-630b-4861-b058-cf58834340f0
2005-07-08 02:56:05 +00:00
kkudin 930619e2b2 by Kostya
This patch adds "massive" Nose-Hoover chains for ions (i.e. each ion
can have a separate NH chain attached to it)
Some fixes are still needed in different places:
-the information on the number of NH chains [nhpdim] needs to be
saved and read from the restart file (not done now)
-the NH velocities also need to be all saved [nhpdim*nhpcl]
-an input option needs to be added to zero out the NH velocities during
a restart in order to permit "on the fly" thermostat changes
-deallocation of the module variables gives glibc error with IFC 8.0 & 8.1 in
cpr.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1998 c92efa57-630b-4861-b058-cf58834340f0
2005-07-05 21:02:48 +00:00
cavazzon b5fa8ee14b - cell_base, added support for cell input units, ex: CELL_PARAMETERS (angstrom)
- core charge, same module between CPV and FPMD
- Makefile: added dependency between "mods" and "libiotk"
- Makefile: fix for dependencies in PH and Gamma when __NEWPUNCH is defined


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1995 c92efa57-630b-4861-b058-cf58834340f0
2005-07-04 10:34:44 +00:00
sbraccia eaa2293534 Added a card for plotting wannier functions (and related stuff).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1991 c92efa57-630b-4861-b058-cf58834340f0
2005-07-01 20:39:45 +00:00
sbraccia 2d5fa8a23e Added a namelist for cp-dynamics with wannier functions (and related stuff).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1990 c92efa57-630b-4861-b058-cf58834340f0
2005-07-01 14:26:10 +00:00
sbraccia 504a2945a1 Fixed some bugs in the implementation of SHAKE. MD in PWscf is performed with standard Verlet
algorithm to have a single implementation of SHAKE (velocity Verlet uses RATTLE).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1979 c92efa57-630b-4861-b058-cf58834340f0
2005-06-27 20:21:19 +00:00