Commit Graph

1263 Commits (8667303e3a72e6fa65a438c8b5734038a62ac22f)
 

Author SHA1 Message Date
Michele Martone 026ddad716 psblas3:
initializing the rsb library in the rsb module.
initializing a string used uninitialized in ppde.f90.
14 years ago
Michele Martone ad87a0924d psblas3:
in the rsb module: reintegrated spmm/spsm operations, changed some constants values to reflect the change in librsb, and updated some info notice.
14 years ago
Michele Martone 392ae64e6c psblas3:
passing relevant flags to the RSB constructor.
14 years ago
Michele Martone 1df256a131 psblas3:
odd bug catched; in italian:
Usavo dichiarare e inizializzare "flags" come:

   integer             :: flags=c_def_flags

e da una chiamata all'altra, rimaneva il flag della chiamata precedente.
Poiche' nel modulo fortran, "aggiungo" is flag usando + anziche' un
operatore OR, il flag (un bit) rimanendo dalla chiamata precedente,
(la costruzione di L: qui siamo nella costruzione di U) veniva "spostato"
di una posizione in su, risultando nell'assenza effettiva del bit
"triangolare", a fronte della sua aggiunta.

Ho rimediato con:

   integer             :: flags
   flags=c_def_flags
14 years ago
Michele Martone 8a893bd58c psblas3:
triangle flags detection and setting, for preconditioner building.
still some preconditioner matrix is invoked without having that flag.
14 years ago
Salvatore Filippone 946c42e97f Added error handling. 14 years ago
Salvatore Filippone a24f7ae171 psblas3:
opt/psb_d_rsb_mat_mod.F03

Missing copy of base components.
14 years ago
Salvatore Filippone 744a90981e psblas3:
opt/psb_d_rsb_mat_mod.F03
 test/newfmt/ppde.f90

Fixed error in output from rsb_getrow. 
Some problems are still there.
14 years ago
Salvatore Filippone a32402db35 *** empty log message *** 14 years ago
Salvatore Filippone 9484ed9c2c psblas3-dev:
test/serial/psb_d_rsb_mat_mod.F03

Bug in calling inner interface.
14 years ago
Salvatore Filippone 7637eefae9 psblas3-dev:
test/newfmt/runs/ppde.inp
 test/serial/Makefile
 test/serial/psb_d_rsb_mat_mod.F03
 test/serial/rsb_mod.f03


Take out rsb stuff from test/serial, since it's now in opt.
14 years ago
Salvatore Filippone 33b7f6c4bc psblas3-dev:
opt/Makefile
 opt/psb_d_rsb_mat_mod.F03
 opt/rsb_mod.f03
 test/newfmt/Makefile
 test/newfmt/ppde.f90
 test/newfmt/runs/ppde.inp
 test/serial/d_matgen.f03
 test/serial/psb_d_rsb_mat_mod.F03

Minor fix for interface of rsb_init.
Copied RSB interface to OPT/
Linked into TEST/NEWFMT: start of debug. 
Status: TO/FROM COO/FMT (CSR), SPMV, GET_DIAG seem to be working
(tested from ppde with DIAG preconditioner). 
GETBLK segfaults.
14 years ago
Salvatore Filippone abc416747c *** empty log message *** 14 years ago
Michele Martone aa1e01c812 updated the rsb modules: original for rsb revision 1297 and interface. not sure if this compiles :^) 14 years ago
Salvatore Filippone 105cdcc1dd psblas3:
base/internals/Makefile
 base/internals/psi_desc_impl.f90
 base/internals/psi_ovrl_restr.f90
 base/internals/psi_ovrl_save.f90
 base/internals/psi_ovrl_upd.f90
 base/serial/Makefile
 base/serial/psi_desc_impl.f90
 base/serial/psi_ovrl_restr.f90
 base/serial/psi_ovrl_save.f90
 base/serial/psi_ovrl_upd.f90

Moved routines from serial to internals where they really belong.
14 years ago
Salvatore Filippone 7802d51b7c psblas3:
Makefile
 psi_desc_impl.f90
 psi_impl.f90
 psi_ovrl_restr.f90
 psi_ovrl_save.f90
 psi_ovrl_upd.f90

Merged from tdesc.
14 years ago
Salvatore Filippone 80487d7c9c psblas3:
base/modules/psb_d_mat_mod.f03
 base/psblas/psb_dspnrm1.f90

Fixed inconsistent interfaces, discovered with nagfor.
14 years ago
Michele Martone 46da91cdc7 psblas3:
changing flags and interface to rsb revision 1282; now using smarter constructors.
14 years ago
Salvatore Filippone 66bbb878d7 psblas3: test/newfmts
Changed create_matrix to get a MOLD argument.
14 years ago
Salvatore Filippone c8fe049994 psblas3:
prec/psb_c_base_prec_mod.f03
 prec/psb_c_bjacprec.f03
 prec/psb_c_diagprec.f03
 prec/psb_c_nullprec.f03
 prec/psb_cprc_aply.f90
 prec/psb_cprecbld.f90
 prec/psb_d_base_prec_mod.f03
 prec/psb_d_bjacprec.f03
 prec/psb_d_diagprec.f03
 prec/psb_d_nullprec.f03
 prec/psb_dprc_aply.f90
 prec/psb_dprecbld.f90
 prec/psb_prec_mod.f90
 prec/psb_s_base_prec_mod.f03
 prec/psb_s_bjacprec.f03
 prec/psb_s_diagprec.f03
 prec/psb_s_nullprec.f03
 prec/psb_sprc_aply.f90
 prec/psb_sprecbld.f90
 prec/psb_z_base_prec_mod.f03
 prec/psb_z_bjacprec.f03
 prec/psb_z_diagprec.f03
 prec/psb_z_nullprec.f03
 prec/psb_zprc_aply.f90
 prec/psb_zprecbld.f90
 test/newfmt
 test/newfmt/Makefile
 test/newfmt/ppde.f90
 test/newfmt/runs
 test/newfmt/runs/Makefile
 test/newfmt/runs/ppde.inp
 test/newfmt/spde.f90


1. New test/newfmt directory in which to test for new storage
   versions.
2. New MOLD/AFMT arguments to PRECBLD for storing the matrices.
   In preconditioners such as DIAG and NULL they are ignored.
14 years ago
Salvatore Filippone b6d7966486 psblas3:
opt/Makefile
 opt/psb_d_ell_impl.f03
 prec/psb_d_bjacprec.f03

First working version of ELL. Tested with a makeshift verison of ppde.
14 years ago
Salvatore Filippone e66bc8e07e psblas3:
added geptr D.
14 years ago
Salvatore Filippone 3831be4ef0 psblas3:## base/modules/psb_c_base_mat_mod.f03
base/modules/psb_d_mat_mod.f03
 base/modules/psb_linmap_type_mod.f90
 base/modules/psb_serial_mod.f90
 base/serial/Makefile
 base/serial/f03/psb_c_coo_impl.f03
 base/serial/f03/psb_c_csc_impl.f03
 base/serial/f03/psb_c_csr_impl.f03
 base/serial/f03/psb_d_coo_impl.f03
 base/serial/f03/psb_d_csc_impl.f03
 base/serial/f03/psb_d_csr_impl.f03
 base/serial/f03/psb_d_mat_impl.F03
 base/serial/f03/psb_s_coo_impl.f03
 base/serial/f03/psb_s_csc_impl.f03
 base/serial/f03/psb_s_csr_impl.f03
 base/serial/f03/psb_z_coo_impl.f03
 base/serial/f03/psb_z_csc_impl.f03
 base/serial/f03/psb_z_csr_impl.f03
 opt
 opt/Makefile
 opt/psb_d_ell_impl.f03
 opt/psb_d_ell_mat_mod.f03
 prec/psb_d_base_prec_mod.f03
 prec/psb_d_bjacprec.f03
 prec/psb_d_prec_type.f03
 test/fileread/df_sample.f90
 test/fileread/runs/dfs.inp
 test/serial/d_matgen.f03
 test/serial/psb_d_rsb_mat_mod.F03

1. Fixed get_diag for various cases.
2. OPT subdir for experimental material; right now ELL.
14 years ago
Michele Martone 7eb4a4d1d0 psblas3:
more interface fixes on the RSB side.
14 years ago
Michele Martone f97ff39cc3 psblas3:
fix for conditional compiling of RSB type module.
14 years ago
Salvatore Filippone 9b39e26a99 psblas3:
psb_c_csc_impl.f03
 psb_c_csr_impl.f03
 psb_d_csc_impl.f03
 psb_d_csr_impl.f03
 psb_s_csc_impl.f03
 psb_s_csr_impl.f03
 psb_z_csc_impl.f03
 psb_z_csr_impl.f03

Fixed use module for  missing initialization of debug_unit in some methods.
14 years ago
Michele Martone edc01c32fd psblas3:
missing HAVE_LIBRSB in the configure script. fixed.
14 years ago
Salvatore Filippone b4366289ce psblas3:
psb_c_csc_impl.f03
 psb_c_csr_impl.f03
 psb_d_csc_impl.f03
 psb_d_csr_impl.f03
 psb_s_csc_impl.f03
 psb_s_csr_impl.f03
 psb_z_csc_impl.f03
 psb_z_csr_impl.f03

Fixed  missing initialization of debug_unit in some methods.
14 years ago
Michele Martone 723200a4e3 psblas3:
more fixwork towards RSB integration.
14 years ago
Michele Martone d163a70313 in psblas3:
in /test/serial, update the RSB module and Makefile, temporarily.
14 years ago
Salvatore Filippone 083573809d psblas3:
base/serial/f03/psb_d_csr_impl.f03

Fixed bug in colsum,aclsum.
14 years ago
Salvatore Filippone e17ebeaf89 psblas3:
f03/psb_d_csr_impl.f03	

Fixed bug in csnm1.
14 years ago
Salvatore Filippone 90800f7b5b psblas3:
psi_penv_mod.F90

Modified psb_close so that in serial mode NCTXT gets decremented, to
free an ICTXT slot.
14 years ago
Michele Martone 8b577420c8 psblas3:
--with-rsb              Specify Recursive Sparse BLAS library linkage info
                          (that is, the output of librsb-config --static
                          --ldflags, or a directory where the usual
                          bin/include/lib subdirs with a regular RSB
                          installation resides, or nothing to make the
                          configure script invoke librsb-config)
14 years ago
Michele Martone ff54d2e71c psblas3:
updated the doc line for --with-rsb.
14 years ago
Michele Martone 6de05829eb psblas3:
the configure script --with-rsb updated to accept linking arguments.
14 years ago
Michele Martone ea7fba00ca psblas3:
preliminar rsb interfacing for mv_from_fmt csput mv_to_coo mv_from_coo mv_to_fmt.
14 years ago
Michele Martone 6db76c9574 psblas3:
rsb interface for csgetptn, d_csgetrow.
14 years ago
Michele Martone 869e57c379 psblas3: implementing a first cp_from_fmt for rsb. 14 years ago
Michele Martone 9120b460e1 first interface implementations for psb_d_cp_rsb_to_coo, psb_d_cp_rsb_from_coo, psb_d_cp_rsb_to_fmt. 14 years ago
Michele Martone c1c9273de8 psblas3:
interfaced the following operations: psb_d_rsb_rowsum, psb_d_rsb_colsum, d_rsb_get_nz_row, psb_d_rsb_reinit, psb_d_rsb_mold.
the colsum and rowsum operations were implemented brand new today in rsb.
14 years ago
Michele Martone 437966fb4e psblas3: first implementations for psb_d_rsb_csmm, psb_d_rsb_cssm, psb_d_rsb_cssv, psb_d_rsb_scals, psb_d_rsb_scal, psb_d_rsb_csnmi, psb_d_rsb_csnm1, psb_d_rsb_arwsum, psb_d_rsb_aclsum, psb_d_rsb_get_diag, psb_d_rsb_trim, psb_d_rsb_print, d_rsb_free. 14 years ago
Michele Martone c21d3a5b62 psblas3:
giving substance to the rsb interface.
14 years ago
Michele Martone 3beedcad96 psblas3:
configure changes for librsb interoperability.
14 years ago
Michele Martone e0fd8549d1 psblas3:
implemented a stub rsb format module.
14 years ago
Michele Martone 2d97078a6b implemented a stub cyy format module, and an almost empty czz format module. 14 years ago
Salvatore Filippone 3871b673ec psblas3:
Fix interace problem in test/matgen.
14 years ago
Salvatore Filippone 5de61046b3 psblas3:
base/serial/f03/psb_s_csr_impl.f03
 test/pargen/Makefile

Fixed CSR_IMPL on copy to avoid reallocate on assignment. 
Needs to be cleaned up!!!
14 years ago
Salvatore Filippone bb0434a1a1 psblas3:
base/comm/Makefile
 base/comm/psb_cspgather.F90
 base/comm/psb_sspgather.F90
 base/comm/psb_zspgather.F90
 base/modules/psb_comm_mod.f90
 test/serial/d_matgen.f03

Added sp_gather interfaces.
14 years ago
Salvatore Filippone 8c6358a226 psblas3:
base/comm/psb_dspgather.F90
 base/modules/psb_c_linmap_mod.f90
 base/modules/psb_c_mat_mod.f03
 base/modules/psb_c_psblas_mod.f90
 base/modules/psb_c_tools_mod.f90
 base/modules/psb_comm_mod.f90
 base/modules/psb_d_linmap_mod.f90
 base/modules/psb_d_mat_mod.f03
 base/modules/psb_d_psblas_mod.f90
 base/modules/psb_d_tools_mod.f90
 base/modules/psb_linmap_type_mod.f90
 base/modules/psb_s_linmap_mod.f90
 base/modules/psb_s_mat_mod.f03
 base/modules/psb_s_psblas_mod.f90
 base/modules/psb_s_tools_mod.f90
 base/modules/psb_serial_mod.f90
 base/modules/psb_z_linmap_mod.f90
 base/modules/psb_z_mat_mod.f03
 base/modules/psb_z_psblas_mod.f90
 base/modules/psb_z_tools_mod.f90
 base/psblas/psb_cnrmi.f90
 base/psblas/psb_cspmm.f90
 base/psblas/psb_cspsm.f90
 base/psblas/psb_dnrmi.f90
 base/psblas/psb_dspmm.f90
 base/psblas/psb_dspnrm1.f90
 base/psblas/psb_dspsm.f90
 base/psblas/psb_snrmi.f90
 base/psblas/psb_sspmm.f90
 base/psblas/psb_sspsm.f90
 base/psblas/psb_znrmi.f90
 base/psblas/psb_zspmm.f90
 base/psblas/psb_zspsm.f90
 base/serial/f03/psb_c_mat_impl.F03
 base/serial/f03/psb_d_mat_impl.F03
 base/serial/f03/psb_s_mat_impl.F03
 base/serial/f03/psb_z_mat_impl.F03
 base/serial/psb_cnumbmm.f90
 base/serial/psb_crwextd.f90
 base/serial/psb_csymbmm.f90
 base/serial/psb_dnumbmm.f90
 base/serial/psb_drwextd.f90
 base/serial/psb_dsymbmm.f90
 base/serial/psb_snumbmm.f90
 base/serial/psb_srwextd.f90
 base/serial/psb_ssymbmm.f90
 base/serial/psb_znumbmm.f90
 base/serial/psb_zrwextd.f90
 base/serial/psb_zsymbmm.f90
 base/tools/psb_ccdbldext.F90
 base/tools/psb_cspalloc.f90
 base/tools/psb_cspasb.f90
 base/tools/psb_cspfree.f90
 base/tools/psb_csphalo.F90
 base/tools/psb_cspins.f90
 base/tools/psb_csprn.f90
 base/tools/psb_dcdbldext.F90
 base/tools/psb_dspalloc.f90
 base/tools/psb_dspasb.f90
 base/tools/psb_dspfree.f90
 base/tools/psb_dsphalo.F90
 base/tools/psb_dspins.f90
 base/tools/psb_dsprn.f90
 base/tools/psb_linmap.f90
 base/tools/psb_scdbldext.F90
 base/tools/psb_sspalloc.f90
 base/tools/psb_sspasb.f90
 base/tools/psb_sspfree.f90
 base/tools/psb_ssphalo.F90
 base/tools/psb_sspins.f90
 base/tools/psb_ssprn.f90
 base/tools/psb_zcdbldext.F90
 base/tools/psb_zspalloc.f90
 base/tools/psb_zspasb.f90
 base/tools/psb_zspfree.f90
 base/tools/psb_zsphalo.F90
 base/tools/psb_zspins.f90
 base/tools/psb_zsprn.f90
 krylov/psb_c_inner_krylov_mod.f90
 krylov/psb_cbicg.f90
 krylov/psb_ccg.f90
 krylov/psb_ccgs.f90
 krylov/psb_ccgstab.f90
 krylov/psb_ccgstabl.f90
 krylov/psb_ckrylov.f90
 krylov/psb_crgmres.f90
 krylov/psb_d_inner_krylov_mod.f90
 krylov/psb_dbicg.f90
 krylov/psb_dcg.F90
 krylov/psb_dcgs.f90
 krylov/psb_dcgstab.F90
 krylov/psb_dcgstabl.f90
 krylov/psb_dkrylov.f90
 krylov/psb_drgmres.f90
 krylov/psb_krylov_mod.f90
 krylov/psb_s_inner_krylov_mod.f90
 krylov/psb_sbicg.f90
 krylov/psb_scg.F90
 krylov/psb_scgs.f90
 krylov/psb_scgstab.F90
 krylov/psb_scgstabl.f90
 krylov/psb_skrylov.f90
 krylov/psb_srgmres.f90
 krylov/psb_z_inner_krylov_mod.f90
 krylov/psb_zbicg.f90
 krylov/psb_zcg.F90
 krylov/psb_zcgs.f90
 krylov/psb_zcgstab.f90
 krylov/psb_zcgstabl.f90
 krylov/psb_zkrylov.f90
 krylov/psb_zrgmres.f90
 prec/psb_c_base_prec_mod.f03
 prec/psb_c_bjacprec.f03
 prec/psb_c_diagprec.f03
 prec/psb_c_nullprec.f03
 prec/psb_c_prec_type.f03
 prec/psb_cilu_fct.f90
 prec/psb_cprecbld.f90
 prec/psb_d_base_prec_mod.f03
 prec/psb_d_bjacprec.f03
 prec/psb_d_diagprec.f03
 prec/psb_d_nullprec.f03
 prec/psb_d_prec_type.f03
 prec/psb_dilu_fct.f90
 prec/psb_dprecbld.f90
 prec/psb_prec_mod.f90
 prec/psb_s_base_prec_mod.f03
 prec/psb_s_bjacprec.f03
 prec/psb_s_diagprec.f03
 prec/psb_s_nullprec.f03
 prec/psb_s_prec_type.f03
 prec/psb_silu_fct.f90
 prec/psb_sprecbld.f90
 prec/psb_z_base_prec_mod.f03
 prec/psb_z_bjacprec.f03
 prec/psb_z_diagprec.f03
 prec/psb_z_nullprec.f03
 prec/psb_z_prec_type.f03
 prec/psb_zilu_fct.f90
 prec/psb_zprecbld.f90
 test/fileread/cf_sample.f90
 test/fileread/df_sample.f90
 test/fileread/sf_sample.f90
 test/fileread/zf_sample.f90
 test/pargen/ppde.f90
 test/pargen/spde.f90
 test/serial/d_coo_matgen.f03
 test/serial/d_matgen.f03
 test/torture/psb_c_mvsv_tester.f90
 test/torture/psb_d_mvsv_tester.f90
 test/torture/psb_s_mvsv_tester.f90
 test/torture/psb_z_mvsv_tester.f90
 test/util/dhb2mm.f90
 test/util/dmm2hb.f90
 test/util/zhb2mm.f90
 test/util/zmm2hb.f90
 util/psb_hbio_impl.f90
 util/psb_hbio_mod.f90
 util/psb_mat_dist_impl.f90
 util/psb_mat_dist_mod.f90
 util/psb_metispart_mod.F90
 util/psb_mmio_impl.f90
 util/psb_mmio_mod.f90

Revised name of outer sparse type to be backward-compatible.
14 years ago