Commit Graph

81 Commits

Author SHA1 Message Date
giannozz cd8242ad9a Some cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@486 c92efa57-630b-4861-b058-cf58834340f0
2004-01-15 15:50:19 +00:00
sbraccia 4c30bb71a3 Again a fix for the array out-of-bounds problem.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@483 c92efa57-630b-4861-b058-cf58834340f0
2004-01-14 14:03:12 +00:00
ballabio 833d2f0d9a fixed typo (0d.0 -> 0.d0) [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@479 c92efa57-630b-4861-b058-cf58834340f0
2004-01-13 08:47:50 +00:00
giannozz 16bd3a343b Phonon did not work on 4-dim irreps
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@477 c92efa57-630b-4861-b058-cf58834340f0
2004-01-09 15:56:24 +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 7c4f3cf840 Documentation updated to reflect merge of Gamma and k-point versions
variable filpun removed everywhere


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@454 c92efa57-630b-4861-b058-cf58834340f0
2003-12-11 11:10:03 +00:00
sbraccia 7eabc732c3 PH and D3 adapted to the new PW routines.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@452 c92efa57-630b-4861-b058-cf58834340f0
2003-12-10 16:26:35 +00:00
ballabio ff247c327d Cleanup [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@439 c92efa57-630b-4861-b058-cf58834340f0
2003-12-02 15:47:00 +00:00
giannozz c2b25dcd2a some pointers converted to allocatable (Michele)
new script to find dependencies


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@385 c92efa57-630b-4861-b058-cf58834340f0
2003-11-12 14:18:00 +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 c5d8ff2f66 - unit 6 replaced by stdout in CPV
- ^M removed from pseudo files
- wavefunctions arrais moved to module
  wavefunctions_module, common to all codes
  this is required to reduce duplicated subroutine
- new lapack subroutine, called from PWCOND,
  added to lib/lapack.f lib/lapack_ibm.f


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@381 c92efa57-630b-4861-b058-cf58834340f0
2003-11-09 10:42:50 +00:00
sbraccia 871e3677b3 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@374 c92efa57-630b-4861-b058-cf58834340f0
2003-11-05 19:01:20 +00:00
giannozz e34c8c50e3 Several Gamma-specific routines merged into PW/
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@356 c92efa57-630b-4861-b058-cf58834340f0
2003-10-29 18:53:40 +00:00
giannozz 64bd03c556 Reminder to everybody: & is needed both at end of line AND at the beginning
of continuation line if there is a ' ' or " " spanning two lines


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@344 c92efa57-630b-4861-b058-cf58834340f0
2003-10-28 11:23:28 +00:00
degironc 0e2edd9002 speed-up of z* calculation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@340 c92efa57-630b-4861-b058-cf58834340f0
2003-10-24 15:57:43 +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
degironc 9c38e39f43 16 Oct 2003 US effective charges now available in the phonon code.
Contributed by Gernot Deinzer


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@333 c92efa57-630b-4861-b058-cf58834340f0
2003-10-16 14:39:25 +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
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 ce8515b1be many calls to "setv" replaced by f90 assignements
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@314 c92efa57-630b-4861-b058-cf58834340f0
2003-09-17 21:50:03 +00:00
dalcorso 6cc6b291ea Bug fix in the dielectric constant with US-PP. A factor i was not needed.
Small differences with previous results. (Found by G. Deinzer).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@296 c92efa57-630b-4861-b058-cf58834340f0
2003-09-02 12:16:45 +00:00
cavazzon 0afcf95c6f io_base logic simplified even more,
variable wf_collect added to the control namelist.
This logical variable will be used in pw to
collect wave funcions at the end of a parallel run.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@295 c92efa57-630b-4861-b058-cf58834340f0
2003-09-02 09:16:09 +00:00
giannozz d0706224d4 Version number centralized in Modules/version.f90, updated to 1.3.0
Auxiliary programs in pwtools/: equation of state (ev.x),
distances/angles (dist.x), k-point generation (kpoints.x).
D3 fixes (maybe). Misc cleanup.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@291 c92efa57-630b-4861-b058-cf58834340f0
2003-08-29 17:15:25 +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
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 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
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
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
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 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
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
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 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 3a086b820c Installation cleanup; fftw are compiled by default
All Makefiles updated for addition of Berry phase code
iargc, getenv, getarg preprocessed
Missing Blas/Lapack sources for pw added


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@228 c92efa57-630b-4861-b058-cf58834340f0
2003-06-12 07:43:14 +00:00
dalcorso 1c3a4736e8 Corretto bug nel caso parallelo.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@205 c92efa57-630b-4861-b058-cf58834340f0
2003-05-07 13:05:07 +00:00
dalcorso bffac2f32b Il nome dei files aperti da questa routine fildrho//ipol coincideva con
quelli aperti in openfilq in una macchina parallela se outdir non e' settato.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@204 c92efa57-630b-4861-b058-cf58834340f0
2003-05-07 09:41:27 +00:00
giannozz 5772acd872 Some cleanup in ggen, __OLD_GGEN stuff removed,
same code (almost) for PW and Gamma versions
version number updated,  manual updated
Lahey installation


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@203 c92efa57-630b-4861-b058-cf58834340f0
2003-05-05 16:10:51 +00:00
giannozz 2970fd4810 Makefiles updated, Gamma updated, misc
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@198 c92efa57-630b-4861-b058-cf58834340f0
2003-05-02 13:23:14 +00:00
degironc 92070bf269 more cleanup, mainly in PH dir
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@194 c92efa57-630b-4861-b058-cf58834340f0
2003-04-29 11:20:28 +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 417c54df9f More FFT restructuring (CC). Updates to manual.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@188 c92efa57-630b-4861-b058-cf58834340f0
2003-04-25 08:36:45 +00:00
cavazzon 616b483f36 Performance issues and Harware Performance Monitor
interface for Power4 processor ( can by switched on defining __HPM )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@187 c92efa57-630b-4861-b058-cf58834340f0
2003-04-24 22:10:04 +00:00
cavazzon 7705b68b8a function allowed moved to fft_scalar
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@182 c92efa57-630b-4861-b058-cf58834340f0
2003-04-22 21:45:49 +00:00
cavazzon 23634ce31b good_fft_dimension moved to fft_scalar
small fix (most probably a typo) in scatter.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@181 c92efa57-630b-4861-b058-cf58834340f0
2003-04-22 21:26:28 +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
degironc c830a68c37 22 apr 2003 All setv statements in PW repalaced by f90 constructs.
Minor changes in PW & PH (code readability).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@178 c92efa57-630b-4861-b058-cf58834340f0
2003-04-22 16:03:45 +00:00
cavazzon 45858fb8bd Small fixes in Makefiles (consequence of the directory change of clocks.f90)
..... fixed by PG few minutes ago!
PW interfaced to Module/fft_scalar.f90 when __FFTW is defined.
Extensive tests of parallel and serial execution for all codes,
has been done on ALPHA system.
In pw_examples/example6 found a problem in parallel execution with 4 procs,
related to stdin (I've got an end of file on stdin), no problem
for the serial execution.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@176 c92efa57-630b-4861-b058-cf58834340f0
2003-04-21 21:29:49 +00:00
giannozz 4d60840971 Makefile fixes (PP, PH, D3, Gamma)
Calls to allocate_fft, ggen moved out of setup.f90
Minor change in mix_rho to reduce memory use
CPV: Exch_corr: gradr not deallocated in some cases


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@175 c92efa57-630b-4861-b058-cf58834340f0
2003-04-21 20:42:34 +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