Commit Graph

95 Commits

Author SHA1 Message Date
cavazzon 2b9008ea8a - More merging between CP and FPMD
- some common NEB modules moved to Modules directory
  others NEB modules will be moved soon


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@687 c92efa57-630b-4861-b058-cf58834340f0
2004-02-29 23:30:07 +00:00
profeta ed16640a70 start adding a paw module outside pwcom
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@680 c92efa57-630b-4861-b058-cf58834340f0
2004-02-26 15:33:58 +00:00
profeta 3f541d0d8e Add electric field gradient calculation with PAW reconstruction
move setv and symz to PW
MP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@672 c92efa57-630b-4861-b058-cf58834340f0
2004-02-25 15:20:28 +00:00
degironc ce9d9804c9 14 feb 2004 LDA+U: variable starting_ns_eigenvalue has been added in
order to allow to specify how to fill starting ns occupation
             matrices. Useful when the default choice take the wrong
             (or not desired) path.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@598 c92efa57-630b-4861-b058-cf58834340f0
2004-02-14 08:39:34 +00:00
sbraccia 4367d42d15 The new bfgs minimization scheme is now the default.
To use the old scheme the keyword ion_dynamics must be set to "old-bfgs".
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@576 c92efa57-630b-4861-b058-cf58834340f0
2004-02-09 11:15:33 +00:00
giannozz 5c6bba2639 Workaround in PW/h_psi.f90 for ifc v.8 (works, only pwcond doesn't)
Manual updated, example6/run_example modified to prevent SP4 weirdness
Empty workspace module removed. Misc cleanup.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@538 c92efa57-630b-4861-b058-cf58834340f0
2004-01-28 18:14:17 +00:00
degironc f10d5b1866 LDA+U forces and stress are now much faster (yet not optimal)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@517 c92efa57-630b-4861-b058-cf58834340f0
2004-01-24 14:44:20 +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
sbraccia b59ad69456 Again some problems with ethr: the diagonalization threshold can now be read by the input file (diago_thr_init).
This value of ethr is overwritten (with a warning message) in the case of a phonon calculation (lphonon flag added). If diago_thr_init is not specified in the input file it is automatically set in setup.f90 (for example in the case of a nscf calculation ethr = tr2 / nelec).
I hope this policy is appropriate for all kind of calculations.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@511 c92efa57-630b-4861-b058-cf58834340f0
2004-01-23 09:50:00 +00:00
cavazzon bb4db10003 - FPMD prepared for NEB
- variables in module pwcom/varie moved to Modules/control_flags
- module PW/format moved to Modules/format
- in module PW/supercell added workaround for AUTOMATIC variable and
  AIX compilers
- PH Makefile added rbecmod.o


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@468 c92efa57-630b-4861-b058-cf58834340f0
2004-01-07 22:54:02 +00:00
giannozz 5a8c4a05dc Tabs removed (again)
NEB/ removed from makedeps.sh
plotrho: added possibility to have contour lines of various type
A few undefined variables defined (again)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@465 c92efa57-630b-4861-b058-cf58834340f0
2004-01-05 18:11:01 +00:00
sbraccia 2f4d7baded PW, Gamma and NEB are now unified.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@449 c92efa57-630b-4861-b058-cf58834340f0
2003-12-10 14:57:07 +00:00
sbraccia 506600d510 Yet another bug in CI_scheme = 'manual' (neb code).
Cleanup.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@446 c92efa57-630b-4861-b058-cf58834340f0
2003-12-09 08:16:59 +00:00
cavazzon 9ce7263953 - bug (alpha compiler) reported by Sergey has been fixed
- module filnam in pwcom moved to io_files module
- module units in pwcom moved to io_file

From now on, all file names and their unit and attributes (i.e. reclen)
should be defined in Modules/io_files.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@382 c92efa57-630b-4861-b058-cf58834340f0
2003-11-09 18:30:08 +00:00
cavazzon 40e943b6f4 ibm xlf bug workaround related to the "use only" sintax construct
carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@377 c92efa57-630b-4861-b058-cf58834340f0
2003-11-06 15:35:23 +00:00
sbraccia 33921e1f1e iunsdtout removed by PW/pwcom.f90. The unit for standar output (stdout)
is contained in Modules/io_global.f90.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@362 c92efa57-630b-4861-b058-cf58834340f0
2003-11-03 18:13:21 +00:00
sbraccia 03fe3ac840 Two units have been added (iunstdout and iunneb) to rationalize the output.
iunstdout will substitute 6 everywhere.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@361 c92efa57-630b-4861-b058-cf58834340f0
2003-11-03 16:00:45 +00:00
sbraccia f25926898e LOGICAL variables lbfgs, lmd, lneb added in MODULE varie. They are
intented to replace iswitch, at least when new code is written.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@350 c92efa57-630b-4861-b058-cf58834340f0
2003-10-29 10:46:22 +00:00
giannozz 57d733a8b0 Added SAVE to all modules
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@336 c92efa57-630b-4861-b058-cf58834340f0
2003-10-17 12:03:47 +00:00
giannozz bba38fd761 bfgs modified to work with arbitrary components of the atomic positions
kept fixed (Carlo Sbraccia)
"Total force" now prints a more sensible quantity:
\sqrt(\sum_{i,n} f_i(n)^2) instead of \sum_{i,n} |f_i(n)|
Cleanup in several routines and in modules.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@334 c92efa57-630b-4861-b058-cf58834340f0
2003-10-16 16:30:12 +00:00
giannozz 9e3fedec2c phonon: added comments to remind why dbecsum is summed
over processors; various calls to setv removed
Second occurrence of wsinit and wsweight removed
Unit number cleanup (solves problem with conflicting units)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@329 c92efa57-630b-4861-b058-cf58834340f0
2003-10-15 11:40:07 +00:00
cavazzon 1d34b5c0a8 non collinear spin version of PW,
contributed by Adriano Mosca Conte,
added to the repository.
The non collinear code has required
a new module "wavefunctions" containing
"psic" and "evc", that no longer belong
to pwcom.

use: cvs update -d

there's a new example (example13), that is not
yet complete, I'm waiting for the appropriate
pseudopotential from Adriano


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@322 c92efa57-630b-4861-b058-cf58834340f0
2003-10-03 14:01:11 +00:00
fabris 033a080ddd parallel and more robust version of DIIS diagonalization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@297 c92efa57-630b-4861-b058-cf58834340f0
2003-09-02 12:43:13 +00:00
dalcorso 72a8f4b592 Very simple implementation of occupations='from_input' in pwscf.
Useful for atomic calculations.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@287 c92efa57-630b-4861-b058-cf58834340f0
2003-08-21 09:41:51 +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
cavazzon 534f1a5db5 FPMD berry_phase and polarizability made shareable by other codes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@262 c92efa57-630b-4861-b058-cf58834340f0
2003-07-10 16:59:11 +00:00
cavazzon b361a00b78 restart file restructure started.
new hpsort that should solve the problems with the unique
g vectors ordering, d1, d2, d3 eliminated from ggens of all
the codes.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@253 c92efa57-630b-4861-b058-cf58834340f0
2003-06-30 14:30:44 +00:00
dalcorso 9de24e53b5 Energy and forces with a finite electric field.
Added the possibility to subtract the dipole field
for slab or molecule calculation.
(See  PRB 59, 12 301 (1999) and PRB 63, 205426 (2001).)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@252 c92efa57-630b-4861-b058-cf58834340f0
2003-06-30 14:09:05 +00:00
giannozz 1cd87510e6 Spelling : "Informations" => "Information"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@237 c92efa57-630b-4861-b058-cf58834340f0
2003-06-13 16:55:38 +00:00
dieguez d6193c5491 *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@226 c92efa57-630b-4861-b058-cf58834340f0
2003-06-11 20:07:53 +00:00
giannozz a48e8a85ec Minor cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@219 c92efa57-630b-4861-b058-cf58834340f0
2003-05-28 14:53:30 +00:00
giannozz aef2705d46 Davidson modified to use less memory in non-US calculations
(involves changes in several routines)
Option "nooverlap" for Davidson removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@215 c92efa57-630b-4861-b058-cf58834340f0
2003-05-22 10:18:38 +00:00
fabris f6b268f0ce Small changes for RMM-DIIS diagonalization
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@213 c92efa57-630b-4861-b058-cf58834340f0
2003-05-19 09:26:15 +00:00
cavazzon 23aec87a2f - more performance issues
- ifdef __PARA removed from the main subroutine of PW, Gamma, D3, PP, PH
  now startup is called both for serial and parallel codes.
- cfts_3 included in fft_scalar ( tested for __AIX )
- module pencils in serial executions is no more needed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@189 c92efa57-630b-4861-b058-cf58834340f0
2003-04-28 07:23:04 +00:00
giannozz 126d78de8a FFT : Cern fft, option NOPENCILS removed
Make.ibmsp modified to work without modifications for all codes
Misc minor changes. Initialization to zero added to regterg as well


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@179 c92efa57-630b-4861-b058-cf58834340f0
2003-04-22 19:34:27 +00:00
giannozz be52103a27 All filenames => 80 char
All directories=> 80 char
Filenames + directories + other => 256
---------------------------------------------------------------


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@154 c92efa57-630b-4861-b058-cf58834340f0
2003-04-12 19:25:08 +00:00
giannozz b25079f896 evc is dimensioned (npwx, nbnd) - various routines changed
(extensive changes to wfcinit, rotate_wfc, ccginitg).
Residual wrong dimension et(nbndx,nkstot) removed.
Common efield_0 in PW renamed extfield to avoid name
clash with common efield in PH (PGI compiler)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@148 c92efa57-630b-4861-b058-cf58834340f0
2003-04-08 07:13:30 +00:00
dalcorso 513f48608f Introdotto il calcolo del dipolo di cariche localizzate al centro della
cella unitaria in chdens (utile solo per molecole isolate).
Introdotta la possibilita' di aggiungere un potenziale a forma di dente
di sega al potenziale degli ioni per simulare un campo elettrico
finito. (by J. Tobik)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@141 c92efa57-630b-4861-b058-cf58834340f0
2003-04-03 15:35:36 +00:00
giannozz f5f21247a0 Do not restart bfgs from previous results if restart_mode='from_scratch'!!!
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@135 c92efa57-630b-4861-b058-cf58834340f0
2003-03-25 13:39:36 +00:00
cavazzon c5443ef48e - File mp_buffers.f90 and ptoolkit.f90 moved to Module directory
- Some common parameters that were defined in different places for different codes,
  has been move to  Modules/parameters


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@106 c92efa57-630b-4861-b058-cf58834340f0
2003-03-02 23:19:44 +00:00
degironc 5cfeb5079b 10 feb 2003 lda+u stuff modified in order to work also for non-d
localized orbitals. Hubbard_l=0,1,2,3 are now possible.
             It has been tested that calculations done for Hubbard_l=2
             are reproduced. More testing on non-d material needed.
             SdG + Gabriele Balducci


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@57 c92efa57-630b-4861-b058-cf58834340f0
2003-02-10 08:58:33 +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
giannozz 26226763b2 pgi fixes, output of examples updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@53 c92efa57-630b-4861-b058-cf58834340f0
2003-02-06 18:28:02 +00:00
cavazzon 15dd1c757c - many small changes ( comments and standartd output layout )
- some new pseudo
- some new cp_examples
- NEW shared module constants, this is the merge of FPMD and PW constants module
- NEW fpmd2upf pseudo converter (from fpmd format to upf )

carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@22 c92efa57-630b-4861-b058-cf58834340f0
2003-01-26 22:39:33 +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