Commit Graph

157 Commits

Author SHA1 Message Date
giannozz 7a626aea22 Cleanup: dsum removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@762 c92efa57-630b-4861-b058-cf58834340f0
2004-04-02 13:22:33 +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
cavazzon 9b67f06d87 - date_and_tim moved to flib and used by all code,
- cleanup in clib
- tictac substituted by start_clock/stop_clock
- other cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@751 c92efa57-630b-4861-b058-cf58834340f0
2004-03-28 21:36:28 +00:00
cavazzon 31b6ad65d4 Subroutine PW/error.f90 moved to flib/ directory,
and linked by all codes.
Now in case of severe error, errore writes its message also to the file 'CRASH'
that is closed before aborting, this to avoid information loss in those
systems that do not flush open streams, when the code is stopped through
a call to MPI_ABORT


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@750 c92efa57-630b-4861-b058-cf58834340f0
2004-03-27 23:54:17 +00:00
sbraccia 7359b6ca2f The array of communicators was non necessary (thanks to SdG): removed everywhere.
Fixed a serious bug in para.f90 (introduced in the last commit).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@744 c92efa57-630b-4861-b058-cf58834340f0
2004-03-24 16:30:44 +00:00
giannozz 7897695824 Minor bugs:
*  planar average crashed if used with a cubic system
  *  Gamma-only phonon code not working for Raman calculations
     in some cases


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@743 c92efa57-630b-4861-b058-cf58834340f0
2004-03-24 15:41:46 +00:00
sbraccia 2a99b6fdac 1) An experimental parallelization of NEB images has been implemented.
This required a deep modification of the parallelism in PWscf:
there are two new communicators (intra_image_comm and inter_image_comm) and the
existing "pool" communicators (intra_pool_comm and inter_pool_comm) are now vectors
of length given by the number of parallel images. #ifdef __PARA is no longer
needed because all "parallel" variables are always initialized for a serial run
and all parallel routines are, in the case of a serial run, dummy routines.
The wrappers to MPI routines used only by PWscf are in the PW/para.f90 file.
The others (mp_***) are in the Modules/mp.f90. All explicit referencies to mpif.h
should be replaced by an "USE parallel_include" (in a serial run parallel_include
is simply a dummy module).

2) The extrapolation of both potential and wavefunctions has been rewritten in
order to be smarter than before: on the basis of the required extrapolation
order, on the basis of the history and on the basis of which files are really
present on the disk, the algorithm chooses the extrapolation order.
All the algorithms in which ions are moved can use the extrapolation.

These are both unstable features: I need the help of everybody to test them.

C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@742 c92efa57-630b-4861-b058-cf58834340f0
2004-03-24 09:36:50 +00:00
sbraccia cbc1f05d29 All references to mpif.h and to the subroutine check.f90 removed by the PWscf and related codes.
If noone disagrees I'll remove the routine check.f90 and all the routines moved in para.f90.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@730 c92efa57-630b-4861-b058-cf58834340f0
2004-03-16 18:14:34 +00:00
giannozz a4c6adff57 oops...missing file in parallel compilation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@726 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 15:11:24 +00:00
giannozz d91860df21 Cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@725 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 15:04:26 +00:00
giannozz 581e56d3ec Two instances of the same variable in efg.f90 (found by Antonio Tilocca)
Cleanup, doc, workaround for yet another ifc8 bug, no more #ifdef ZHEGVX


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@722 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 10:07:07 +00:00
sbraccia 0c4b3101cd General cleanup of the parallelization routines of PWscf: they have all been moved in the para.f90 file.
All explicit includes of mpif.h replaced by USE include_parallel.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@721 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 09:43:02 +00:00
degironc 608a925987 added reference to routines called by neb_base
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@720 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 09:23:46 +00:00
giannozz 9254bf4340 More postprocessing is working at Gamma point.
A few ifort8 compilation glitches fixed. Manual updated.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@717 c92efa57-630b-4861-b058-cf58834340f0
2004-03-12 18:38:54 +00:00
profeta 9f32c91f8b forget to multiply efg correction by kpoint weight
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@710 c92efa57-630b-4861-b058-cf58834340f0
2004-03-10 16:20:59 +00:00
profeta ae0e365eac Bugs in ewald_dipole in parallel
Check efg in parallel
Bugs in call to mp_bcast when replaced poolbcast, one should check
that npool /= 1 (previously done in poolbcast


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@708 c92efa57-630b-4861-b058-cf58834340f0
2004-03-09 17:43:17 +00:00
sbraccia 492f080ce3 Calls to poolbcast replaced by calls to mp_bcast(*,MPI_COMM_ROW).
PW/broadcast.f90 PW/poolbcast.f90 removed.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@707 c92efa57-630b-4861-b058-cf58834340f0
2004-03-08 17:21:27 +00:00
profeta cabbea8cda cleaning and documentations added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@706 c92efa57-630b-4861-b058-cf58834340f0
2004-03-08 15:38:27 +00:00
cavazzon 744fb1cbb2 - neb basic routines moved to Modules, to be shared among codes
- basic cell and ionic variables moved frpm pwcom to
  cell_base and ions_base .
  cell_base modules and ions_base modules should be initialized
  through the use of cell_base_init and ions_base_init, this after
  having read the namelists and the cards .
  IN THE FUTURE NONE OF THE VARIABLES IN THE BASIC MODULES SHOULD
  BE SET IN THE MAIN CODES, BUT THROUGH A CALL TO SOME INIT
  FUNCTIONS CONTAINED IN THE BASIC MODULE ITSELF.
  THE IDEA IS THAT THE BASIC VARIABLES SHOULD BE USED AS
  READ-ONLY. UNFORTUNATELY IN F90 THERE IS NO POSSIBILITY
  TO SET A READ ONLY ATTRIBUTE.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@702 c92efa57-630b-4861-b058-cf58834340f0
2004-03-08 08:43:25 +00:00
giannozz 1f507a250f outdir was read but not used
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@699 c92efa57-630b-4861-b058-cf58834340f0
2004-03-07 13:54:31 +00:00
profeta b8b2087526 swap loop over spin and k-points
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@697 c92efa57-630b-4861-b058-cf58834340f0
2004-03-07 13:33:36 +00:00
degironc e202a83f07 more init_pool calls removed (already contained in startup)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@696 c92efa57-630b-4861-b058-cf58834340f0
2004-03-05 17:42:40 +00:00
profeta 64be6ef603 lots of cleaning, explicit variable in use modules
bug solved in efg


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@694 c92efa57-630b-4861-b058-cf58834340f0
2004-03-05 09:16:17 +00:00
giannozz a97a4c84cd Excessive check in PP/punch_plot.f90 if gamma_only (Antonio Tilocca)
PLEASE VERIFY!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@693 c92efa57-630b-4861-b058-cf58834340f0
2004-03-04 10:27:11 +00:00
profeta 7f7bc32c6a Calculation of NMR parameters Cq and eta in efg
some output formatting


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@689 c92efa57-630b-4861-b058-cf58834340f0
2004-03-01 16:55:18 +00:00
profeta 815b7622ee misplaced 'implicit none' makes ifc stop
PP Makefile did not find neb object


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@688 c92efa57-630b-4861-b058-cf58834340f0
2004-03-01 15:38:01 +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
sbraccia b893fdb844 oops ...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@679 c92efa57-630b-4861-b058-cf58834340f0
2004-02-26 15:24:50 +00:00
profeta 5eb515bbe8 remove setv use in symz
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@674 c92efa57-630b-4861-b058-cf58834340f0
2004-02-26 10:24:47 +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
profeta f4c819bf44 bug in for nspin=2
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@624 c92efa57-630b-4861-b058-cf58834340f0
2004-02-19 13:42:56 +00:00
giannozz 659e8a81a5 *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@621 c92efa57-630b-4861-b058-cf58834340f0
2004-02-19 10:48:07 +00:00
giannozz c1608fd91e More last-minute fixes - tag pw-2-0 added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@620 c92efa57-630b-4861-b058-cf58834340f0
2004-02-19 10:11:24 +00:00
profeta 65c699f202 write to stdout.
move reduce out of the loop
change PARA in __PARA


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@619 c92efa57-630b-4861-b058-cf58834340f0
2004-02-19 09:16:51 +00:00
giannozz bc5e66edc4 pw2casino (pw2muchcasino?)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@618 c92efa57-630b-4861-b058-cf58834340f0
2004-02-18 18:33:00 +00:00
profeta 7941cb1082 first parallel version (npool=1)
produce one file by processor


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@616 c92efa57-630b-4861-b058-cf58834340f0
2004-02-18 16:38:13 +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
giannozz ab5ffd7887 Minor things
Tuesday morning the package will be released - please check that
everything is in good standing


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@590 c92efa57-630b-4861-b058-cf58834340f0
2004-02-12 17:18:41 +00:00
profeta 6ecc4c22d2 Correct nonlocal energy in US case
MP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@585 c92efa57-630b-4861-b058-cf58834340f0
2004-02-11 14:12:17 +00:00
profeta a48fc660b9 Formatted output for G vect
correct nonlocal energy, now correct in NC case
MP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@583 c92efa57-630b-4861-b058-cf58834340f0
2004-02-11 12:30:05 +00:00
profeta 95d42f688b correct kinetic energy (tpiba2 was inside the k-loop)
write out only G vectors uses to describe wvfn
still not working in parallel
MP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@577 c92efa57-630b-4861-b058-cf58834340f0
2004-02-09 13:19:04 +00:00
giannozz 579ed8e504 Examples updated (again), pw2casino first fix
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@567 c92efa57-630b-4861-b058-cf58834340f0
2004-02-06 11:08:37 +00:00
giannozz 1286ba43d1 Documentation updated, some changes to output in dynamics and in summary
as requested by Tone - examples updated with the exception of example12
(please verify if they are ok). Version number updated to 2.0 .
configure => configure.old, configure.new => configure


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@553 c92efa57-630b-4861-b058-cf58834340f0
2004-02-03 12:08:55 +00:00
profeta e8dae3eee7 Add pw2casino. A postprocess to create a file suitable for casino QMC software.
the input nameliste should only contains prefix :
&inputpp; prefix='al'  /
this version should only work in serial, parallel not tested.
MP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@551 c92efa57-630b-4861-b058-cf58834340f0
2004-02-03 11:25:44 +00:00
degironc d837d5d8b0 *** empty log message ***
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@545 c92efa57-630b-4861-b058-cf58834340f0
2004-02-02 10:56:17 +00:00
degironc 87200cf3b8 2 feb 2004 projwfc works also with the gamma_only version (Guido Fratesi)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@543 c92efa57-630b-4861-b058-cf58834340f0
2004-02-02 08:31:34 +00:00
giannozz 8867d0c47e Makefiles updated after last changes
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@542 c92efa57-630b-4861-b058-cf58834340f0
2004-01-30 10:08:32 +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
giannozz d945eb72c0 Recently introduced bug (interpolation table not initialized) fixed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@528 c92efa57-630b-4861-b058-cf58834340f0
2004-01-27 13:42:51 +00:00
degironc 5ee19285b7 read_io_header split from plot_io in order to avoid fake allocations otherwise
needed when calling plot_io with iflag=0


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@527 c92efa57-630b-4861-b058-cf58834340f0
2004-01-27 12:31:56 +00:00