Salvatore Filippone
adbae358e4
Improve cleanup on psb_close
5 years ago
Salvatore Filippone
547631a7f4
Take out obsolete X_sort_mod
5 years ago
Salvatore Filippone
1c98111fd9
More interface mismatch fixes
5 years ago
Salvatore Filippone
340c191e7f
First round of cleanup build warnings
5 years ago
Salvatore Filippone
a673bf8bf1
Fix inconsistency in %csget
5 years ago
Salvatore Filippone
6f92b7bfb3
Simplify G2L
5 years ago
Salvatore Filippone
1dc28fb710
Cosmetic changes in psi_penv
5 years ago
Salvatore Filippone
23c9a71ed6
Merged changes from maintenance, improve serial compilation and fake MPI.
5 years ago
Salvatore Filippone
ceda17be7e
Fix internals for SERIAL_MPI
5 years ago
Salvatore Filippone
583ca19e9c
Add support for size statistics
5 years ago
Salvatore Filippone
493beaa751
Minor formatting
5 years ago
Salvatore Filippone
875ef40724
Missing USE statement for psb_error_check, make it public
5 years ago
Salvatore Filippone
aeb1397e9f
Fix error_impl, and add check_error()
5 years ago
Salvatore Filippone
81fc75a091
Fixes for memory leaks in the C interface
5 years ago
Cirdans-Home
3e6fdd39e4
Corrected bug in interfaces for genrm2
5 years ago
Salvatore Filippone
3e318e1a84
Initialize INFO
5 years ago
Cirdans-Home
9a2ea73d81
psb_dnrm2_weight working also for GPUs
5 years ago
Cirdans-Home
73605bdda0
Bugfix weighted norm FIXME for GPU
5 years ago
Salvatore Filippone
0232ed755f
Improve descriptor lists handling.
5 years ago
Cirdans-Home
e64d52cbc2
Added routine to get integer context for c-mpi interoperability
5 years ago
Salvatore Filippone
0a0812938b
Merge branch 'new-context' into remap-coarse
...
# Conflicts:
# base/modules/psi_i_mod.F90
# base/serial/psb_dgelp.f90
# base/serial/psb_sgelp.f90
6 years ago
Salvatore Filippone
327003ad06
Merge branch 'new-context' into dev-openmp
6 years ago
Salvatore Filippone
c58e523918
Embed GELP in PSI_SERIAL_IMPL
6 years ago
Salvatore Filippone
997020ba81
New GELP for EPK data.
6 years ago
Salvatore Filippone
c414d4d40a
Merge branch 'implement-ainv' into dev-openmp
...
# Conflicts:
# base/comm/internals/psi_cswapdata_a.F90
# base/comm/internals/psi_cswaptran_a.F90
# base/comm/internals/psi_dswapdata_a.F90
# base/comm/internals/psi_dswaptran_a.F90
# base/comm/internals/psi_eswapdata_a.F90
# base/comm/internals/psi_eswaptran_a.F90
# base/comm/internals/psi_i2swapdata_a.F90
# base/comm/internals/psi_i2swaptran_a.F90
# base/comm/internals/psi_mswapdata_a.F90
# base/comm/internals/psi_mswaptran_a.F90
# base/comm/internals/psi_sswapdata_a.F90
# base/comm/internals/psi_sswaptran_a.F90
# base/comm/internals/psi_zswapdata_a.F90
# base/comm/internals/psi_zswaptran_a.F90
# base/modules/psi_i_mod.F90
6 years ago
Salvatore Filippone
a8ee595392
New method for checking if REPL at V descriptor
6 years ago
Salvatore Filippone
1917190ed5
Fix wrong arg in psi_p2p
6 years ago
Salvatore Filippone
6866558372
Merge branch 'new-context' into implement-ainv
...
# Conflicts:
# prec/impl/psb_c_bjacprec_impl.f90
# prec/impl/psb_c_prec_type_impl.f90
# prec/impl/psb_d_bjacprec_impl.f90
# prec/impl/psb_d_prec_type_impl.f90
# prec/impl/psb_s_bjacprec_impl.f90
# prec/impl/psb_s_prec_type_impl.f90
# prec/impl/psb_z_bjacprec_impl.f90
# prec/impl/psb_z_prec_type_impl.f90
# prec/psb_c_prec_type.f90
# prec/psb_d_prec_type.f90
# prec/psb_s_prec_type.f90
# prec/psb_z_prec_type.f90
# test/pargen/psb_d_pde2d.f90
# test/pargen/psb_d_pde3d.f90
# test/pargen/psb_s_pde2d.f90
# test/pargen/psb_s_pde3d.f90
6 years ago
Salvatore Filippone
2e0c297409
Merging remap-coarse into new-context
6 years ago
Salvatore Filippone
f0663512b2
Merge new-context
6 years ago
Salvatore Filippone
ea6e473677
Various CTXT fixes
6 years ago
Salvatore Filippone
025a4b5512
Fixes for CTXT usage, new GELP templated source.
6 years ago
Salvatore Filippone
42d9ad426e
Merge branch 'new-context' into dev-openmp
6 years ago
Salvatore Filippone
7eb653b39d
fix ICTXT vs CTXT
6 years ago
Salvatore Filippone
6b6ca3b6ac
Merge branch 'new-context' into dev-openmp
6 years ago
Salvatore Filippone
bab24cec27
Fix indx_map compilation
6 years ago
Salvatore Filippone
b32053d8aa
Fix base_init_null for use with remap-coarse
6 years ago
Salvatore Filippone
7124e8abdf
Merge branch 'new-context' into remap-coarse & fix
...
# Conflicts:
# base/modules/desc/psb_desc_mod.F90
# base/modules/penv/psi_penv_mod.F90
6 years ago
Salvatore Filippone
e1d859e3f5
Change return value of get_context on error.
6 years ago
Salvatore Filippone
9178d63ebd
Updates for C ctxt handling.
6 years ago
Salvatore Filippone
02b9ff5cfb
Fix Makefile dependencies
6 years ago
Salvatore Filippone
6a6f6ad2c2
Change name of ICTXT to CTXT
6 years ago
Cirdans-Home
fbf23c3959
Added implementation in BJAC and test for ILU-type factorizations
6 years ago
Salvatore Filippone
8b2b86d44d
C interface. Not fully working yet.
6 years ago
Salvatore Filippone
b376d226cb
Fixed declaration and use of CONTEXT with new type.
6 years ago
Salvatore Filippone
2009ed8dbe
First round of updateds for new CONTEXT
6 years ago
Salvatore Filippone
2697fbe73a
Started work on encapsulating CONTEXT.
6 years ago
Salvatore Filippone
4bc326d06b
Add IDEST to remap interface
6 years ago
Salvatore Filippone
fb422be9f4
Change interface of X_REMAP to include isrc/nrsrc
6 years ago
Salvatore Filippone
2090a011db
Include X_remap.
6 years ago
Salvatore Filippone
7c6ffcd4a2
Start work on REMAP.
6 years ago
Cirdans-Home
8d2ab75737
Added interfaces for all types of psb_nspaxpby
6 years ago
Salvatore Filippone
eb513e45c6
OpenMP for base_vect
6 years ago
Salvatore Filippone
069c49f20f
Rename base_vect to F90
6 years ago
Salvatore Filippone
6e09f745ce
Merge branch 'development' into remap-coarse
6 years ago
Cirdans-Home
624a07a25b
Added getelem function to retrieve entries from distributed vectors
6 years ago
Salvatore Filippone
7436cf564c
Start cleanup compile warnings
6 years ago
Salvatore Filippone
db7def0433
Merge branch 'development' into remap-coarse
6 years ago
Salvatore Filippone
c6dbee552e
Fix type handling bug in simple_triad.
6 years ago
Salvatore Filippone
db17057924
Cosmetic changes to fnd_owner for BLOCK.
6 years ago
Salvatore Filippone
97a1cfca3e
Merge branch 'unify_aggr_bld' into remap-coarse
6 years ago
Salvatore Filippone
76ff6c824c
Fix GEN_BLOCK distribution search for owner process: binary search on
...
repeated keys
6 years ago
Salvatore Filippone
6b2abed8bb
Reworked dep_list sorting. Take out obsolete functions
6 years ago
Salvatore Filippone
62a67a0d0e
Fix sorting of dep_list: store in CSR-like, handle self-loops
6 years ago
Salvatore Filippone
56189f39fd
Start reworking of handling of dependency lists.
6 years ago
Salvatore Filippone
d9997e511f
Fixed alterations for MAP routines and new internals
6 years ago
Salvatore Filippone
90493218a2
Change handling of no-context in DESC for remap-coarse
6 years ago
Salvatore Filippone
d865bb91ca
Defined new variant of allocate_mnnz for mixed IPK/LPK
6 years ago
Salvatore Filippone
2b295de9e7
New crea_index internals.
6 years ago
Salvatore Filippone
debb03b6ae
Prepare for alternative code path
6 years ago
Salvatore Filippone
487b2c2e1d
Defined reallocate and safe_ab_cpy for intrinsic scalars.
6 years ago
Salvatore Filippone
e9a8814338
Change default order for DUPL constants.
6 years ago
Cirdans-Home
6777e57d37
merge with merge-paraggr-newops
6 years ago
Salvatore Filippone
2a6107a937
Define psb_free_timers()
6 years ago
Salvatore Filippone
98349319e8
Cleanup DESC%FREE()
6 years ago
Cirdans-Home
c0ccbe14f7
merge with unify_agg_build
6 years ago
Salvatore Filippone
f499ffb203
New clear_defaults function, use it in psb_exit
6 years ago
Salvatore Filippone
7d3e4aec06
New name qry_halo_owner to distinguish from fnd_halo_owner
6 years ago
Salvatore Filippone
58b7489db9
New fnd_owner implementation, taking into account CD%REINIT
6 years ago
Salvatore Filippone
55666cc0fe
Make sure p_adjcncy and halo_owner are preserved over desc%reinit
6 years ago
Cirdans-Home
5c34e3d853
Removed orphan implementation for scale plus identity
6 years ago
Cirdans-Home
01f4f718de
Corrected implementation of scale plus identity for sparse matrices
6 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
3b36c2196b
Added implementation of A = alpha A + beta B for sparse matrices
6 years ago
Cirdans-Home
dc55713541
Added generic interface psb_scalplusidentity for long integer spmat
6 years ago
Cirdans-Home
e108416719
Added function for scaled sparse matrix plus identity
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
0f309850cc
Corrected routine for weighted masked 2norm
6 years ago
Cirdans-Home
9e9a2e3975
Corrected implementation of @X@_base_inv_a2_check to be compliant with NVECTOR behavior
6 years ago
Salvatore Filippone
4c7fa23c8a
New files for 2-bytes integer support. To be compiled and tested.
6 years ago
Cirdans-Home
5504e34161
Removed the out-interface for vector scaling
6 years ago
Cirdans-Home
28c1efe650
Corrected pass argument in div routines
6 years ago
Cirdans-Home
44f05510bc
Added out-of-place axpby and relative c interface
6 years ago
Salvatore Filippone
db22e832ee
Add constants for 2-byte integers
6 years ago
Salvatore Filippone
beeb123042
Fixed length char component.
6 years ago
Cirdans-Home
8bf0ff673b
Added psb_minquotient function with C interface
6 years ago
Salvatore Filippone
99dc3f5d93
New par_spmm version with 4-byte matrices (with new sphalo variant)
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
Salvatore Filippone
55989d2e8f
Do not use allocatable characters
6 years ago
Cirdans-Home
7f42d63275
Added routine for logical all reduce and applied in psb_mask
6 years ago
Cirdans-Home
b8ab997bc1
Added generation of mask vector for constraint tests psb_mask
6 years ago
Cirdans-Home
e59932e496
chagend name to acmp for the compare routines
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
Salvatore Filippone
27bf7ec666
New get_a2av_alg() in place of conditional compilation
6 years ago
Cirdans-Home
63885c36c7
psb_geabs corrected version with test
6 years ago
Cirdans-Home
f5709a2254
Added psb_geabs, final output not working
6 years ago
Salvatore Filippone
01ffca76d2
Change mat%print interface, and refactor.
6 years ago
Salvatore Filippone
d3e4a091e8
Cosmetic cleanup
6 years ago
Salvatore Filippone
76d5c5f3ae
Fixes for cases where IPK==LPK
6 years ago
Salvatore Filippone
936ef49e7d
Further changes for ambiguous interfaces when IPK==LPK
6 years ago
Salvatore Filippone
3f08263eb6
Pretty-printing fixes
6 years ago
Salvatore Filippone
af14080a34
Initial fixes for IPK==LPK
6 years ago
Salvatore Filippone
487fa54f06
Define coo%ensure_size method
6 years ago
Salvatore Filippone
10f47d731d
Define versions of global transpose for IPK matrices
6 years ago
Salvatore Filippone
e2653b1c60
New clip "in place" method
6 years ago
Salvatore Filippone
77542b9023
New global transpose methods
6 years ago
Salvatore Filippone
3207596a75
Change name to psb_simple_triad
6 years ago
Salvatore Filippone
0aaaa477d4
New triad_a2av method
6 years ago
Salvatore Filippone
cea69503a4
New method for cleaning entries with negative indices in COO.
6 years ago
Salvatore Filippone
86872d9939
Define psb_simple_a2av
6 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.
6 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
6 years ago
Salvatore Filippone
555907338e
New versions of fnd_owner: do not use MPI_alltoallv
6 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
7 years ago
Salvatore Filippone
92dae92582
Align with new implementation of extract_dep_list.
7 years ago
Salvatore Filippone
e97cab7ddc
Take out N from alloc_vect
7 years ago
Salvatore Filippone
e60e3c9d91
Changed default maxspace to -1
7 years ago
Salvatore Filippone
2b898aa14f
New get_mpi_comm and get_mpi_rank, code and docs
7 years ago
Salvatore Filippone
b9514ece40
New extract_dep_list from fnd_owner
7 years ago
Salvatore Filippone
43c1ccfc87
Extract_dep_list new symm
...
New dependency list symmetrizatoin, two alternatives: distributed, or
replicated after allgather.
7 years ago
Salvatore Filippone
0bacc130e7
Merge branch 'fnd_owner' into merge-paraggr
7 years ago
Salvatore Filippone
59e640c8a1
Fix error message for wrong IRST.
7 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
Salvatore Filippone
122c154bca
Merge branch 'merge-paraggr' into fnd_owner
7 years ago
Salvatore Filippone
e95063701b
Whitespace fixes
7 years ago
Salvatore Filippone
cf6db2ea0b
get_rank and get_mpicomm
...
Make psb_get_rank and psb_get_mpicomm functions, not
subroutines. Document same.
7 years ago
cirdans-home
f66d19e54b
added entrywise vector product psb_gemlt
7 years ago
Salvatore Filippone
31ed911b1e
New set/get_maxspace()
7 years ago
Salvatore Filippone
1da39b8bbf
Factored symmetrization of del_list into its own routine.
7 years ago
Salvatore Filippone
fc90423305
Make adj() argument allocatable so it can be adjusted for symmetry
7 years ago
Salvatore Filippone
6c31765b3f
First draft of psi_graph_fnd_owner. Need to revise choice of algorithmic thresholds.
7 years ago
Salvatore Filippone
95dffe2f76
Refactor fnd_owner into graph_fnd_owner which may call a2a_ and adjcncy_
7 years ago
Salvatore Filippone
4507a6522a
New indxmap component for process adjacency list, setters/getters.
7 years ago
Salvatore Filippone
3ae846edb5
Start refactoring of crea_index
7 years ago
Salvatore Filippone
2529225730
Changed fnd_owner internal names.
7 years ago
Salvatore Filippone
40204a7be6
Moved fnd_owner to internals impl. subdir
7 years ago
Salvatore Filippone
1d04fffbd4
Refactor map_fnd_owner, first step towards new version.
7 years ago
Salvatore Filippone
b3d6a970ee
Add adjncy component
7 years ago
Salvatore Filippone
4366ac4948
Move psb_indx_map_fnd_owner in modules/desc subdir, update makefiles.
7 years ago
Salvatore Filippone
b83ec80619
Fix scan_sum, define V version
7 years ago
Salvatore Filippone
d189083816
Check and enforce allocation of indxmap%halo_owner
7 years ago
Salvatore Filippone
c54076ed97
Kludge: defined indx_map%cpy method, use same in %clone. To be reviewed
7 years ago
Salvatore Filippone
62c21836f0
Fix REINIT use of array constants with implicit loops using IPK/LPK
7 years ago
Salvatore Filippone
768344d93f
Add version of CDINS with lpk NZ
7 years ago
Salvatore Filippone
c338e7b799
New LPK set_nzeros for COO
7 years ago
Salvatore Filippone
319d2831b7
New methods for LX%set_nrows with IPK/LPK
7 years ago
Salvatore Filippone
634c2e0aa5
Implement clip_diag for LX
7 years ago
Salvatore Filippone
ece66421bf
Add len arg in declaration.
7 years ago
Salvatore Filippone
a65626c7b0
Merge fnd_halo_owner method and setup
7 years ago
Salvatore Filippone
10b802743e
Change constant name to psb_c_Xpk_
7 years ago
Salvatore Filippone
71059dc783
Version of sphalo for LX_csr.
7 years ago
Salvatore Filippone
40755d6279
New method par_csr_spspmm.
7 years ago
Salvatore Filippone
22d76d1e48
Fix SYM handling at spmat level.
7 years ago
Salvatore Filippone
dcedab8ae0
New usehash argument in CDALL. Still need to put in a heuristics for
...
gen_block with too many cores
7 years ago
Salvatore Filippone
2f07fc5220
New scan_sum and exscan_sum collectives.
7 years ago
Salvatore Filippone
b97bdf3d2e
Added timers facility.
7 years ago
Salvatore Filippone
5a61fbd2c0
Duplicated matrix entries should be ADDED by default.
7 years ago
Salvatore Filippone
7e2ffbf34d
New handling of SYMmetry
7 years ago
Salvatore Filippone
57d08dc4d7
Formatting source code fixes.
7 years ago
Salvatore Filippone
242b9ec91f
New variant of psb_spins in CSR mode. Document same.
7 years ago
Salvatore Filippone
113478ea64
Fix calls to checkvect in data exchange functions.
7 years ago
Salvatore Filippone
08063d4f48
Deallocate output if needed in indxmap%clone.
7 years ago
Salvatore Filippone
3bafaa242a
New checkvect interface, and use.
7 years ago
Salvatore Filippone
3ecdb7d026
Explicitly free output descriptor on desc%clone.
7 years ago
Salvatore Filippone
51e50120bd
Add move_alloc method to sparse matrix.
7 years ago
Salvatore Filippone
fd8ce4f3de
New linmap internal structure.
7 years ago
Salvatore Filippone
e5535835ec
Implement clean_zeros for CSC and CSR
7 years ago
Salvatore Filippone
a96cd70afa
Fix stray #elif
7 years ago
Salvatore Filippone
2ce1d94580
New RENUM_BLOCK method.
7 years ago
Salvatore Filippone
99b23f26c1
Additional docs inside GEN_BLOCK_MAP.
7 years ago
Salvatore Filippone
e828a2a45a
Additional constraints in makefile.
7 years ago
Salvatore Filippone
5d476495fe
Fix internal interfaces in GEN_BLOCK_MAP.
7 years ago
Salvatore Filippone
6dda7339b5
Restore mistakenly deleted sources.
7 years ago
Salvatore Filippone
638f777322
Fix SPMAT take out LX_icsget; in search of a better solution.
7 years ago
Salvatore Filippone
f858a2e610
Include sort module.
8 years ago
Salvatore Filippone
cd8ae65c85
Take out GTL arg from CSPUT.
8 years ago
Salvatore Filippone
cd355ea1f0
Obsolete hasval.c
8 years ago
Salvatore Filippone
af9d5941ab
Update version number
8 years ago
Salvatore Filippone
8d489f8ce2
Merged MixedI8 in new branch (to be later merged into development)
8 years ago