Salvatore Filippone
58b7489db9
New fnd_owner implementation, taking into account CD%REINIT
5 years ago
Salvatore Filippone
055e342253
Move position of call to set_nzeros
5 years ago
Salvatore Filippone
26cfa837e5
Cosmetic changes for letter case conventions
5 years ago
Salvatore Filippone
55666cc0fe
Make sure p_adjcncy and halo_owner are preserved over desc%reinit
5 years ago
Cirdans-Home
166bd219ef
Corrected checkmat bugs in compare and get_nnz routines
5 years ago
Cirdans-Home
5c34e3d853
Removed orphan implementation for scale plus identity
5 years ago
Cirdans-Home
9e347fae90
Removed orphan subroutines for matrix info
5 years ago
Cirdans-Home
01f4f718de
Corrected implementation of scale plus identity for sparse matrices
5 years ago
Salvatore Filippone
91f737475e
Optimized version of X_glob_transpose: do not go through LX_glob_transpose.
5 years ago
Salvatore Filippone
dbc20d482e
In psb_rwextd use ensure_size instead of reallocate
5 years ago
Cirdans-Home
1c23654328
Added functions to compare the entries of two matrices or every entry of matrix with a value
5 years ago
Cirdans-Home
ca296fc0cf
Added missign @LX@ implementation of new sparse matrix sum routines
5 years ago
Cirdans-Home
3b36c2196b
Added implementation of A = alpha A + beta B for sparse matrices
5 years ago
Cirdans-Home
dc55713541
Added generic interface psb_scalplusidentity for long integer spmat
5 years ago
Cirdans-Home
e108416719
Added function for scaled sparse matrix plus identity
5 years ago
Cirdans-Home
814e09f5db
Added interface (and C interface) to is_bld() for sparse matrices
5 years ago
Cirdans-Home
d92b6c02cf
Added interface (and C interface) to is_asb() for sparse matrices
5 years ago
Cirdans-Home
c4cf78e7b8
Added interface (and C interface) to is_upd() for sparse matrices
5 years ago
Cirdans-Home
a6db1b566c
Added Interface (and C Interface) for nnz of a sparse matrix
5 years ago
Cirdans-Home
0f309850cc
Corrected routine for weighted masked 2norm
5 years ago
Cirdans-Home
9e9a2e3975
Corrected implementation of @X@_base_inv_a2_check to be compliant with NVECTOR behavior
5 years ago
Salvatore Filippone
4c7fa23c8a
New files for 2-bytes integer support. To be compiled and tested.
5 years ago
Cirdans-Home
5504e34161
Removed the out-interface for vector scaling
5 years ago
Cirdans-Home
28c1efe650
Corrected pass argument in div routines
5 years ago
Cirdans-Home
ea6ad3a85f
Corrected bug in out-of-place axpby
5 years ago
Cirdans-Home
44f05510bc
Added out-of-place axpby and relative c interface
5 years ago
Salvatore Filippone
db22e832ee
Add constants for 2-byte integers
5 years ago
Salvatore Filippone
beeb123042
Fixed length char component.
5 years ago
Cirdans-Home
8bf0ff673b
Added psb_minquotient function with C interface
5 years ago
Salvatore Filippone
99dc3f5d93
New par_spmm version with 4-byte matrices (with new sphalo variant)
5 years ago
Cirdans-Home
fd89f2f1bf
Added psb_gescal subroutine to entrywise scale distributed vector with C interface
5 years ago
Cirdans-Home
ea9c469159
Added psb_geaddconst subroutine to add constant value to vector with C-interfaces
5 years ago
Cirdans-Home
439246e643
Added out-of-place entrywise division with C interfaces
5 years ago
Cirdans-Home
22e7df48da
Added out-of-place psb_mlt subroutine interface
5 years ago
Cirdans-Home
0edb671d21
Added minimum of realtype distributed vectors
5 years ago
Cirdans-Home
15f89400c3
Correction to the psb_geinv implementation for out flag handling
5 years ago
Salvatore Filippone
55989d2e8f
Do not use allocatable characters
5 years ago
Cirdans-Home
7f42d63275
Added routine for logical all reduce and applied in psb_mask
5 years ago
Cirdans-Home
b8ab997bc1
Added generation of mask vector for constraint tests psb_mask
5 years ago
Cirdans-Home
e59932e496
chagend name to acmp for the compare routines
5 years ago
Cirdans-Home
87306f4d1a
added weighted and masked 2 norm, and compare on complex vector
5 years ago
Cirdans-Home
1b214f3f00
added weighted 2-norm function
5 years ago
Salvatore Filippone
27bf7ec666
New get_a2av_alg() in place of conditional compilation
5 years ago
Salvatore Filippone
6b2fa31ae1
Internal doc changes.
5 years ago
Cirdans-Home
63885c36c7
psb_geabs corrected version with test
5 years ago
Cirdans-Home
f5709a2254
Added psb_geabs, final output not working
5 years ago
Salvatore Filippone
cc9ef42464
Renamed macro SP_A2AV_MAT into SP_A2AV_TRIAD
5 years ago
Salvatore Filippone
cdaae0b484
Fix and unify SPHALO variants implementations.
5 years ago
Salvatore Filippone
d00182ee30
Fix MPI type declaration
5 years ago
Salvatore Filippone
193682a5a5
Fix integer KIND for some temporaries.
5 years ago
Salvatore Filippone
01ffca76d2
Change mat%print interface, and refactor.
5 years ago
Salvatore Filippone
d3e4a091e8
Cosmetic cleanup
5 years ago
Salvatore Filippone
d342e2d59e
Fixed borderline case for PSB_CDALL( VL=())
...
Code was hanging if VL was empty on some processes.
5 years ago
Salvatore Filippone
a59c79a2f8
*** empty log message ***
5 years ago
Salvatore Filippone
2944299aa7
Check sizes in graph_fnd_owner sampling code.
5 years ago
Salvatore Filippone
d031ef0763
Fix typo in internal docs.
5 years ago
Salvatore Filippone
76d5c5f3ae
Fixes for cases where IPK==LPK
5 years ago
Salvatore Filippone
936ef49e7d
Further changes for ambiguous interfaces when IPK==LPK
5 years ago
Salvatore Filippone
3f08263eb6
Pretty-printing fixes
5 years ago
Salvatore Filippone
af14080a34
Initial fixes for IPK==LPK
5 years ago
Salvatore Filippone
1d81cf4af9
Cleanup transpose, use coo%ensure_size
5 years ago
Salvatore Filippone
487fa54f06
Define coo%ensure_size method
5 years ago
Salvatore Filippone
ae051a2ea1
Optimize data handling in transpose.
5 years ago
Salvatore Filippone
10f47d731d
Define versions of global transpose for IPK matrices
5 years ago
Salvatore Filippone
e2653b1c60
New clip "in place" method
5 years ago
Salvatore Filippone
77542b9023
New global transpose methods
5 years ago
Salvatore Filippone
3207596a75
Change name to psb_simple_triad
5 years ago
Salvatore Filippone
0aaaa477d4
New triad_a2av method
5 years ago
Salvatore Filippone
cea69503a4
New method for cleaning entries with negative indices in COO.
5 years ago
Salvatore Filippone
86872d9939
Define psb_simple_a2av
5 years ago
Salvatore Filippone
7c491f06f9
Fixed implementation of SPGATHER
5 years ago
Salvatore Filippone
4a89e4b1c7
Finish variable replacement
5 years ago
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.
5 years ago
Salvatore Filippone
7c908c0849
Start mods for new fnd_owner
5 years ago
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
5 years ago
Salvatore Filippone
c3321aa981
Take out timings for now.
5 years ago
Salvatore Filippone
555907338e
New versions of fnd_owner: do not use MPI_alltoallv
5 years ago
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
5 years ago
Salvatore Filippone
41ef94538c
Additional improvements to internal docs.
5 years ago
Salvatore Filippone
e2bd21d9be
Update internal documentation.
5 years ago
Salvatore Filippone
92dae92582
Align with new implementation of extract_dep_list.
5 years ago
Salvatore Filippone
e97cab7ddc
Take out N from alloc_vect
5 years ago
Salvatore Filippone
4ed1ef4a0d
Additional internal docs for fnd_owner
5 years ago
Salvatore Filippone
c57aa2ac5c
Internal docs for fnd_owner variants.
5 years ago
Salvatore Filippone
e60e3c9d91
Changed default maxspace to -1
5 years ago
Salvatore Filippone
acae5f9278
Placed timing code in graph_fnd_owner
5 years ago
Salvatore Filippone
2b898aa14f
New get_mpi_comm and get_mpi_rank, code and docs
5 years ago
Salvatore Filippone
b9514ece40
New extract_dep_list from fnd_owner
5 years ago
Salvatore Filippone
43c1ccfc87
Extract_dep_list new symm
...
New dependency list symmetrizatoin, two alternatives: distributed, or
replicated after allgather.
5 years ago
Salvatore Filippone
0bacc130e7
Merge branch 'fnd_owner' into merge-paraggr
5 years ago
Salvatore Filippone
59e640c8a1
Fix error message for wrong IRST.
5 years ago
Salvatore Filippone
c845a7881e
Merge branch 'fnd_owner' of https://github.com/sfilippone/psblas3 into fnd_owner
5 years ago
Salvatore Filippone
70d19c04be
graph_fnd_owner cleanup
5 years ago
Salvatore Filippone
703214669a
Dead code cleanup
5 years ago
cirdans-home
fcbe0d620a
Added vector/scalar comparison routine
5 years ago
Salvatore Filippone
5bd6f0cca9
Add comments to adjcncy_fnd_owner
5 years ago
cirdans-home
d4fc54e75a
Corrected error in inv_vect implementation
5 years ago
Salvatore Filippone
f32f8e3387
Cosmetic changes in adjcncy_fnd_owner
5 years ago
Salvatore Filippone
caec98e942
New adjcncy and a2a fnd_owner
...
Reimplement adjcncy_fnd_owner to use alltoallv. Version with
sends/irecv still available under compile time constant.
Reimplement a2a_fnd_owner to use adjcncy_fnd_owner. Older version
still available under compile time constant.
5 years ago
cirdans-home
c1f3b2d9d4
Added entrywise inversion and documentation for vec-vec operation
5 years ago
cirdans-home
db7b882e9c
entrywise divide with zero check
5 years ago
Salvatore Filippone
cf3fce32c3
Update for new get_rank
5 years ago
cirdans-home
ce6383b7ff
Added Element-by-Element divison
5 years ago
Salvatore Filippone
122c154bca
Merge branch 'merge-paraggr' into fnd_owner
5 years ago
Salvatore Filippone
e95063701b
Whitespace fixes
5 years ago
Salvatore Filippone
cf6db2ea0b
get_rank and get_mpicomm
...
Make psb_get_rank and psb_get_mpicomm functions, not
subroutines. Document same.
5 years ago
Salvatore Filippone
4ff817f4f1
Take out debug prints
5 years ago
cirdans-home
f66d19e54b
added entrywise vector product psb_gemlt
5 years ago
Salvatore Filippone
374786f6ae
adjcncy_fnd_owner fix memory allocation
5 years ago
Salvatore Filippone
809e32a6be
adjcncy_fnd_owner with irecv
...
Implement adjcncy_fnd_owner with irecv to improve performance instead
of psb_snd/psb_rcv. To be fully debugged.
5 years ago
Salvatore Filippone
410c0c9995
graph_fnd_owner sweep
...
Implement initial sweep in graph_fnd_owner based on user-provided
topology.
Cleanup old indx_map implementation.
New test program just for testing cdasb.
5 years ago
Salvatore Filippone
79a25a80ed
Cosmetic changes to graph_fnd_owner
5 years ago
Salvatore Filippone
6258b9ff66
use desc_mod instead of indx_map_mod to pull interface of cd_get_maxspace
5 years ago
Salvatore Filippone
31ed911b1e
New set/get_maxspace()
5 years ago
Salvatore Filippone
e2bd101ded
Fix typos in source.
5 years ago
Salvatore Filippone
1da39b8bbf
Factored symmetrization of del_list into its own routine.
5 years ago
Salvatore Filippone
fc90423305
Make adj() argument allocatable so it can be adjusted for symmetry
5 years ago
Salvatore Filippone
6732106bc2
First version of adjncy_fnd_owner. To be fully tested.
5 years ago
Salvatore Filippone
6c31765b3f
First draft of psi_graph_fnd_owner. Need to revise choice of algorithmic thresholds.
5 years ago
Salvatore Filippone
95dffe2f76
Refactor fnd_owner into graph_fnd_owner which may call a2a_ and adjcncy_
5 years ago
Salvatore Filippone
4507a6522a
New indxmap component for process adjacency list, setters/getters.
5 years ago
Salvatore Filippone
ce115b1318
Put in a safety margin in reallocation of dep_list. To be reworked completely.
5 years ago
Salvatore Filippone
8ae408fa03
Improved memory allocation in extract_dep_list
5 years ago
Salvatore Filippone
3ae846edb5
Start refactoring of crea_index
5 years ago
Salvatore Filippone
65092a42b1
Split hash_impl from desc_impl.
5 years ago
Salvatore Filippone
2529225730
Changed fnd_owner internal names.
5 years ago
Salvatore Filippone
40204a7be6
Moved fnd_owner to internals impl. subdir
5 years ago
Salvatore Filippone
1d04fffbd4
Refactor map_fnd_owner, first step towards new version.
5 years ago
Salvatore Filippone
b3d6a970ee
Add adjncy component
5 years ago
Salvatore Filippone
4366ac4948
Move psb_indx_map_fnd_owner in modules/desc subdir, update makefiles.
5 years ago
Salvatore Filippone
b83ec80619
Fix scan_sum, define V version
5 years ago
Salvatore Filippone
d189083816
Check and enforce allocation of indxmap%halo_owner
5 years ago
Salvatore Filippone
c54076ed97
Kludge: defined indx_map%cpy method, use same in %clone. To be reviewed
5 years ago
Salvatore Filippone
62c21836f0
Fix REINIT use of array constants with implicit loops using IPK/LPK
5 years ago
Salvatore Filippone
768344d93f
Add version of CDINS with lpk NZ
5 years ago
Salvatore Filippone
c338e7b799
New LPK set_nzeros for COO
5 years ago
Salvatore Filippone
319d2831b7
New methods for LX%set_nrows with IPK/LPK
5 years ago
Salvatore Filippone
634c2e0aa5
Implement clip_diag for LX
5 years ago
Salvatore Filippone
ece66421bf
Add len arg in declaration.
5 years ago
Salvatore Filippone
a65626c7b0
Merge fnd_halo_owner method and setup
5 years ago
Salvatore Filippone
10b802743e
Change constant name to psb_c_Xpk_
5 years ago
Salvatore Filippone
71059dc783
Version of sphalo for LX_csr.
5 years ago
Salvatore Filippone
40755d6279
New method par_csr_spspmm.
5 years ago
Salvatore Filippone
22d76d1e48
Fix SYM handling at spmat level.
5 years ago
Salvatore Filippone
dcedab8ae0
New usehash argument in CDALL. Still need to put in a heuristics for
...
gen_block with too many cores
5 years ago
Salvatore Filippone
2f07fc5220
New scan_sum and exscan_sum collectives.
5 years ago
Salvatore Filippone
b97bdf3d2e
Added timers facility.
5 years ago
Salvatore Filippone
5a61fbd2c0
Duplicated matrix entries should be ADDED by default.
5 years ago
Salvatore Filippone
7e2ffbf34d
New handling of SYMmetry
6 years ago
Salvatore Filippone
239f25a913
Memory allocation for COO/CSC/CSR.
6 years ago
Salvatore Filippone
57d08dc4d7
Formatting source code fixes.
6 years ago
Salvatore Filippone
242b9ec91f
New variant of psb_spins in CSR mode. Document same.
6 years ago
Salvatore Filippone
9a6d9ac5c4
Aux space spspmm estimate was wrong, reverted.
6 years ago
Salvatore Filippone
5abe99196c
Fix calls to checkvect in data exchange functions, take 2.
6 years ago
Salvatore Filippone
113478ea64
Fix calls to checkvect in data exchange functions.
6 years ago
Salvatore Filippone
08063d4f48
Deallocate output if needed in indxmap%clone.
6 years ago
Salvatore Filippone
3bafaa242a
New checkvect interface, and use.
6 years ago
Salvatore Filippone
3ecdb7d026
Explicitly free output descriptor on desc%clone.
6 years ago
Salvatore Filippone
4789277b19
Fixed switch to build state for overlap descriptor.
6 years ago
Salvatore Filippone
51e50120bd
Add move_alloc method to sparse matrix.
6 years ago
Salvatore Filippone
fd8ce4f3de
New linmap internal structure.
6 years ago
Salvatore Filippone
300762ed29
Fix map build for gen_linear.
6 years ago
Salvatore Filippone
a9f4470d34
Better allocation of temporaries in SPHALO.
6 years ago
Salvatore Filippone
a019bfcf33
Fix sphalo to have calls to CSGET with full output.
6 years ago
Salvatore Filippone
e5535835ec
Implement clean_zeros for CSC and CSR
6 years ago
Salvatore Filippone
a96cd70afa
Fix stray #elif
6 years ago
Salvatore Filippone
ad763bd364
Fix bookkeeping in Xsphalo.
...
Fix cd_renum_block description
6 years ago
Salvatore Filippone
2ce1d94580
New RENUM_BLOCK method.
6 years ago
Salvatore Filippone
99b23f26c1
Additional docs inside GEN_BLOCK_MAP.
6 years ago
Salvatore Filippone
e828a2a45a
Additional constraints in makefile.
6 years ago
Salvatore Filippone
5d476495fe
Fix internal interfaces in GEN_BLOCK_MAP.
6 years ago
Salvatore Filippone
6dda7339b5
Restore mistakenly deleted sources.
6 years ago
Salvatore Filippone
638f777322
Fix SPMAT take out LX_icsget; in search of a better solution.
6 years ago
Salvatore Filippone
c29ea43990
Fix silly bug in rw_extd cleanup code when NR > MA+MB.
6 years ago
Salvatore Filippone
d3c6bfb5f1
In CSCNV we should call b%set_asb(), not b%asb()
6 years ago
Salvatore Filippone
06a1fa560f
Finer control over statistics printed by CDPRT.
6 years ago
Salvatore Filippone
f858a2e610
Include sort module.
6 years ago
Salvatore Filippone
cd8ae65c85
Take out GTL arg from CSPUT.
6 years ago
Salvatore Filippone
cd355ea1f0
Obsolete hasval.c
6 years ago
Salvatore Filippone
af9d5941ab
Update version number
6 years ago
Salvatore Filippone
8d489f8ce2
Merged MixedI8 in new branch (to be later merged into development)
6 years ago
Salvatore Filippone
d366da81f6
Renamed C hashval implementation.
6 years ago
Salvatore Filippone
c7312ab54c
Reimplemented hash function in C to avoid overflow trap.
6 years ago
Salvatore Filippone
dc73b5d9ab
C implementation of hash function.
6 years ago
Salvatore Filippone
9488a91d48
Fix implicit none.
6 years ago
Salvatore Filippone
4dc21ec7e2
Fix chksz in getblk.
6 years ago
Salvatore Filippone
f2e247c8a8
Take out obsolete method impl.
6 years ago
Salvatore Filippone
d52fdf9be2
Updated version number and docs for prec%init.
6 years ago
Salvatore Filippone
1a5ee8c46a
Fix bounds computation in set_vect. Bug report by Alexandre Silva Lopes
6 years ago
Salvatore Filippone
e5ed49a018
Add N to get_vect.
6 years ago
Salvatore Filippone
ae2e575a29
Cleanup error returns.
6 years ago
Salvatore Filippone
6c6d2c71ee
Optional argument in GETROW.
6 years ago
Salvatore Filippone
42d5a85e25
Implement TRIL/TRIU for CSR.
7 years ago
Salvatore Filippone
663fa5b8e5
Implement TRIL/TRIU with blocking.
7 years ago
Salvatore Filippone
ee6992e938
Avoid divide by zero for desc printout.
7 years ago
Salvatore Filippone
ad1b6e7074
Fix copyright string.
7 years ago
Salvatore Filippone
9e90a04e31
Change default in CDALL with VL: no global checks.
...
Split psb_cd_choose_large_state with psb_cd_is_large.
7 years ago
Salvatore Filippone
eaaa701c2e
New interface for methods with global reductions.
7 years ago
Salvatore Filippone
462f1d098c
Modified internals to have tmp_ovrlap in local numbering.
...
Also simplified crea_index taking out isglob argument.
Fixed bldext, cdall & friends accordingly.
7 years ago
Salvatore Filippone
39fdc18ef8
Merge branch 'master' of https://github.com/sfilippone/psblas3
7 years ago