Commit Graph

425 Commits

Author SHA1 Message Date
giannozz 1e96236fdd punch_band did not compile
plotband: do not stop in spline interpolation for silly reasons


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@279 c92efa57-630b-4861-b058-cf58834340f0
2003-07-28 17:36:47 +00:00
giannozz 85162b6006 cell parameters in the case ibrav=0 back to previous convention
(as documented in INPUT_PP). Misc. cleanup, manual updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@278 c92efa57-630b-4861-b058-cf58834340f0
2003-07-28 15:03:32 +00:00
cavazzon 285ca9c5db Bug fix, jumps to labels inside if blocks (from outside) are not allowed!
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@277 c92efa57-630b-4861-b058-cf58834340f0
2003-07-25 12:26:52 +00:00
cavazzon 49f7deeb0b compilation fix, object PW/becmod.o added to Gamma/Makefile
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@276 c92efa57-630b-4861-b058-cf58834340f0
2003-07-25 12:19:28 +00:00
degironc 5632833307 25 Jul 2003 el-ph calculation in the US case should work properly.
An US term in the calculation of deltaV * psi_v needed in
             elphon.f90 was missing. This was giving wrong number in version
             1.2.0, while US case was not implemented in previous versions.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@275 c92efa57-630b-4861-b058-cf58834340f0
2003-07-25 08:40:28 +00:00
giannozz 401f236aca clean_pw cleaned
symmetries are always applied in non-scf calculations
(with the exception of Berry-phase calculation):
use nosym=.true. to prevent generation of additional points
Example for STM added


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@274 c92efa57-630b-4861-b058-cf58834340f0
2003-07-23 12:18:52 +00:00
dalcorso dc79f5caa6 Bug fix: the call to latgen was not compatible with the new routine.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@273 c92efa57-630b-4861-b058-cf58834340f0
2003-07-23 09:56:22 +00:00
dalcorso 7526e87190 Misleading error messages corrected.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@272 c92efa57-630b-4861-b058-cf58834340f0
2003-07-23 09:52:13 +00:00
dalcorso 82de15edb1 Mancava un'allocazione nel caso del postproc con campo E.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@271 c92efa57-630b-4861-b058-cf58834340f0
2003-07-22 14:27:27 +00:00
cavazzon 09f9816359 "goto" substitute with "exit"
gvectors modules are checked with the same tolerance
as in the sorting routine.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@270 c92efa57-630b-4861-b058-cf58834340f0
2003-07-22 10:02:07 +00:00
cavazzon 98c2527cd7 Check for the presence of bin directory
in order to avoid error messages


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@269 c92efa57-630b-4861-b058-cf58834340f0
2003-07-22 09:12:50 +00:00
cavazzon 70f5af41c5 small fix, use of prefix
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@268 c92efa57-630b-4861-b058-cf58834340f0
2003-07-22 08:48:17 +00:00
cavazzon 21473c7a29 FPMD:
PRIVATE keyword added to all FPMD source files,
variables that have to be known outside the module
are explicitly declared as PUBLIC
CPV:
now CP uses the same input parser as FPMD


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@267 c92efa57-630b-4861-b058-cf58834340f0
2003-07-21 15:59:32 +00:00
giannozz 545a48b5d2 Fixed recently introduced memory leak, some cleanup,
removed useless "include mpif.h"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@266 c92efa57-630b-4861-b058-cf58834340f0
2003-07-21 13:35:53 +00:00
dalcorso 62f08b789f Small changes in the control flow. Dipole printed only when computed.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@265 c92efa57-630b-4861-b058-cf58834340f0
2003-07-21 08:29:01 +00:00
giannozz 590c88f3af Added yet another small utility program, more cleanup of unused routines
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@264 c92efa57-630b-4861-b058-cf58834340f0
2003-07-11 16:47:55 +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
giannozz 48f776498d IBM SP does not like DREAL of an integer ...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@261 c92efa57-630b-4861-b058-cf58834340f0
2003-07-10 10:32:51 +00:00
giannozz 4698704b6c Cleanup: latgen, punch_band (algorithm for band tracing improved)
Minor changes to bp_c_phase to avoid compiler warnings
Options for LAM MPI added (as suggested by Cangiani)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@260 c92efa57-630b-4861-b058-cf58834340f0
2003-07-09 09:06:23 +00:00
cavazzon eac7b833e4 a new iosys subroutine, called iosys2 added in CPV/input.f90 .
This sub. share the input parsers (read_namelist and read_cards)
with FPMD. Soon it will be possible to initialize and call all
CP subroutines within FPMD, and viceversa.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@259 c92efa57-630b-4861-b058-cf58834340f0
2003-07-07 21:58:02 +00:00
giannozz 61ba3c484f Please update ALL Makefiles when adding new files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@258 c92efa57-630b-4861-b058-cf58834340f0
2003-07-07 10:07:20 +00:00
cavazzon 6ca8b2ce58 more merging, "only" keyword added to many "use"
io_base: strings with the name of the data sections added to the
restart file, this will allow R/W of data sections in any order


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@257 c92efa57-630b-4861-b058-cf58834340f0
2003-07-06 21:47:17 +00:00
cavazzon a68798f405 New subroutine (clean_pw) that deallocate everything (in pw),
contributed by Carlo Sbraccia


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@256 c92efa57-630b-4861-b058-cf58834340f0
2003-07-04 13:09:27 +00:00
giannozz 7f479705f9 - CP : calls to "sph_bes" fixed, variable-cell is working again
- PW : examples for conjugate gradient diagonalization


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@255 c92efa57-630b-4861-b058-cf58834340f0
2003-07-01 15:00:30 +00:00
cavazzon 1625356cb6 - arrays ipc ipcs icpl icpls substituted by
data structures dfftp dffts

- small bug fixed in setlocal.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@254 c92efa57-630b-4861-b058-cf58834340f0
2003-07-01 10:11:55 +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
dalcorso d4ac74ca37 Generalizzata average.f90 in modo da poter fare medie planari sui piani che si
ottengono tenendo fisso uno qualunque degli indici della mesh di fft.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@251 c92efa57-630b-4861-b058-cf58834340f0
2003-06-30 08:11:42 +00:00
dalcorso eabfd8027c Bug Fix: Mancava un argomento nella chiamata a rotate_wfc in cdiisg. Per favore
controllate se la mia correzione va bene.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@250 c92efa57-630b-4861-b058-cf58834340f0
2003-06-30 07:04:11 +00:00
dalcorso b7eb2ed9de Bug Fix: zstar_ue non funzionava con un solo punto k e perturbazioni
non degeneri perche' dpsi e' usata da dvpsi_e.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@249 c92efa57-630b-4861-b058-cf58834340f0
2003-06-30 06:58:08 +00:00
giannozz 854a981c66 Compilation problem in CP + minor things
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@248 c92efa57-630b-4861-b058-cf58834340f0
2003-06-25 17:29:12 +00:00
cavazzon de9a865b6c subroutine latgen and volume moved to flib
and used by all codes,
as common latgen it has been used the one contained in CPV,
sice this version solve some problems related to left-handed cell

new common module ions_base with ionic basic variables


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@247 c92efa57-630b-4861-b058-cf58834340f0
2003-06-25 12:43:25 +00:00
giannozz dc72f0a224 More files names dimensioned to 80, pwtools/Makefile fixed
Examples updated, new example for band structure calculation added


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@246 c92efa57-630b-4861-b058-cf58834340f0
2003-06-25 09:12:45 +00:00
cavazzon 21187430a4 More common modules for grid dimensioning,
recips.f90 moved to flib and used by all codes


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@245 c92efa57-630b-4861-b058-cf58834340f0
2003-06-24 21:38:49 +00:00
giannozz a8bbb6a06a PW/startup.f90: longer character variable np needed
Band extraction moved out of PP/pp.x, into PP/bands.x
Band plotting program (PP/plotband.f90) added
Misc corrections


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@244 c92efa57-630b-4861-b058-cf58834340f0
2003-06-20 15:30:55 +00:00
cavazzon c77bf5f61d more merging in Module/recvecs
intel compiler bug workaround: it seems that the intel compiler
does not set the save attribute to the module variables unless
there is an explicit initialization, this only for module not directly
accessible to the main (if they are not in the same directory).
The workaround is to set an initial value for all variables


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@243 c92efa57-630b-4861-b058-cf58834340f0
2003-06-19 16:49:30 +00:00
giannozz d40e657e00 Minor glitches in PW/readpp.f90, PP/plotrho.f90 fixed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@242 c92efa57-630b-4861-b058-cf58834340f0
2003-06-18 14:58:40 +00:00
cavazzon 43a1d1d340 fix for new output filenames (prefix added)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@241 c92efa57-630b-4861-b058-cf58834340f0
2003-06-18 13:57:06 +00:00
cavazzon abf65ed610 added interface to wannier package
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@240 c92efa57-630b-4861-b058-cf58834340f0
2003-06-18 12:57:45 +00:00
cavazzon 1491227547 more merging, recvecs module
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@239 c92efa57-630b-4861-b058-cf58834340f0
2003-06-16 10:41:12 +00:00
giannozz b8c13f2a90 Minor corrections
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@238 c92efa57-630b-4861-b058-cf58834340f0
2003-06-16 08:57:45 +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
giannozz 83abfae425 Added PP for Berry phase test, removed Ga
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@236 c92efa57-630b-4861-b058-cf58834340f0
2003-06-13 13:14:03 +00:00
giannozz 8e51ff7379 In cinitcgg, the array e must be dimensioned e(nbnd), not e(nstart)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@235 c92efa57-630b-4861-b058-cf58834340f0
2003-06-13 07:19:54 +00:00
cavazzon 7ab84cd1a0 bug fix, or most likely compiler bug workaround,
for IBM xlf 8.1.0.3


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@234 c92efa57-630b-4861-b058-cf58834340f0
2003-06-12 21:32:44 +00:00
cavazzon 19d6d59207 fix for alpha platform and FFTW:
SIZE( c ) substituted with ldc * nsl


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@233 c92efa57-630b-4861-b058-cf58834340f0
2003-06-12 16:46:56 +00:00
giannozz 6dc987f2fe Yet another line continuation problem in bp_c_phase.f90 (with ifc)
DEC __QSW TRU64 => __ALPHA for Alpha machines (with OSF/Tru64 or
whatever it is called now: any Alpha Linux around?)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@232 c92efa57-630b-4861-b058-cf58834340f0
2003-06-12 11:23:17 +00:00
cavazzon 004396bb4a there was a comma at the end
of a format string and the alpha compiler complained about that


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@231 c92efa57-630b-4861-b058-cf58834340f0
2003-06-12 10:03:04 +00:00
cavazzon 55bca2f76e Compilation on SGI:
in fft_scalar.f90 there wasn't all proper #ifdef
 bc_c_phase.f900 : when continuing a string on a new line an "&"
  character should be added on the new line too!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@230 c92efa57-630b-4861-b058-cf58834340f0
2003-06-12 08:56:47 +00:00