Commit Graph

75 Commits

Author SHA1 Message Date
giannozz 102b7d2c8c New ggen by Norbert verified and re-commited; useless re-ordering
removed from CP as well; redundant sorting routine kb07ad_cp90 removed;
routines sort_gvec moved into cp_fpmd.f90, together with the other
G-vector related routines taht shlould one day merged with those of PW


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6474 c92efa57-630b-4861-b058-cf58834340f0
2010-03-04 14:38:48 +00:00
marsamos 6f7e69f3d3 start porting of Hannu Komsa routines for HSE calculations.
Only functional related changes.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6287 c92efa57-630b-4861-b058-cf58834340f0
2010-01-11 18:11:08 +00:00
giannozz bbee9b22aa cp.x no longer compiling: cryst_to_car was missing. Moved from PW/ to flib/
(seems to me a more appropriate place tahn Modules/). Minor cleanup: two
variables, one for CP and one for PW, with the same meaning and equally
misleading names (atomic_positions and tau_units) merged into one with
a more descriptive name (tau_format)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6165 c92efa57-630b-4861-b058-cf58834340f0
2009-11-17 13:08:14 +00:00
marsamos e8af3750cf forgot to erase dlamch.o from flib Makefile
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6015 c92efa57-630b-4861-b058-cf58834340f0
2009-10-15 14:11:38 +00:00
marsamos 3207ff002c rm blas and lapack local copies from flib
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6011 c92efa57-630b-4861-b058-cf58834340f0
2009-10-15 13:21:58 +00:00
degironc ea12898a5d first implementation of Martyna-Tuckerman method to decouple periodic
images in a cluster calculation.  Still to be tested in parallel, it
 has been tested for Gamma vs 0 0 0 and for nspin=1 and 2. Forces seem
 to be ok. In the few cases considere there is no significant increase
 of workload with respect to the periodic calculation.

 plot_io.f90 moved from PP to flib because it may be needed
 in PW/martyna_tuckeman.f90 for debugging and in this way circular
 references are avoided. It only USE low-level modules like io_global,
 kinds, and constants so it should be ok.

 Module ws_base.f90 added in Modules. It deals with basic operations
 associated to Wigner-Seitz cell. The implementation should be general;
 it has been tested for SC and FCC only.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5911 c92efa57-630b-4861-b058-cf58834340f0
2009-09-09 12:59:40 +00:00
giannozz a13cd1f18b Misplaced routines re-placed, Makefiles updated:
Modules/vxccg.f90 split into atomic/vxcgc.f90 and flib/radial_gradients.f90
Modules/metagga.f90 moved to flib/metagga.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5884 c92efa57-630b-4861-b058-cf58834340f0
2009-09-04 13:40:13 +00:00
ccavazzoni af3e133a36 - small help functions for data distribution collected in a single file
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5748 c92efa57-630b-4861-b058-cf58834340f0
2009-07-24 12:59:54 +00:00
giannozz 86186c5c7d Small change to the installation mechanism: the list of locations for
modules is provided by the Makefile in each subdirectory, rather than
by make.sys. No big advantage but neater solution than before


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5737 c92efa57-630b-4861-b058-cf58834340f0
2009-07-22 17:18:42 +00:00
ccavazzoni 7c25c1bfed - variable FLIB_TARGETS added to make.sys.in in order to give
the possibility to the users to skip compilation of blas/lapack
  when using external blas/lapack lib.
  For the time being the value for FLIB_TARGETS is set to "all"
  by default. Then, to skip compilation of blas/lapack, one has to change
  make.sys setting: FLIB_TARGET=flib_only
  In the future this can be set automatically by configure when
  "--with-blas-and-lapack" is specified .

thanks to Harald Klimach of HLRS/stuttgard


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5736 c92efa57-630b-4861-b058-cf58834340f0
2009-07-22 15:17:21 +00:00
giannozz 5292d83a82 Unused routines removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5399 c92efa57-630b-4861-b058-cf58834340f0
2009-02-12 08:22:16 +00:00
giannozz 231f4e72cc "error" moved from flib/ to Modules/, as suggested by Axel, into
Modules/error_handler.f90 . Not really an elegant solution, since
the module in error_handler is never used and subroutine "errore"
is not in the module, but better than it used to be. All makefiles
and make.depend updated (fixes yesterday's linking error as well).
Minor changes here and there as well.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4591 c92efa57-630b-4861-b058-cf58834340f0
2008-01-03 09:02:32 +00:00
giannozz 70d63a023e Unused routine "hungup" removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3999 c92efa57-630b-4861-b058-cf58834340f0
2007-07-05 16:05:02 +00:00
giannozz 669b8b20e5 Misc updates: configure (mac intel + ifort), make.depend, Makefiles
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3907 c92efa57-630b-4861-b058-cf58834340f0
2007-04-10 20:39:42 +00:00
giannozz fa33e60827 Forgot to remove iceil.o from the makefile
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3581 c92efa57-630b-4861-b058-cf58834340f0
2006-11-28 14:05:09 +00:00
giannozz 0874b4a10c More minor installation cleanup
lapack_mkl.f does not seem to be needed any longer starting from mkl v6 or so
Since earlier versions are not supported by configure anyway I removed it


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3436 c92efa57-630b-4861-b058-cf58834340f0
2006-10-05 21:11:19 +00:00
giannozz af76cd8021 More installation cleanup / messup :
blas and lapack libraries are specified solely in BLAS_LIB and LAPACK_LIB,
no more in MYLIB. A Lapack library is always compiled but used only if
needed. Problem with conflicting essl/lapack on cineca sp5 solved (i hope)
Re-run configure before complaining that nothing works !


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3435 c92efa57-630b-4861-b058-cf58834340f0
2006-10-05 18:00:50 +00:00
giannozz bd24b32d6f Installation cleanup (maybe) : the blas libraries are always compiled,
loaded only when nothing else is found using BLAS_LIBS


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3434 c92efa57-630b-4861-b058-cf58834340f0
2006-10-05 01:19:44 +00:00
cavazzon fafe34f06b - fixed a configuration problem with pgi compiler and preprocessor
- elapsed_seconds substituted by cclock
- fortran version of scnds substituted by c version.

now time information is taken only through:
cclock   for the real wall clock time
scnds    for cpu time of the running process
defined in file clib/cptimer.c


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3400 c92efa57-630b-4861-b058-cf58834340f0
2006-09-19 17:00:18 +00:00
giannozz fb5318a4e7 Fixes for Mac OSX and XLF (courtesy of Pascal Thibaudeau)
Documentation updates


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3386 c92efa57-630b-4861-b058-cf58834340f0
2006-09-13 16:41:56 +00:00
giannozz 737ce089cf More spherical bessel cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3297 c92efa57-630b-4861-b058-cf58834340f0
2006-07-27 17:06:26 +00:00
giannozz aca4bd5e82 Calculation of spherical bessel functions now uses a series expansion
for small values of the arguments - it should be numericaly more stable
especially for high l - PLEASE CHECK
 CVS: ----------------------------------------------------------------------


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3287 c92efa57-630b-4861-b058-cf58834340f0
2006-07-26 13:22:14 +00:00
sbraccia c9ba9f96b8 Added a routine to remove the total torque acting on the atoms of an isolated
system. C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3176 c92efa57-630b-4861-b058-cf58834340f0
2006-06-13 18:10:02 +00:00
cavazzon e817d7c43c - removed old mpi wrappers reduce.f90, that was used in CP
- more changes for parallelization over images


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2965 c92efa57-630b-4861-b058-cf58834340f0
2006-03-27 17:01:30 +00:00
cavazzon cff1f9680c - static arrays dimensioned with natx removed
- nproc substituted with nproc_image
- mpime substituted with me_image
- roor substituted with root_image
- some clean-ups


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2960 c92efa57-630b-4861-b058-cf58834340f0
2006-03-24 18:51:06 +00:00
cavazzon da4450417d - module random_numbers moved from flib to Modules to avoid
circular dependency. All general purpouse modules should go in
  directory Modules!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2769 c92efa57-630b-4861-b058-cf58834340f0
2006-02-04 14:06:28 +00:00
giannozz 8eda231bbb - Variable cell: use Cesar Da Silva's version of the damping algorithm
(he claims it is more tested); documentation updated (sort of)
- routines find_free_unit, delete_if_present, moved from 'parser'
  to 'io_files' (it is a more natural place)
- routines int_to_char moved from 'parser' to flib/ (it is quite
  unrelated with the rest of the module)
- routine trimcheck moved from flib/ to 'io_files' (more natural place)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2753 c92efa57-630b-4861-b058-cf58834340f0
2006-02-01 17:56:16 +00:00
giannozz 0d6fa99b88 Added check on the presence of a slash at the end of outdir everywhere.
Since it is done in 100 places, I added a small function 'trimcheck'


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2749 c92efa57-630b-4861-b058-cf58834340f0
2006-01-31 17:22:28 +00:00
sbraccia a5eeeee8c5 All functions used to generate random number collected in a single module. Added two routines
random numbers from a normal distribution.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2725 c92efa57-630b-4861-b058-cf58834340f0
2006-01-25 04:24:49 +00:00
dalcorso 6a254fb1c2 Projwfc generalized to noncollinear and spin-orbit cases (still experimental).
Contributed by R. Mazzarello.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2718 c92efa57-630b-4861-b058-cf58834340f0
2006-01-20 14:28:51 +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
cavazzon 6033454162 - fixed a bug in smcp: setup of variable fccc. example26 is now
working again
- calls to very old "rs" eispack driver replaced by calls do
  "dspev" lapack driver
- subroutines sigset, rhoset, tauset moved from cplib.f90 to
  ortho_base.f90, now they are used in fpmd subroutines too


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2625 c92efa57-630b-4861-b058-cf58834340f0
2005-12-20 23:54:54 +00:00
ballabio d1f46ac488 fixed problem with compilation rules [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2262 c92efa57-630b-4861-b058-cf58834340f0
2005-10-06 09:44:04 +00:00
ballabio c0815d8459 fix for g95 [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2261 c92efa57-630b-4861-b058-cf58834340f0
2005-10-06 09:32:58 +00:00
ballabio 670f4b64d5 now configure checks separately for serial and parallel compilers [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2258 c92efa57-630b-4861-b058-cf58834340f0
2005-10-05 18:11:25 +00:00
degironc ac7906dc29 - makefile update after yesterday changes
- variable "ishybrid" added to Modules/funct.f90 to manage hybrid functionals
- duplicated subroutines in upftools/nclib.f90 removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2095 c92efa57-630b-4861-b058-cf58834340f0
2005-08-09 07:34:23 +00:00
cavazzon e1097e16e2 - in CP/FPMD added the possibility to specify input with
command line parameter -input like in PW
- restart file layout modified


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1945 c92efa57-630b-4861-b058-cf58834340f0
2005-06-08 21:30:34 +00:00
sbraccia 23f1f09b91 Added a new wrapper to the flush routine. Hereafter to flush a unit use:
CALL flush_unit( unitnumber ) without any "#ifdef". All the check are done within
flush_unit.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1903 c92efa57-630b-4861-b058-cf58834340f0
2005-05-25 02:56:34 +00:00
ballabio 37be000572 cleanup [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1714 c92efa57-630b-4861-b058-cf58834340f0
2005-03-16 11:45:27 +00:00
ballabio 765729b8b3 merged make.sys and make.rules together
there was no reason they should be two different files
everybody must rerun configure
[Gerardo]


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1690 c92efa57-630b-4861-b058-cf58834340f0
2005-03-08 18:44:10 +00:00
cavazzon e32ce9b074 - common xc and gga functionals subroutines for all code PW/CP/FPMD
- Few more functionals has been added to file more_functionals.f90
  since in PW BLYP/LSDA were not implemented .
  In the same file, temporary, are stored old CP90 subroutines
  for testing purpose ( in CP functionals were vectorized!! ).
  The small program PP/xctest.f90 can be used to make a comparative
  test between new and old routines, in case someone suspect a problem
  there.
- buon anno!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1533 c92efa57-630b-4861-b058-cf58834340f0
2004-12-31 11:14:32 +00:00
sbraccia d073595767 Further cleanup of bessel functions. sph_besr moved from atomic to flib.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1453 c92efa57-630b-4861-b058-cf58834340f0
2004-11-17 13:35:03 +00:00
sbraccia 36c6f48b0f Cleanup of spherical bessel functions.
Added a routine to compute the derivativs of spherical bessel functions (used by calc_btq).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1450 c92efa57-630b-4861-b058-cf58834340f0
2004-11-17 12:05:53 +00:00
ballabio 8a6525f4fe renamed .dependencies to make.depend, added them to CVS [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1434 c92efa57-630b-4861-b058-cf58834340f0
2004-11-09 10:53:55 +00:00
giannozz 6046a67da7 Added missing lapack for Mac OS + Atlas (Pascal Thibadeau)
configure not yet configured to recognize "lapack_atlas"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1398 c92efa57-630b-4861-b058-cf58834340f0
2004-10-26 08:22:15 +00:00
giannozz 9b7ec82c2b chdens can produce "cubefile" format (Gaussian)
(contributed by Axel Kohlmeyer)
Version 2.1 tagged


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1322 c92efa57-630b-4861-b058-cf58834340f0
2004-09-20 08:37:49 +00:00
giannozz 03537a5ac7 Minor mac os-x fix
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1154 c92efa57-630b-4861-b058-cf58834340f0
2004-08-23 09:47:32 +00:00
giannozz f17501572d Support for mac-osx added (contributed by Pascal Thibaudeau)
Extensive documentation update and reshuffling : pwdocs and cpdocs merged
into Doc


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1104 c92efa57-630b-4861-b058-cf58834340f0
2004-08-09 16:35:51 +00:00
giannozz cf4129b4d2 Misc. cleanup; a few redundant routines moved to flib;
added example for phonon DOS; version number updated to 2.1 (PG)

Please start testing and debugging the next version, i.e., this one.
Note that reference data have to be updated for all examples.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1039 c92efa57-630b-4861-b058-cf58834340f0
2004-07-02 16:24:48 +00:00
giannozz ffcadc34c1 Modules becmod, rbecmod (one variable each) merged into a single module
(with two variables...) - More USPP merge


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@954 c92efa57-630b-4861-b058-cf58834340f0
2004-06-12 20:37:01 +00:00