Commit Graph

6 Commits

Author SHA1 Message Date
Paolo Giannozzi 125077923f Parallelization choice made more fool-proof 2022-01-16 22:50:47 +01:00
Ye Luo 13e00cc76f Respect communicator when initializing laxlib. 2021-11-12 19:30:18 -06:00
Victor Yu 351f4871fe Clean up redundant ELPA preprocessing flags
__ELPA_2017, __ELPA_2018, __ELPA_2019, and __ELPA_2020 were removed. Now
we have three:

* __ELPA_2015: compatible with ELPA 2015.x, 2016.05
* __ELPA_2016: compatible with ELPA 2016.11, 2017.x, 2018.05
* __ELPA (default): compatible with ELPA 2018.11, 2019.x, 2020.x
2021-03-08 10:45:32 -08:00
Victor Yu 69d42a40eb Improve support for recent versions of ELPA
* Always ask for error code when calling elpa_deallocate and elpa_uninit.
  Depending on the version and configure options of ELPA, the error code
  may or may not be optional.
* Update doc and configure to reflect that ELPA 2020.x is supported.
2021-03-07 21:26:19 -05:00
Paolo Giannozzi 18b661128b In the recent small reorganization of parallel linear algebra, the latter was
not initialized at all in the serial case. This however breaks a few cases,
such as e.g. ppcg, in which the serial case is not treated in a specific way.
2021-01-14 09:27:08 +00:00
Paolo Giannozzi 36cb482ff3 Initialization of linear-algebra communicators for parallelization re-ordered.
Now communicators are started in a new routine set_para_diag and no longer at
startup. Function check_para_diag moved into subroutine set_para_diag.
The functionality does not change but in the future this re-ordering will allow
to set linear-algebra parallelization at run-time based on system size.
2021-01-12 11:07:24 +00:00