Commit Graph

778 Commits (493beaa751aef4aa4429c8c94b0a406c96a32356)

Author SHA1 Message Date
Salvatore Filippone 97a1cfca3e Merge branch 'unify_aggr_bld' into remap-coarse
Salvatore Filippone 76ff6c824c Fix GEN_BLOCK distribution search for owner process: binary search on
repeated keys
Salvatore Filippone 6b2abed8bb Reworked dep_list sorting. Take out obsolete functions
Salvatore Filippone 62a67a0d0e Fix sorting of dep_list: store in CSR-like, handle self-loops
Salvatore Filippone 56189f39fd Start reworking of handling of dependency lists.
Salvatore Filippone d9997e511f Fixed alterations for MAP routines and new internals
Salvatore Filippone 90493218a2 Change handling of no-context in DESC for remap-coarse
Salvatore Filippone d865bb91ca Defined new variant of allocate_mnnz for mixed IPK/LPK
Salvatore Filippone 2b295de9e7 New crea_index internals.
Salvatore Filippone debb03b6ae Prepare for alternative code path
Salvatore Filippone 487b2c2e1d Defined reallocate and safe_ab_cpy for intrinsic scalars.
Salvatore Filippone e9a8814338 Change default order for DUPL constants.
Cirdans-Home 6777e57d37 merge with merge-paraggr-newops
Salvatore Filippone 2a6107a937 Define psb_free_timers()
Salvatore Filippone 98349319e8 Cleanup DESC%FREE()
Cirdans-Home c0ccbe14f7 merge with unify_agg_build
Salvatore Filippone f499ffb203 New clear_defaults function, use it in psb_exit
Salvatore Filippone 7d3e4aec06 New name qry_halo_owner to distinguish from fnd_halo_owner
Salvatore Filippone 58b7489db9 New fnd_owner implementation, taking into account CD%REINIT
Salvatore Filippone 55666cc0fe Make sure p_adjcncy and halo_owner are preserved over desc%reinit
Cirdans-Home 5c34e3d853 Removed orphan implementation for scale plus identity
Cirdans-Home 01f4f718de Corrected implementation of scale plus identity for sparse matrices
Cirdans-Home 1c23654328 Added functions to compare the entries of two matrices or every entry of matrix with a value
Cirdans-Home 3b36c2196b Added implementation of A = alpha A + beta B for sparse matrices
Cirdans-Home dc55713541 Added generic interface psb_scalplusidentity for long integer spmat
Cirdans-Home e108416719 Added function for scaled sparse matrix plus identity
Cirdans-Home 814e09f5db Added interface (and C interface) to is_bld() for sparse matrices
Cirdans-Home d92b6c02cf Added interface (and C interface) to is_asb() for sparse matrices
Cirdans-Home c4cf78e7b8 Added interface (and C interface) to is_upd() for sparse matrices
Cirdans-Home a6db1b566c Added Interface (and C Interface) for nnz of a sparse matrix
Cirdans-Home 0f309850cc Corrected routine for weighted masked 2norm
Cirdans-Home 9e9a2e3975 Corrected implementation of @X@_base_inv_a2_check to be compliant with NVECTOR behavior
Salvatore Filippone 4c7fa23c8a New files for 2-bytes integer support. To be compiled and tested.
Cirdans-Home 5504e34161 Removed the out-interface for vector scaling
Cirdans-Home 28c1efe650 Corrected pass argument in div routines
Cirdans-Home 44f05510bc Added out-of-place axpby and relative c interface
Salvatore Filippone db22e832ee Add constants for 2-byte integers
Salvatore Filippone beeb123042 Fixed length char component.
Cirdans-Home 8bf0ff673b Added psb_minquotient function with C interface
Salvatore Filippone 99dc3f5d93 New par_spmm version with 4-byte matrices (with new sphalo variant)
Cirdans-Home fd89f2f1bf Added psb_gescal subroutine to entrywise scale distributed vector with C interface
Cirdans-Home ea9c469159 Added psb_geaddconst subroutine to add constant value to vector with C-interfaces
Cirdans-Home 439246e643 Added out-of-place entrywise division with C interfaces
Cirdans-Home 22e7df48da Added out-of-place psb_mlt subroutine interface
Cirdans-Home 0edb671d21 Added minimum of realtype distributed vectors
Salvatore Filippone 55989d2e8f Do not use allocatable characters
Cirdans-Home 7f42d63275 Added routine for logical all reduce and applied in psb_mask
Cirdans-Home b8ab997bc1 Added generation of mask vector for constraint tests psb_mask
Cirdans-Home e59932e496 chagend name to acmp for the compare routines
Cirdans-Home 87306f4d1a added weighted and masked 2 norm, and compare on complex vector
Cirdans-Home 1b214f3f00 added weighted 2-norm function
Salvatore Filippone 27bf7ec666 New get_a2av_alg() in place of conditional compilation
Cirdans-Home 63885c36c7 psb_geabs corrected version with test
Cirdans-Home f5709a2254 Added psb_geabs, final output not working
Salvatore Filippone 01ffca76d2 Change mat%print interface, and refactor.
Salvatore Filippone d3e4a091e8 Cosmetic cleanup
Salvatore Filippone 76d5c5f3ae Fixes for cases where IPK==LPK
Salvatore Filippone 936ef49e7d Further changes for ambiguous interfaces when IPK==LPK
Salvatore Filippone 3f08263eb6 Pretty-printing fixes
Salvatore Filippone af14080a34 Initial fixes for IPK==LPK
Salvatore Filippone 487fa54f06 Define coo%ensure_size method
Salvatore Filippone 10f47d731d Define versions of global transpose for IPK matrices
Salvatore Filippone e2653b1c60 New clip "in place" method
Salvatore Filippone 77542b9023 New global transpose methods
Salvatore Filippone 3207596a75 Change name to psb_simple_triad
Salvatore Filippone 0aaaa477d4 New triad_a2av method
Salvatore Filippone cea69503a4 New method for cleaning entries with negative indices in COO.
Salvatore Filippone 86872d9939 Define psb_simple_a2av
Salvatore Filippone 3cfdc033fd New structure for A2A and graph_fnd_owner
New implementation for A2A: use mpi_allgather and mpi_reduce_scatter,
with two variants: one for variable inputs, one for fixed size
inputs.
Modified graph_fnd_owner to pass padded and uniform sized input to
A2A.
Salvatore Filippone 9a2c1fe0a9 Merge branch 'development' into fnd_owner
# Conflicts:
#	base/internals/psi_extrct_dl.F90
#	base/internals/psi_symm_dep_list.F90
#	base/modules/desc/psb_indx_map_mod.f90
Salvatore Filippone 555907338e New versions of fnd_owner: do not use MPI_alltoallv
Salvatore Filippone 77cdfd6cae Merge branch 'merge-paraggr' into merge-paraggr-newops
# Conflicts:
#	docs/html/index.html
#	docs/html/userhtml.css
#	docs/html/userhtml.html
#	docs/psblas-3.7.pdf
#	docs/src/psbrout.tex
Salvatore Filippone 92dae92582 Align with new implementation of extract_dep_list.
Salvatore Filippone e97cab7ddc Take out N from alloc_vect
Salvatore Filippone e60e3c9d91 Changed default maxspace to -1
Salvatore Filippone 2b898aa14f New get_mpi_comm and get_mpi_rank, code and docs
Salvatore Filippone b9514ece40 New extract_dep_list from fnd_owner
Salvatore Filippone 43c1ccfc87 Extract_dep_list new symm
New dependency list symmetrizatoin, two alternatives: distributed, or
replicated after allgather.
Salvatore Filippone 0bacc130e7 Merge branch 'fnd_owner' into merge-paraggr
Salvatore Filippone 59e640c8a1 Fix error message for wrong IRST.
cirdans-home fcbe0d620a Added vector/scalar comparison routine
cirdans-home c1f3b2d9d4 Added entrywise inversion and documentation for vec-vec operation
cirdans-home db7b882e9c entrywise divide with zero check
cirdans-home ce6383b7ff Added Element-by-Element divison
Salvatore Filippone 122c154bca Merge branch 'merge-paraggr' into fnd_owner
Salvatore Filippone e95063701b Whitespace fixes
Salvatore Filippone cf6db2ea0b get_rank and get_mpicomm
Make psb_get_rank and  psb_get_mpicomm functions, not
subroutines. Document same.
cirdans-home f66d19e54b added entrywise vector product psb_gemlt
Salvatore Filippone 31ed911b1e New set/get_maxspace()
Salvatore Filippone 1da39b8bbf Factored symmetrization of del_list into its own routine.
Salvatore Filippone fc90423305 Make adj() argument allocatable so it can be adjusted for symmetry
Salvatore Filippone 6c31765b3f First draft of psi_graph_fnd_owner. Need to revise choice of algorithmic thresholds.
Salvatore Filippone 95dffe2f76 Refactor fnd_owner into graph_fnd_owner which may call a2a_ and adjcncy_
Salvatore Filippone 4507a6522a New indxmap component for process adjacency list, setters/getters.
Salvatore Filippone 3ae846edb5 Start refactoring of crea_index
Salvatore Filippone 2529225730 Changed fnd_owner internal names.
Salvatore Filippone 40204a7be6 Moved fnd_owner to internals impl. subdir
Salvatore Filippone 1d04fffbd4 Refactor map_fnd_owner, first step towards new version.
Salvatore Filippone b3d6a970ee Add adjncy component
Salvatore Filippone 4366ac4948 Move psb_indx_map_fnd_owner in modules/desc subdir, update makefiles.