Commit Graph

21 Commits

Author SHA1 Message Date
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
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
sbraccia 2058195fda Cleanup of the molecular dynamics routines. Some debug messages removed. Some duplicated variables (fixatom and if_pos) removed from pwcom (already present in ions_base). A logical variable lfixatom added in control_flags. The output of a molecular dynamics run has been slightlychanged to be (hopefully) clearer.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@951 c92efa57-630b-4861-b058-cf58834340f0
2004-06-11 16:53:16 +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
sbraccia 7802c6c40c Calls to broadcast replaced by calls to mp_bcast everywhere.
All kinds ionic dynamics are done by a single cpu (see move_ions.f90).
After the ions are moved the new positions (and other information) are
broadcasted to all other cpus.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@701 c92efa57-630b-4861-b058-cf58834340f0
2004-03-07 17:18:22 +00:00
sbraccia 0224c2a9ad wfc-extrapolation extended to all "relax" algorithms.
Molecular Dynamics based algorithm partially rewritten:
both standard and damped MD are performed with the velocity Verlet
scheme (with or without constrains).
Renata's subroutines are used only in the framework of variable
cell.
constrain.f90 file is no longer needed: cnstrains are set in the
input file (see CONSTRAINTS CARD) with the same input format used
in FPMD. An arbitrary number of constrains can be set.
In the case of constrained relaxation the damped MD
algorithm is used instead of BFGS.
When restart_mode = "from_scratch" many reastr files are removed
from the scratch directory.
Several other modifications here and there. (C.S.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@675 c92efa57-630b-4861-b058-cf58834340f0
2004-02-26 11:50:36 +00:00
giannozz 0b1a5c9fd8 Extensive module cleanup: DP moved from wrong place (parameters) to the
correct place (kinds); module "varie" replaced by "control_flags" (not
yet in pwcom, though) - many many files changed.
64-bit cpus (Opteron, maybe Itanium) should now work if __LINUX64 is defined


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@513 c92efa57-630b-4861-b058-cf58834340f0
2004-01-23 15:08:03 +00:00
giannozz 84cadfe3f0 Cell parameters written on output for variable-cell dynamics
as requested by Tone - Misc cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@509 c92efa57-630b-4861-b058-cf58834340f0
2004-01-22 17:01:35 +00:00
sbraccia 24ce939aeb Unit stdout (set in Modules/io_global.f90) is used to write on standard output
instead of 6 or *.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@365 c92efa57-630b-4861-b058-cf58834340f0
2003-11-04 10:53:05 +00:00
giannozz 078528c09f Minor compilation problems due to formats
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@347 c92efa57-630b-4861-b058-cf58834340f0
2003-10-28 15:01:24 +00:00
cavazzon cbff0f48de different modules containing filenames and directories
substituted by common module:
Modules/io_files.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@317 c92efa57-630b-4861-b058-cf58834340f0
2003-09-23 14:45:12 +00:00
giannozz 6b9b7b9725 Atomic positions are written in a relaxation run in input units
The unit cell can be given using crystallographic parameters a, b, c,
(all in A), cosab cosac, cosbc .  Misc. cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@263 c92efa57-630b-4861-b058-cf58834340f0
2003-07-11 15:16:00 +00:00
degironc 7bf0c09bf6 20 mar 2003 - relaxation using damped dynamics can be used keeping fixed
last fixatom atoms (with the same input procedure as the bfgs
             minimization).
             - LDA+U part has been modified in order run also in the not
             spin-polarized case (some testing still neeeded).
             - Davidson diagonalization returns best estimate for
             eigenvalues and eigenvectors also in the case that not all
             roots have converged. This is more consistent and should
             somehow alleviate the problem of WARNING messages in scf and
             band structure run.
             - Number of beta function in pseudopotentials increased to 8.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@130 c92efa57-630b-4861-b058-cf58834340f0
2003-03-20 11:21:34 +00:00
giannozz cb0e24eda7 File name harmonisation:
filemd => 'prefix'.md, filebfgs => 'prefix'.bfgs
Misc. T3E fixes (c_gemm, s_gemm; idum initialized when written)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@101 c92efa57-630b-4861-b058-cf58834340f0
2003-02-28 17:16:27 +00:00
giannozz 9e3a2de758 Support for lahey compiler added: "error" renamed to "errore", "rnd" to "rndx"
bug in io_base fixed
PARA => __PARA
cinterpolate moved into interpolate


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@86 c92efa57-630b-4861-b058-cf58834340f0
2003-02-21 14:57:00 +00:00
giannozz d852392cab module allocate, calls to mallocate, mfree removed
pointers replaced by allocatable whenever possible


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@56 c92efa57-630b-4861-b058-cf58834340f0
2003-02-07 16:04:36 +00:00
degironc ce1a548eb3 ultime (?) modifiche ai defaul e alle scritture vcsmd
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@43 c92efa57-630b-4861-b058-cf58834340f0
2003-01-29 16:28:33 +00:00
degironc 0f4ab2013f 1) piu informazione scritta quando la minimizzazione con la cella arriva in fondo
2) un default (non troppo accurato) per wmass (massa della cella) e stato introdotto


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@39 c92efa57-630b-4861-b058-cf58834340f0
2003-01-29 14:29:11 +00:00
degironc 7377c5877f last (but not least) minute changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@37 c92efa57-630b-4861-b058-cf58834340f0
2003-01-29 12:33:16 +00:00
degironc c1b8363095 qualche formattazione piu leggibile +
nel caso a cella variabile se la simulazione comincia da
scratch vengono cancellati eventuali files preesistenti
(e, eal, ave, avec, p, tv) vengono cancellati emettendo
dei warning.

stefano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@34 c92efa57-630b-4861-b058-cf58834340f0
2003-01-29 08:26:56 +00:00
giannozz ac9f2144c0 O-sesame
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2 c92efa57-630b-4861-b058-cf58834340f0
2003-01-19 21:58:50 +00:00