Commit Graph

227 Commits

Author SHA1 Message Date
giannozz a725fe91f2 Redundant routine kpoint_global_indices replaced by global_kpoint_index.
Everything should work (or not work) as before (not tested, no warranty). 



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12898 c92efa57-630b-4861-b058-cf58834340f0
2016-09-01 08:20:30 +00:00
giannozz 7ce7d161bf Makefile simplification: TOPDIR is used to define the same LIBOBJS everywhere.
In case of trouble, see instruction in the make.inc file.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12840 c92efa57-630b-4861-b058-cf58834340f0
2016-08-25 19:27:31 +00:00
ccavazzoni 312e3b952e - some more clean-ups
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12823 c92efa57-630b-4861-b058-cf58834340f0
2016-08-22 06:52:43 +00:00
ccavazzoni 8f777555f3 - adding "howmany" parameter to the cfft3d subroutine,
to compute many FFTs at the same time, particularly usefull for EXX
  but could be usefule for many linear response code as well
  (for the time being implemented only for DFTI and internal FFTW,
  should be trivial to extend other drivers)
- more clean-ups


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12815 c92efa57-630b-4861-b058-cf58834340f0
2016-08-19 22:55:53 +00:00
ccavazzoni b68ab1d1b4 - fix for serial build
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12814 c92efa57-630b-4861-b058-cf58834340f0
2016-08-19 20:08:15 +00:00
ccavazzoni e8659ff65e - more fft clean-ups, getting rid of fft_type_scalar and making fft_type_set private.
- "normalizing" fft_custom.f90, example01 is ok, but more checks and clean-ups are 
  probably required


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12800 c92efa57-630b-4861-b058-cf58834340f0
2016-08-19 08:31:15 +00:00
ccavazzoni f37721ba5f - fix for serial build
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12745 c92efa57-630b-4861-b058-cf58834340f0
2016-08-16 09:03:26 +00:00
ccavazzoni 213fe9b79e - clean-ups
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12736 c92efa57-630b-4861-b058-cf58834340f0
2016-08-13 08:26:39 +00:00
ccavazzoni fca395c635 - these arrays need to be cleared after allocation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12723 c92efa57-630b-4861-b058-cf58834340f0
2016-08-12 13:48:55 +00:00
ccavazzoni 9fe2717a26 - new sticks_map type
- further clean-ups and refactoring
- BUG FIX in transition fft_custom



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12722 c92efa57-630b-4861-b058-cf58834340f0
2016-08-12 13:47:19 +00:00
ccavazzoni c6a622a65d - new "disentangled" sticks initialization,
new subroutine "get_sticks" can be used to initialize and retrieve the sticks for a given input cut-off.
  get_sticks can be called in any order (not necessarily starting from the smaller cut-off)
  but performance may vary depending on the order.

- NOTE: this is still a transition commit. Further re-factoring to the FFT library is required to     
  make it more flexible and dynamic, i.e. eliminate pstickset all-in-one FFT setup routine.
  Once the re-factoring will be over, the initialization of a single FFT object will feature:
  a) call subroutine to set basic grid informations and allocation
     fft_type_allocate
  b) call subroutine to define if the FFT is going to be performed in parallel or serial (even in parallel run)
     temporarily represented by the new get_sticks subroutine
  c) call subroutine to "activate" the fft_types object
     temporarily represented by fft_type_set
  FFT objects may then be created (almost) freely and (almost) independently from the other FFT objects,
  behind the scene, we need to keep coherence between sticks map and sticks owner, in order to avoid grid data remapping
  (this may change in future, for specific needs).                          
  In other words the above sequence could be called to initialize a new fft descriptor anywhere at any time,
  but a coherence will be kept with previous initializations. A keyword (not yet implemented) could be
  used to unbound the new descriptors from the old one, then you need to know what you are doing...



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12721 c92efa57-630b-4861-b058-cf58834340f0
2016-08-11 23:02:23 +00:00
giannozz f57b3b298d 14 pieces of the same code returning the index of first and last k-point in
the global list of k-points, used for k-points parallelization, moved to a
single subroutine. Most of those pieces of code were never actually used
(k-point parallelization is not implemented in several of the utilities)
but just blindly copied from the code performing I/O of wavefunctions.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12720 c92efa57-630b-4861-b058-cf58834340f0
2016-08-11 16:29:04 +00:00
ccavazzoni 4a5d347421 - clean-up, just one sticks_map subroutine for parallel and scalar maps
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12706 c92efa57-630b-4861-b058-cf58834340f0
2016-08-10 07:52:20 +00:00
ccavazzoni 816ccf71ec - sticks_map now for one cutoff/map at a time
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12704 c92efa57-630b-4861-b058-cf58834340f0
2016-08-10 05:59:01 +00:00
ccavazzoni 75cb15a76d - real space grid initialization moved to fft_types module
(it was acting only on descriptor variables, noneed to keep it into module)
- name change: all function/variables named *_dlay_* renamed *_type_* for consistency

- IMPORTANT: fft_type_allocate merged with real space grid initializaiton
  some other grid functions removed/merged with fft types.
  Since some initialization has been moved elseware there could be some SIDE EFFECT

- In practice, now grid dimensions (nr1, nr2, nr3) comes with fft variable definition
  and variable allocation. 
  NEXT: review of the initialization/setting of the fft parallelization

- real space grid initialization subroutines moved to fft_types module
  (it was acting only on descriptor variables, no need to keep it in Modules)
- name change: all function/variables named *_dlay_* renamed *_type_* for consistency

- IMPORTANT: fft_type_allocate merged with real space grid initializaiton
  some other grid functions removed/merged with fft types.
  Since some initialization has been moved elseware there could be some SIDE EFFECT

- In practice, now grid dimensions (nr1, nr2, nr3) comes with fft variable definition
  and variable allocation.
  NEXT: review of the initialization/setting of the fft parallelization



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12703 c92efa57-630b-4861-b058-cf58834340f0
2016-08-09 21:38:57 +00:00
giannozz 1f35f5dc8b Variables iunigk and igk deleted from global variables. Beware: may break some
codes that rely on them. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12674 c92efa57-630b-4861-b058-cf58834340f0
2016-08-07 13:33:29 +00:00
puma d18e02ff7d Added options for real time evolution
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12595 c92efa57-630b-4861-b058-cf58834340f0
2016-07-21 09:30:11 +00:00
degironc d5d2d52b3d subroutine fft_dlay_set_dims introduced in fft_types in order to make sure desc%nr1... desc%nr3x are
set prior to calls fft_dlay_allocate, fft_dlay_set, fft_dlay_scalar.
in these subsequent calls grid dimensions are removed from input and taken from the grid descriptor
that is provided anyway. 
-stick_set.f90 and fft_custom.f90 modified accordingly.
 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12572 c92efa57-630b-4861-b058-cf58834340f0
2016-07-07 23:34:08 +00:00
puma 548649a977 Cleaning of output file, default values for input file.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12564 c92efa57-630b-4861-b058-cf58834340f0
2016-07-06 13:02:52 +00:00
puma abf5013743 Some cleaning.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12563 c92efa57-630b-4861-b058-cf58834340f0
2016-07-06 12:58:46 +00:00
puma 55d3a2f694 igk_k inserted
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12562 c92efa57-630b-4861-b058-cf58834340f0
2016-07-06 12:14:42 +00:00
puma c44c2abd27 Bug corrected in Coulomb term for non orthorombic cells.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12561 c92efa57-630b-4861-b058-cf58834340f0
2016-07-06 12:13:48 +00:00
giannozz 02ce4df8d6 make.sys => make.inc. All other codes using make.sys should modify their build
mechanism accordingly.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12539 c92efa57-630b-4861-b058-cf58834340f0
2016-06-25 07:26:50 +00:00
puma d6cc8e9060 Bug coorected.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12508 c92efa57-630b-4861-b058-cf58834340f0
2016-06-20 12:06:24 +00:00
giannozz 083900417d More removal of I/O for index - harmless but please verify if head.x works
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12491 c92efa57-630b-4861-b058-cf58834340f0
2016-06-13 12:39:34 +00:00
puma 055f8e69b6 Oops
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12475 c92efa57-630b-4861-b058-cf58834340f0
2016-06-07 15:36:49 +00:00
puma f0b5de7569 Oops
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12474 c92efa57-630b-4861-b058-cf58834340f0
2016-06-07 15:36:09 +00:00
puma 332867bbaf Oops
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12473 c92efa57-630b-4861-b058-cf58834340f0
2016-06-07 15:35:27 +00:00
puma a8fad26ef2 Oops
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12472 c92efa57-630b-4861-b058-cf58834340f0
2016-06-07 15:34:43 +00:00
puma d4bf8e349e Added support for SOC calulations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12469 c92efa57-630b-4861-b058-cf58834340f0
2016-06-07 13:39:53 +00:00
giannozz 0091e313e1 Replicated, useless and confusing variable "outdir" in module io_files deleted
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12450 c92efa57-630b-4861-b058-cf58834340f0
2016-05-31 18:07:16 +00:00
giannozz cabca0a6be Recently introduced and no longer needed hack removed. Cleanup: it is not a
good idea to call "h_psi" a routine that does something related to but 
different from H\psi. Corrected a few grossly wrong comments.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12440 c92efa57-630b-4861-b058-cf58834340f0
2016-05-28 20:36:34 +00:00
giannozz df30a665aa Explicit preprocessing produces *_tmp.f90 files instead of *.F90 files, to
prevent trouble with OS-X. May or may not work (it won't unless configure
is updated: please somebody with v.2.63 of autoconf do it), may turn out to
be obsolete anyway.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12364 c92efa57-630b-4861-b058-cf58834340f0
2016-04-27 14:53:38 +00:00
giannozz ff7471ead0 Output of non-writing processes should not be redirected to /dev/null: it is
useless (the call to "environment_set" already does that) and breaks Windows


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12357 c92efa57-630b-4861-b058-cf58834340f0
2016-04-25 18:40:02 +00:00
giannozz 89c28406e6 "call flush" and "flush" are not the same. Only the latter syntax (which is
now the standard one) should be used (XLF doesn't like the former one)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12336 c92efa57-630b-4861-b058-cf58834340f0
2016-04-22 15:17:36 +00:00
giannozz d4db4fa486 Preprocessing option __PARA should not be used. Use __MPI instead.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12321 c92efa57-630b-4861-b058-cf58834340f0
2016-04-21 07:44:16 +00:00
ccavazzoni f19229a217 - adding one parameter to sticks_dist call.
Why fft_custom is still there?


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12271 c92efa57-630b-4861-b058-cf58834340f0
2016-03-31 09:31:24 +00:00
spigafi 0222214f42 Compile GWL in serial and parallel
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12262 c92efa57-630b-4861-b058-cf58834340f0
2016-03-25 22:29:49 +00:00
spigafi 0b5fe10cd4 Correct data-structure name -- please check it is correct
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12261 c92efa57-630b-4861-b058-cf58834340f0
2016-03-25 22:29:11 +00:00
puma 1f34217c75 Removed dependence on PHonon/Gamma and PP/src.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12260 c92efa57-630b-4861-b058-cf58834340f0
2016-03-25 15:22:05 +00:00
spigafi 3c37f2f6c7 (comment) line too long
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12246 c92efa57-630b-4861-b058-cf58834340f0
2016-03-24 16:32:39 +00:00
giannozz 7e8e743bb7 Obsolete stuff removed from new Makefile
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12241 c92efa57-630b-4861-b058-cf58834340f0
2016-03-23 15:04:57 +00:00
giannozz 4c34ba3ab3 make.depend updated; added missing make.depend for bse
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12240 c92efa57-630b-4861-b058-cf58834340f0
2016-03-23 14:55:51 +00:00
puma e612bd9bd7 Added GWL BSE code.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12235 c92efa57-630b-4861-b058-cf58834340f0
2016-03-21 11:36:52 +00:00
puma 6bb6019cd8 New BSE code.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12232 c92efa57-630b-4861-b058-cf58834340f0
2016-03-21 11:10:44 +00:00
puma c1481dfe19 Fortran files of new GWL BSE code.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12231 c92efa57-630b-4861-b058-cf58834340f0
2016-03-21 11:09:18 +00:00
timrov 96e5da1539 Moved the "lrpa" variable from the module "control_ph" to the module "control_lr".
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12149 c92efa57-630b-4861-b058-cf58834340f0
2016-02-20 17:34:35 +00:00
giannozz e710e342f3 Removal of unused "iunigk" variable
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12109 c92efa57-630b-4861-b058-cf58834340f0
2016-02-09 15:08:11 +00:00
giannozz 1fea499fae Since we are in the process of moving stuff around, I think it is a good
moment to get rid of flib/, whose usefulness is far from obvious. The content
of flib/ is now in Modules/. Many makefiles updated and little more. 

Packages using QE routines should just remove links to flib/flib.a.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12072 c92efa57-630b-4861-b058-cf58834340f0
2016-01-26 12:51:02 +00:00
ccavazzoni 0ac39fc1d3 - again LAXlib
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12060 c92efa57-630b-4861-b058-cf58834340f0
2016-01-23 20:08:09 +00:00