Stack-1
acdd2e9eb5
[ADD] Nested (MATNEST-style) block matrix support and tests
...
Add a block-structured distributed operator that presents itself to Krylov
solvers and preconditioners as a single ordinary distributed matrix (the
PSBLAS analogue of PETSc MATNEST), targeting saddle-point systems
M = [[A, B^T], [B, 0]] with possibly rectangular sub-blocks.
Library (base/modules):
- psb_desc_nest_mod, psb_d_nest_mat_mod: grid of per-field descriptors and
per-block sparse storage.
- psb_d_nest_base_mat_mod: psb_d_nest_base_mat, the operator extending
psb_d_base_sparse_mat (local csmv, free, field-split hooks for a future
block preconditioner).
- psb_cd_nest_tools_mod / psb_d_nest_tools_mod: composed global descriptor
with union halo (psb_cd_nest_compose) and rectangular local block builder
(psb_d_nest_rect_block), plus the per-block assembly wrappers.
- psb_d_nest_builder_mod: psb_d_nest_matrix, the user frontend with the
init/ins/asb/free pattern hiding all descriptor/halo/compose/setup
boilerplate.
- psb_d_nest_mod: umbrella module (use psb_d_nest_mod).
Remove the earlier bespoke per-block prototype (comm/psblas/vect modules and
the pde_nest_psblas test) superseded by the single MATNEST design.
Tests (test/nested): glob (square operator vs monolithic CSR oracle), rect
(genuinely rectangular blocks), cg (low-level path, ill-conditioned SPD
red-black Laplacian solved with standard CG), builder (same solve via the
utility), plus a README describing the design and usage. All pass serially
and in parallel, with results invariant to the process count.
Build hooks updated (autotools Makefiles + CMakeLists); the nested tests are
relocated out of test/pdegen into test/nested.
Author: Simone Staccone (Stack-1)
2026-06-11 16:53:46 +02:00
Stack-1
784c3cc0b4
Drop stale work argument from psb_d_nest_spsm
...
The nested layer was imported from an older base where the vector psb_spsm
still took a work buffer. communication_v2 removed work from the psb_x_vect_type
routines, so psb_dspsv_vect has no work argument and the call failed generic
resolution. Remove work from psb_d_nest_spsm (signature, declaration, call).
2026-06-05 12:45:00 +02:00
jalmerol
b8d41569fd
Add double-precision nested block-structured matrix/vector layer
2026-06-05 00:27:41 +02:00
Stack-1
f725ccdeeb
Merge branch 'development' into communication_v2
...
# Conflicts:
# base/CMakeLists.txt
# base/comm/internals/psi_cswapdata.F90
# base/comm/internals/psi_dswapdata.F90
# base/comm/internals/psi_iswapdata.F90
# base/comm/internals/psi_lswapdata.F90
# base/comm/internals/psi_sswapdata.F90
# base/comm/internals/psi_zswapdata.F90
# base/modules/Makefile
# base/modules/comm/psb_i2_comm_mod.f90
# base/modules/comm/psi_i2_comm_v_mod.f90
# base/modules/serial/psb_i2_base_vect_mod.F90
# test/computational_routines/spmm/spmm_checker
2026-06-04 22:31:01 +02:00
Stack-1
4b8e4dd4a3
[UPDATE] Refactor after template update for RMA routines
2026-05-26 13:14:19 +02:00
Stack-1
461a6a325f
[UPDATE] Removed work/aux buffer from vector routines that use psb_x_vect_type encapsulation for data exchange
2026-03-19 17:36:44 +01:00
sfilippone
d2fba9e952
Fix licensing text
2026-03-18 14:49:55 +01:00
sfilippone
ea6c4181f7
Changed all defines with prefix PSB_
2025-03-14 12:54:18 +01:00
sfilippone
4461b44eda
Change name abgdxyz into upd_xyz
2024-07-29 16:59:27 +02:00
Salvatore Filippone
6c53b6ec79
Fix typo in interface for psb_abgdxyz
2024-02-13 15:48:43 +01:00
Salvatore Filippone
14c4ff0f32
Added new methd for two combined axpbys
2024-02-12 14:15:19 +01:00
Cirdans-Home
3e6fdd39e4
Corrected bug in interfaces for genrm2
2021-02-01 16:44:24 +01:00
Cirdans-Home
1c23654328
Added functions to compare the entries of two matrices or every entry of matrix with a value
2020-04-09 19:25:09 +02:00
Cirdans-Home
814e09f5db
Added interface (and C interface) to is_bld() for sparse matrices
2020-04-06 14:11:31 +02:00
Cirdans-Home
d92b6c02cf
Added interface (and C interface) to is_asb() for sparse matrices
2020-04-06 14:00:21 +02:00
Cirdans-Home
c4cf78e7b8
Added interface (and C interface) to is_upd() for sparse matrices
2020-04-06 13:50:48 +02:00
Cirdans-Home
a6db1b566c
Added Interface (and C Interface) for nnz of a sparse matrix
2020-04-06 12:49:41 +02:00
Cirdans-Home
5504e34161
Removed the out-interface for vector scaling
2020-03-30 21:48:26 +02:00
Cirdans-Home
44f05510bc
Added out-of-place axpby and relative c interface
2020-03-10 17:34:08 +01:00
Cirdans-Home
8bf0ff673b
Added psb_minquotient function with C interface
2020-02-26 23:37:15 +01:00
Cirdans-Home
fd89f2f1bf
Added psb_gescal subroutine to entrywise scale distributed vector with C interface
2020-02-26 19:34:14 +01:00
Cirdans-Home
ea9c469159
Added psb_geaddconst subroutine to add constant value to vector with C-interfaces
2020-02-26 18:48:04 +01:00
Cirdans-Home
439246e643
Added out-of-place entrywise division with C interfaces
2020-02-26 13:25:24 +01:00
Cirdans-Home
22e7df48da
Added out-of-place psb_mlt subroutine interface
2020-02-26 09:46:59 +01:00
Cirdans-Home
0edb671d21
Added minimum of realtype distributed vectors
2020-02-25 17:22:49 +01:00
Cirdans-Home
b8ab997bc1
Added generation of mask vector for constraint tests psb_mask
2020-02-21 17:06:03 +01:00
Cirdans-Home
87306f4d1a
added weighted and masked 2 norm, and compare on complex vector
2020-02-21 13:12:23 +01:00
Cirdans-Home
1b214f3f00
added weighted 2-norm function
2020-02-21 09:56:10 +01:00
Cirdans-Home
f5709a2254
Added psb_geabs, final output not working
2020-02-17 22:41:51 +01:00
cirdans-home
fcbe0d620a
Added vector/scalar comparison routine
2019-11-28 11:32:37 +01:00
cirdans-home
c1f3b2d9d4
Added entrywise inversion and documentation for vec-vec operation
2019-11-21 13:57:11 +01:00
cirdans-home
db7b882e9c
entrywise divide with zero check
2019-11-20 18:22:38 +01:00
cirdans-home
ce6383b7ff
Added Element-by-Element divison
2019-11-20 15:45:35 +01:00
cirdans-home
f66d19e54b
added entrywise vector product psb_gemlt
2019-11-20 10:20:48 +01:00
Salvatore Filippone
eaaa701c2e
New interface for methods with global reductions.
2018-04-20 15:13:36 +01:00
Salvatore Filippone
c774783057
Updated copyright statement
2018-01-28 09:28:57 +00:00
Salvatore Filippone
de0596d677
psblas3:
...
New affiliation and fix compyright formatting.
2017-04-03 15:56:11 +00:00
Salvatore Filippone
de68ae1d64
psblas3:
...
Modified copyright format for all Fortran file.
2017-03-23 11:34:29 +00:00
Salvatore Filippone
c3813ad217
psblas3:
...
base/modules/Makefile
base/modules/aux
base/modules/aux/psb_c_sort_mod.f90
base/modules/aux/psb_d_sort_mod.f90
base/modules/aux/psb_hash_mod.f90
base/modules/aux/psb_i_sort_mod.f90
base/modules/aux/psb_ip_reord_mod.f90
base/modules/aux/psb_s_sort_mod.f90
base/modules/aux/psb_sort_mod.f90
base/modules/aux/psb_string_mod.f90
base/modules/aux/psb_z_sort_mod.f90
base/modules/aux/psi_c_serial_mod.f90
base/modules/aux/psi_d_serial_mod.f90
base/modules/aux/psi_i_serial_mod.f90
base/modules/aux/psi_s_serial_mod.f90
base/modules/aux/psi_serial_mod.f90
base/modules/aux/psi_z_serial_mod.f90
base/modules/comm
base/modules/comm/psb_base_linmap_mod.f90
base/modules/comm/psb_c_comm_mod.f90
base/modules/comm/psb_c_linmap_mod.f90
base/modules/comm/psb_comm_mod.f90
base/modules/comm/psb_d_comm_mod.f90
base/modules/comm/psb_d_linmap_mod.f90
base/modules/comm/psb_i_comm_mod.f90
base/modules/comm/psb_linmap_mod.f90
base/modules/comm/psb_s_comm_mod.f90
base/modules/comm/psb_s_linmap_mod.f90
base/modules/comm/psb_z_comm_mod.f90
base/modules/comm/psb_z_linmap_mod.f90
base/modules/desc
base/modules/desc/psb_desc_const_mod.f90
base/modules/desc/psb_desc_mod.F90
base/modules/desc/psb_gen_block_map_mod.f90
base/modules/desc/psb_glist_map_mod.f90
base/modules/desc/psb_hash_map_mod.f90
base/modules/desc/psb_indx_map_mod.f90
base/modules/desc/psb_list_map_mod.f90
base/modules/desc/psb_repl_map_mod.f90
base/modules/psb_base_linmap_mod.f90
base/modules/psb_base_mat_mod.f90
base/modules/psb_c_base_mat_mod.f90
base/modules/psb_c_base_vect_mod.f90
base/modules/psb_c_comm_mod.f90
base/modules/psb_c_csc_mat_mod.f90
base/modules/psb_c_csr_mat_mod.f90
base/modules/psb_c_linmap_mod.f90
base/modules/psb_c_mat_mod.f90
base/modules/psb_c_psblas_mod.F90
base/modules/psb_c_serial_mod.f90
base/modules/psb_c_sort_mod.f90
base/modules/psb_c_tools_mod.f90
base/modules/psb_c_vect_mod.F90
base/modules/psb_cd_tools_mod.f90
base/modules/psb_comm_mod.f90
base/modules/psb_d_base_mat_mod.f90
base/modules/psb_d_base_vect_mod.f90
base/modules/psb_d_comm_mod.f90
base/modules/psb_d_csc_mat_mod.f90
base/modules/psb_d_csr_mat_mod.f90
base/modules/psb_d_linmap_mod.f90
base/modules/psb_d_mat_mod.f90
base/modules/psb_d_psblas_mod.F90
base/modules/psb_d_serial_mod.f90
base/modules/psb_d_sort_mod.f90
base/modules/psb_d_tools_mod.f90
base/modules/psb_d_vect_mod.F90
base/modules/psb_desc_const_mod.f90
base/modules/psb_desc_mod.F90
base/modules/psb_gen_block_map_mod.f90
base/modules/psb_glist_map_mod.f90
base/modules/psb_hash_map_mod.f90
base/modules/psb_hash_mod.f90
base/modules/psb_i_base_vect_mod.f90
base/modules/psb_i_comm_mod.f90
base/modules/psb_i_sort_mod.f90
base/modules/psb_i_tools_mod.f90
base/modules/psb_i_vect_mod.F90
base/modules/psb_indx_map_mod.f90
base/modules/psb_ip_reord_mod.f90
base/modules/psb_linmap_mod.f90
base/modules/psb_list_map_mod.f90
base/modules/psb_mat_mod.f90
base/modules/psb_psblas_mod.f90
base/modules/psb_repl_map_mod.f90
base/modules/psb_s_base_mat_mod.f90
base/modules/psb_s_base_vect_mod.f90
base/modules/psb_s_comm_mod.f90
base/modules/psb_s_csc_mat_mod.f90
base/modules/psb_s_csr_mat_mod.f90
base/modules/psb_s_linmap_mod.f90
base/modules/psb_s_mat_mod.f90
base/modules/psb_s_psblas_mod.F90
base/modules/psb_s_serial_mod.f90
base/modules/psb_s_sort_mod.f90
base/modules/psb_s_tools_mod.f90
base/modules/psb_s_vect_mod.F90
base/modules/psb_serial_mod.f90
base/modules/psb_sort_mod.f90
base/modules/psb_sort_mod_save.f90
base/modules/psb_string_mod.f90
base/modules/psb_tools_mod.f90
base/modules/psb_vect_mod.f90
base/modules/psb_z_base_mat_mod.f90
base/modules/psb_z_base_vect_mod.f90
base/modules/psb_z_comm_mod.f90
base/modules/psb_z_csc_mat_mod.f90
base/modules/psb_z_csr_mat_mod.f90
base/modules/psb_z_linmap_mod.f90
base/modules/psb_z_mat_mod.f90
base/modules/psb_z_psblas_mod.F90
base/modules/psb_z_serial_mod.f90
base/modules/psb_z_sort_mod.f90
base/modules/psb_z_tools_mod.f90
base/modules/psb_z_vect_mod.F90
base/modules/psblas
base/modules/psblas/psb_c_psblas_mod.F90
base/modules/psblas/psb_d_psblas_mod.F90
base/modules/psblas/psb_psblas_mod.f90
base/modules/psblas/psb_s_psblas_mod.F90
base/modules/psblas/psb_z_psblas_mod.F90
base/modules/psi_c_serial_mod.f90
base/modules/psi_d_serial_mod.f90
base/modules/psi_i_serial_mod.f90
base/modules/psi_s_serial_mod.f90
base/modules/psi_serial_mod.f90
base/modules/psi_z_serial_mod.f90
base/modules/serial
base/modules/serial/psb_base_mat_mod.f90
base/modules/serial/psb_c_base_mat_mod.f90
base/modules/serial/psb_c_base_vect_mod.f90
base/modules/serial/psb_c_csc_mat_mod.f90
base/modules/serial/psb_c_csr_mat_mod.f90
base/modules/serial/psb_c_mat_mod.f90
base/modules/serial/psb_c_serial_mod.f90
base/modules/serial/psb_c_vect_mod.F90
base/modules/serial/psb_d_base_mat_mod.f90
base/modules/serial/psb_d_base_vect_mod.f90
base/modules/serial/psb_d_csc_mat_mod.f90
base/modules/serial/psb_d_csr_mat_mod.f90
base/modules/serial/psb_d_mat_mod.f90
base/modules/serial/psb_d_serial_mod.f90
base/modules/serial/psb_d_vect_mod.F90
base/modules/serial/psb_i_base_vect_mod.f90
base/modules/serial/psb_i_vect_mod.F90
base/modules/serial/psb_mat_mod.f90
base/modules/serial/psb_s_base_mat_mod.f90
base/modules/serial/psb_s_base_vect_mod.f90
base/modules/serial/psb_s_csc_mat_mod.f90
base/modules/serial/psb_s_csr_mat_mod.f90
base/modules/serial/psb_s_mat_mod.f90
base/modules/serial/psb_s_serial_mod.f90
base/modules/serial/psb_s_vect_mod.F90
base/modules/serial/psb_serial_mod.f90
base/modules/serial/psb_vect_mod.f90
base/modules/serial/psb_z_base_mat_mod.f90
base/modules/serial/psb_z_base_vect_mod.f90
base/modules/serial/psb_z_csc_mat_mod.f90
base/modules/serial/psb_z_csr_mat_mod.f90
base/modules/serial/psb_z_mat_mod.f90
base/modules/serial/psb_z_serial_mod.f90
base/modules/serial/psb_z_vect_mod.F90
base/modules/tools
base/modules/tools/psb_c_tools_mod.f90
base/modules/tools/psb_cd_tools_mod.f90
base/modules/tools/psb_d_tools_mod.f90
base/modules/tools/psb_i_tools_mod.f90
base/modules/tools/psb_s_tools_mod.f90
base/modules/tools/psb_tools_mod.f90
base/modules/tools/psb_z_tools_mod.f90
configure.ac
configure
Mreged reorganization of the base/modules subdir from newdesc branch.
2016-06-03 12:51:59 +00:00