Commit Graph
1064 Commits
Author SHA1 Message Date
Michele Martone 656be2a3e8 psblas3:
in a placeholder for symultaneous spmv and spmvt, in the rsb module.
2010-12-01 14:38:05 +00:00
Michele Martone 026ddad716 psblas3:
initializing the rsb library in the rsb module.
initializing a string used uninitialized in ppde.f90.
2010-11-30 17:27:13 +00:00
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.
2010-11-30 15:55:16 +00:00
Michele Martone 392ae64e6c psblas3:
passing relevant flags to the RSB constructor.
2010-11-30 13:43:38 +00:00
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
2010-11-30 12:19:15 +00:00
Michele Martone 8a893bd58c psblas3:
triangle flags detection and setting, for preconditioner building.
still some preconditioner matrix is invoked without having that flag.
2010-11-30 11:32:40 +00:00
Salvatore Filippone 946c42e97f Added error handling. 2010-11-30 09:12:24 +00:00
Salvatore Filippone a24f7ae171 psblas3:
opt/psb_d_rsb_mat_mod.F03

Missing copy of base components.
2010-11-30 08:55:41 +00:00
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.
2010-11-29 17:10:46 +00:00
Salvatore Filippone a32402db35 *** empty log message *** 2010-11-29 15:35:14 +00:00
Salvatore Filippone 9484ed9c2c psblas3-dev:
test/serial/psb_d_rsb_mat_mod.F03

Bug in calling inner interface.
2010-11-29 15:22:35 +00:00
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.
2010-11-29 15:11:41 +00:00
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.
2010-11-29 15:05:19 +00:00
Salvatore Filippone abc416747c *** empty log message *** 2010-11-29 14:35:03 +00:00
Michele Martone aa1e01c812 updated the rsb modules: original for rsb revision 1297 and interface. not sure if this compiles :^) 2010-11-29 14:23:04 +00:00
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.
2010-11-26 14:29:50 +00:00
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.
2010-11-26 14:13:19 +00:00
Salvatore Filippone 80487d7c9c psblas3:
base/modules/psb_d_mat_mod.f03
 base/psblas/psb_dspnrm1.f90

Fixed inconsistent interfaces, discovered with nagfor.
2010-11-24 13:34:47 +00:00
Michele Martone 46da91cdc7 psblas3:
changing flags and interface to rsb revision 1282; now using smarter constructors.
2010-11-24 00:46:23 +00:00
Salvatore Filippone 66bbb878d7 psblas3: test/newfmts
Changed create_matrix to get a MOLD argument.
2010-11-22 14:02:07 +00:00
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.
2010-11-22 13:58:47 +00:00
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.
2010-11-20 14:50:40 +00:00
Salvatore Filippone e66bc8e07e psblas3:
added geptr D.
2010-11-20 09:13:19 +00:00
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.
2010-11-19 16:44:04 +00:00
Michele Martone 7eb4a4d1d0 psblas3:
more interface fixes on the RSB side.
2010-11-19 13:28:04 +00:00
Michele Martone f97ff39cc3 psblas3:
fix for conditional compiling of RSB type module.
2010-11-19 11:22:47 +00:00
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.
2010-11-19 10:38:53 +00:00
Michele Martone edc01c32fd psblas3:
missing HAVE_LIBRSB in the configure script. fixed.
2010-11-19 10:19:14 +00:00
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.
2010-11-19 09:50:13 +00:00
Michele Martone 723200a4e3 psblas3:
more fixwork towards RSB integration.
2010-11-19 09:33:51 +00:00
Michele Martone d163a70313 in psblas3:
in /test/serial, update the RSB module and Makefile, temporarily.
2010-11-18 16:02:50 +00:00
Salvatore Filippone 083573809d psblas3:
base/serial/f03/psb_d_csr_impl.f03

Fixed bug in colsum,aclsum.
2010-11-18 14:18:39 +00:00
Salvatore Filippone e17ebeaf89 psblas3:
f03/psb_d_csr_impl.f03	

Fixed bug in csnm1.
2010-11-18 14:11:28 +00:00
Salvatore Filippone 90800f7b5b psblas3:
psi_penv_mod.F90

Modified psb_close so that in serial mode NCTXT gets decremented, to
free an ICTXT slot.
2010-11-18 12:34:30 +00:00
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)
2010-11-10 16:41:33 +00:00
Michele Martone ff54d2e71c psblas3:
updated the doc line for --with-rsb.
2010-11-09 14:21:53 +00:00
Michele Martone 6de05829eb psblas3:
the configure script --with-rsb updated to accept linking arguments.
2010-11-09 13:56:56 +00:00
Michele Martone ea7fba00ca psblas3:
preliminar rsb interfacing for mv_from_fmt csput mv_to_coo mv_from_coo mv_to_fmt.
2010-11-07 16:19:28 +00:00
Michele Martone 6db76c9574 psblas3:
rsb interface for csgetptn, d_csgetrow.
2010-11-07 15:08:00 +00:00
Michele Martone 869e57c379 psblas3: implementing a first cp_from_fmt for rsb. 2010-11-07 13:24:48 +00:00
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. 2010-11-07 10:51:33 +00:00
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.
2010-11-06 15:11:39 +00:00
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. 2010-11-06 12:19:38 +00:00
Michele Martone c21d3a5b62 psblas3:
giving substance to the rsb interface.
2010-11-05 19:12:39 +00:00
Michele Martone 3beedcad96 psblas3:
configure changes for librsb interoperability.
2010-11-05 17:19:09 +00:00
Michele Martone e0fd8549d1 psblas3:
implemented a stub rsb format module.
2010-11-05 16:55:55 +00:00
Michele Martone 2d97078a6b implemented a stub cyy format module, and an almost empty czz format module. 2010-11-05 14:44:36 +00:00
Salvatore Filippone 3871b673ec psblas3:
Fix interace problem in test/matgen.
2010-11-05 11:22:05 +00:00
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!!!
2010-11-04 18:46:46 +00:00
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.
2010-11-03 10:27:10 +00:00