Salvatore Filippone
a673bf8bf1
Fix inconsistency in %csget
3 years ago
Salvatore Filippone
da7d49b4db
Cleanup use of %csget
3 years ago
Salvatore Filippone
6f92b7bfb3
Simplify G2L
3 years ago
Salvatore Filippone
1dc28fb710
Cosmetic changes in psi_penv
4 years ago
Salvatore Filippone
23c9a71ed6
Merged changes from maintenance, improve serial compilation and fake MPI.
4 years ago
Salvatore Filippone
545a5f7b80
Fix makefile
4 years ago
Salvatore Filippone
ceda17be7e
Fix internals for SERIAL_MPI
4 years ago
Cirdans-Home
8cddedd022
Fixed psi_protect_name
4 years ago
Cirdans-Home
297be776ca
Fixed name of psi_i_renum_index subroutine
4 years ago
Salvatore Filippone
583ca19e9c
Add support for size statistics
4 years ago
Salvatore Filippone
493beaa751
Minor formatting
4 years ago
Salvatore Filippone
e60f4a2612
Fix error handling in GEASB
4 years ago
Salvatore Filippone
76900aedff
Fix silly error with uninitialized variable
4 years ago
Salvatore Filippone
82c2e6374b
Fix error handling
4 years ago
Salvatore Filippone
875ef40724
Missing USE statement for psb_error_check, make it public
4 years ago
Salvatore Filippone
aeb1397e9f
Fix error_impl, and add check_error()
4 years ago
Salvatore Filippone
81fc75a091
Fixes for memory leaks in the C interface
4 years ago
Cirdans-Home
3e6fdd39e4
Corrected bug in interfaces for genrm2
4 years ago
Salvatore Filippone
3e318e1a84
Initialize INFO
4 years ago
Cirdans-Home
9a2ea73d81
psb_dnrm2_weight working also for GPUs
4 years ago
Cirdans-Home
faf493b861
Made safe for index not owned or in the halo
4 years ago
Cirdans-Home
73605bdda0
Bugfix weighted norm FIXME for GPU
4 years ago
Salvatore Filippone
d02322861c
Updated comments
4 years ago
Salvatore Filippone
c6a52d45bd
Updated internal comments
4 years ago
Salvatore Filippone
5d7b3471e2
Fix GRAPH_FND_OWNER and updated comments.
4 years ago
Salvatore Filippone
d505b0b8c9
Added comments.
4 years ago
Salvatore Filippone
82665f4e79
Put additional OpenMP directives.
4 years ago
Salvatore Filippone
0232ed755f
Improve descriptor lists handling.
4 years ago
Salvatore Filippone
734041d90f
Update description of internals.
4 years ago
Cirdans-Home
e64d52cbc2
Added routine to get integer context for c-mpi interoperability
4 years ago
Salvatore Filippone
321814d247
Fix performance of owner search in descriptor assembly
4 years ago
Salvatore Filippone
c29d3aae1d
Additional info on data exchanges on output cdprt
4 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
4 years ago
Salvatore Filippone
758a729225
Fix comm internals.
4 years ago
Salvatore Filippone
327003ad06
Merge branch 'new-context' into dev-openmp
4 years ago
Salvatore Filippone
c58e523918
Embed GELP in PSI_SERIAL_IMPL
4 years ago
Salvatore Filippone
926cb1e5ad
Merge branch 'dev-openmp' of https://github.com/sfilippone/psblas3 into dev-openmp
4 years ago
Salvatore Filippone
4292dd3490
Put static clause in OMP
4 years ago
Salvatore Filippone
997020ba81
New GELP for EPK data.
4 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
4 years ago
Salvatore Filippone
a8ee595392
New method for checking if REPL at V descriptor
4 years ago
Cirdans-Home
4674de97cf
Corrected call to use mpi
4 years ago
Salvatore Filippone
927bf9f103
Merge branch 'new-context' into implement-ainv
4 years ago
Salvatore Filippone
db9bb6ca77
Fix problem in logical recv
4 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
4 years ago
Salvatore Filippone
b3bcb762c5
New files from remap-coarse
4 years ago
Salvatore Filippone
2e0c297409
Merging remap-coarse into new-context
4 years ago
Salvatore Filippone
f0663512b2
Merge new-context
4 years ago
Salvatore Filippone
ea6e473677
Various CTXT fixes
4 years ago
Salvatore Filippone
e445819960
Fix wrong subroutine name ref.
4 years ago
Salvatore Filippone
025a4b5512
Fixes for CTXT usage, new GELP templated source.
4 years ago
Salvatore Filippone
42d9ad426e
Merge branch 'new-context' into dev-openmp
4 years ago
Salvatore Filippone
7eb653b39d
fix ICTXT vs CTXT
4 years ago
Salvatore Filippone
6b6ca3b6ac
Merge branch 'new-context' into dev-openmp
4 years ago
Salvatore Filippone
bab24cec27
Fix indx_map compilation
4 years ago
Salvatore Filippone
b32053d8aa
Fix base_init_null for use with remap-coarse
4 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
4 years ago
Salvatore Filippone
e1d859e3f5
Change return value of get_context on error.
4 years ago
Salvatore Filippone
9178d63ebd
Updates for C ctxt handling.
4 years ago
Cirdans-Home
c52d42a50d
merge with mat-allocation
4 years ago
Salvatore Filippone
02b9ff5cfb
Fix Makefile dependencies
4 years ago
Salvatore Filippone
6a6f6ad2c2
Change name of ICTXT to CTXT
4 years ago
Cirdans-Home
fbf23c3959
Added implementation in BJAC and test for ILU-type factorizations
4 years ago
Salvatore Filippone
8b2b86d44d
C interface. Not fully working yet.
4 years ago
Salvatore Filippone
b376d226cb
Fixed declaration and use of CONTEXT with new type.
4 years ago
Salvatore Filippone
2009ed8dbe
First round of updateds for new CONTEXT
4 years ago
Salvatore Filippone
2697fbe73a
Started work on encapsulating CONTEXT.
4 years ago
Salvatore Filippone
4bc326d06b
Add IDEST to remap interface
4 years ago
Salvatore Filippone
a79d853338
Debug check (to be taken out later)
4 years ago
Salvatore Filippone
fb422be9f4
Change interface of X_REMAP to include isrc/nrsrc
4 years ago
Salvatore Filippone
2090a011db
Include X_remap.
4 years ago
Salvatore Filippone
0adf2cbb3f
Seemingly working version of D_REMAP. Minimal test of same.
4 years ago
Salvatore Filippone
7c6ffcd4a2
Start work on REMAP.
4 years ago
Salvatore Filippone
0acf10f0d8
OpenMP in base_mat and coo
4 years ago
Cirdans-Home
8d2ab75737
Added interfaces for all types of psb_nspaxpby
4 years ago
Salvatore Filippone
77730de80c
Put in OpenMP in CSR, first step.
4 years ago
Salvatore Filippone
23f69f58d4
Additional fixes for psi_serial_impl
4 years ago
Salvatore Filippone
eb513e45c6
OpenMP for base_vect
4 years ago
Salvatore Filippone
96a4db14fb
Rename psi_serial_impl to F90
4 years ago
Salvatore Filippone
069c49f20f
Rename base_vect to F90
4 years ago
Salvatore Filippone
4a274e43ff
cosmetic fixes
4 years ago
Salvatore Filippone
6e09f745ce
Merge branch 'development' into remap-coarse
4 years ago
Cirdans-Home
c0c8224253
Corrected debug message in getelem
4 years ago
Cirdans-Home
624a07a25b
Added getelem function to retrieve entries from distributed vectors
4 years ago
Salvatore Filippone
a1c2561de6
Cleanup unused variables.
4 years ago
Salvatore Filippone
dc36db6083
Reformat assignment of entire component.
4 years ago
Salvatore Filippone
7436cf564c
Start cleanup compile warnings
4 years ago
Salvatore Filippone
25fdc6fb73
VOLATILE and ISO_FORTRAN_ENV are now enforced, take out ifdefs
4 years ago
Salvatore Filippone
db7def0433
Merge branch 'development' into remap-coarse
4 years ago
Salvatore Filippone
64e4c194fd
Enable VECT objects in MMIO read/write.
4 years ago
Salvatore Filippone
7df7b6ffce
Set adjacncy list during build of halo_index for all maps.
4 years ago
Salvatore Filippone
e3649e1cb6
Do not use sorting on dependency lists unless dlavg<16
4 years ago
Salvatore Filippone
46736f9d39
Fix type handling bug in simple_triad
4 years ago
Salvatore Filippone
eb03797ad5
Better error messages from MAP%APPLY
4 years ago
Salvatore Filippone
db17057924
Cosmetic changes to fnd_owner for BLOCK.
4 years ago
Salvatore Filippone
97a1cfca3e
Merge branch 'unify_aggr_bld' into remap-coarse
4 years ago
Salvatore Filippone
76ff6c824c
Fix GEN_BLOCK distribution search for owner process: binary search on
...
repeated keys
4 years ago
Salvatore Filippone
6b2abed8bb
Reworked dep_list sorting. Take out obsolete functions
4 years ago
Salvatore Filippone
ceb79d8fd8
Fix bad argument passing for sort_dl
4 years ago
Salvatore Filippone
62a67a0d0e
Fix sorting of dep_list: store in CSR-like, handle self-loops
4 years ago
Salvatore Filippone
781f0ef083
New version of sort_dep_list.
4 years ago
Salvatore Filippone
56189f39fd
Start reworking of handling of dependency lists.
5 years ago
Salvatore Filippone
167f4157bb
Improve graph_fnd_owner
5 years ago
Salvatore Filippone
d9997e511f
Fixed alterations for MAP routines and new internals
5 years ago
Salvatore Filippone
90493218a2
Change handling of no-context in DESC for remap-coarse
5 years ago
Salvatore Filippone
2de1202d62
Improved error message for MAP_
5 years ago
Salvatore Filippone
d865bb91ca
Defined new variant of allocate_mnnz for mixed IPK/LPK
5 years ago
Salvatore Filippone
ad50c6e166
Add new source file for alternative CDASB.
5 years ago
Salvatore Filippone
5b1300b7cc
Merge branch 'fix_cdasb' into unify_aggr_bld
...
# Conflicts:
# base/internals/psi_extrct_dl.F90
5 years ago
Salvatore Filippone
d2f8d87204
Defined a threshold for enacting simplified exchange list build
5 years ago
Salvatore Filippone
2b295de9e7
New crea_index internals.
5 years ago
Salvatore Filippone
7fa4eae8c9
Timers in xtr_dl
5 years ago
Salvatore Filippone
debb03b6ae
Prepare for alternative code path
5 years ago
Salvatore Filippone
7de9318aa9
New timers in descriptor assembly
5 years ago
Salvatore Filippone
487b2c2e1d
Defined reallocate and safe_ab_cpy for intrinsic scalars.
5 years ago
Salvatore Filippone
e9a8814338
Change default order for DUPL constants.
5 years ago
Cirdans-Home
6777e57d37
merge with merge-paraggr-newops
5 years ago
Salvatore Filippone
2a6107a937
Define psb_free_timers()
5 years ago
Salvatore Filippone
98349319e8
Cleanup DESC%FREE()
5 years ago
Cirdans-Home
c0ccbe14f7
merge with unify_agg_build
5 years ago
Salvatore Filippone
f499ffb203
New clear_defaults function, use it in psb_exit
5 years ago
Salvatore Filippone
7d3e4aec06
New name qry_halo_owner to distinguish from fnd_halo_owner
5 years ago
Salvatore Filippone
84a8b73416
Avoid LX temporaries in X transpose
5 years ago
Salvatore Filippone
f28e3a9ea9
Further fixes for uninitialized vars
5 years ago
Salvatore Filippone
eb934e2a45
Fix uninitialized INFO in cp/mv _from
5 years ago
Salvatore Filippone
b56abbb270
Improve structure of Makefiles
5 years ago
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