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)
2 weeks ago
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).
3 weeks ago
jalmerol
b8d41569fd
Add double-precision nested block-structured matrix/vector layer
3 weeks ago
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
3 weeks ago
Stack-1
4b8e4dd4a3
[UPDATE] Refactor after template update for RMA routines
4 weeks ago
Stack-1
461a6a325f
[UPDATE] Removed work/aux buffer from vector routines that use psb_x_vect_type encapsulation for data exchange
3 months ago
sfilippone
d2fba9e952
Fix licensing text
3 months ago
sfilippone
ea6c4181f7
Changed all defines with prefix PSB_
1 year ago
sfilippone
4461b44eda
Change name abgdxyz into upd_xyz
2 years ago
Salvatore Filippone
6c53b6ec79
Fix typo in interface for psb_abgdxyz
2 years ago
Salvatore Filippone
14c4ff0f32
Added new methd for two combined axpbys
2 years ago
Cirdans-Home
3e6fdd39e4
Corrected bug in interfaces for genrm2
5 years ago
Cirdans-Home
1c23654328
Added functions to compare the entries of two matrices or every entry of matrix with a value
6 years ago
Cirdans-Home
814e09f5db
Added interface (and C interface) to is_bld() for sparse matrices
6 years ago
Cirdans-Home
d92b6c02cf
Added interface (and C interface) to is_asb() for sparse matrices
6 years ago
Cirdans-Home
c4cf78e7b8
Added interface (and C interface) to is_upd() for sparse matrices
6 years ago
Cirdans-Home
a6db1b566c
Added Interface (and C Interface) for nnz of a sparse matrix
6 years ago
Cirdans-Home
5504e34161
Removed the out-interface for vector scaling
6 years ago
Cirdans-Home
44f05510bc
Added out-of-place axpby and relative c interface
6 years ago
Cirdans-Home
8bf0ff673b
Added psb_minquotient function with C interface
6 years ago
Cirdans-Home
fd89f2f1bf
Added psb_gescal subroutine to entrywise scale distributed vector with C interface
6 years ago
Cirdans-Home
ea9c469159
Added psb_geaddconst subroutine to add constant value to vector with C-interfaces
6 years ago
Cirdans-Home
439246e643
Added out-of-place entrywise division with C interfaces
6 years ago
Cirdans-Home
22e7df48da
Added out-of-place psb_mlt subroutine interface
6 years ago
Cirdans-Home
0edb671d21
Added minimum of realtype distributed vectors
6 years ago
Cirdans-Home
b8ab997bc1
Added generation of mask vector for constraint tests psb_mask
6 years ago
Cirdans-Home
87306f4d1a
added weighted and masked 2 norm, and compare on complex vector
6 years ago
Cirdans-Home
1b214f3f00
added weighted 2-norm function
6 years ago
Cirdans-Home
f5709a2254
Added psb_geabs, final output not working
6 years ago
cirdans-home
fcbe0d620a
Added vector/scalar comparison routine
7 years ago
cirdans-home
c1f3b2d9d4
Added entrywise inversion and documentation for vec-vec operation
7 years ago
cirdans-home
db7b882e9c
entrywise divide with zero check
7 years ago
cirdans-home
ce6383b7ff
Added Element-by-Element divison
7 years ago
cirdans-home
f66d19e54b
added entrywise vector product psb_gemlt
7 years ago
Salvatore Filippone
eaaa701c2e
New interface for methods with global reductions.
8 years ago
Salvatore Filippone
c774783057
Updated copyright statement
9 years ago
Salvatore Filippone
de0596d677
psblas3:
...
New affiliation and fix compyright formatting.
9 years ago
Salvatore Filippone
de68ae1d64
psblas3:
...
Modified copyright format for all Fortran file.
9 years ago
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.
10 years ago