From 2f3670e53980514506a6d96ec1c72809604bf500 Mon Sep 17 00:00:00 2001 From: Salvatore Filippone Date: Thu, 17 Dec 2009 20:57:22 +0000 Subject: [PATCH] Updated to use psb_sparse_mod according to latest developments in psblas3. --- config/pac.m4 | 4 +- configure | 4 +- docs/src/gettingstarted.tex | 6 +- examples/fileread/data_input.f90 | 8 +- examples/fileread/mld_cexample_1lev.f90 | 4 +- examples/fileread/mld_cexample_ml.f90 | 4 +- examples/fileread/mld_dexample_1lev.f90 | 4 +- examples/fileread/mld_dexample_ml.f90 | 4 +- examples/fileread/mld_sexample_1lev.f90 | 4 +- examples/fileread/mld_sexample_ml.f90 | 4 +- examples/fileread/mld_zexample_1lev.f90 | 4 +- examples/fileread/mld_zexample_ml.f90 | 4 +- examples/pdegen/data_input.f90 | 8 +- examples/pdegen/mld_dexample_1lev.f90 | 20 +-- examples/pdegen/mld_dexample_ml.f90 | 20 +-- examples/pdegen/mld_sexample_1lev.f90 | 20 +-- examples/pdegen/mld_sexample_ml.f90 | 20 +-- mlprec/Makefile | 11 +- mlprec/mld_base_prec_type.f90 | 6 +- mlprec/mld_c_prec_type.f90 | 10 +- mlprec/mld_caggrmap_bld.f90 | 4 +- mlprec/mld_caggrmat_asb.f90 | 2 +- mlprec/mld_caggrmat_nosmth_asb.F90 | 2 +- mlprec/mld_caggrmat_smth_asb.F90 | 2 +- mlprec/mld_cas_aply.f90 | 2 +- mlprec/mld_cas_bld.f90 | 2 +- mlprec/mld_cbaseprec_aply.f90 | 2 +- mlprec/mld_cbaseprec_bld.f90 | 2 +- mlprec/mld_ccoarse_bld.f90 | 2 +- mlprec/mld_cdiag_bld.f90 | 2 +- mlprec/mld_cfact_bld.f90 | 2 +- mlprec/mld_cilu0_fact.f90 | 4 +- mlprec/mld_cilu_bld.f90 | 2 +- mlprec/mld_ciluk_fact.f90 | 10 +- mlprec/mld_cilut_fact.f90 | 10 +- mlprec/mld_cmlprec_aply.f90 | 2 +- mlprec/mld_cmlprec_bld.f90 | 2 +- mlprec/mld_cprecaply.f90 | 4 +- mlprec/mld_cprecbld.f90 | 2 +- mlprec/mld_cprecinit.F90 | 2 +- mlprec/mld_cprecset.f90 | 6 +- mlprec/mld_cslu_bld.f90 | 2 +- mlprec/mld_cslud_bld.f90 | 2 +- mlprec/mld_csp_renum.f90 | 2 +- mlprec/mld_csub_aply.f90 | 2 +- mlprec/mld_csub_solve.f90 | 4 +- mlprec/mld_cumf_bld.f90 | 2 +- mlprec/mld_d_as_smoother.f03 | 16 +- mlprec/mld_d_diag_solver.f03 | 16 +- mlprec/mld_d_ilu_solver.f03 | 22 +-- mlprec/mld_d_jac_smoother.f03 | 16 +- mlprec/mld_d_prec_type.f03 | 118 +++++++------- mlprec/mld_daggrmap_bld.f90 | 4 +- mlprec/mld_daggrmat_asb.f90 | 2 +- mlprec/mld_daggrmat_minnrg_asb.F90 | 2 +- mlprec/mld_daggrmat_nosmth_asb.F90 | 2 +- mlprec/mld_daggrmat_smth_asb.F90 | 2 +- mlprec/mld_das_aply.f90 | 2 +- mlprec/mld_das_bld.f90 | 2 +- mlprec/mld_dbaseprec_aply.f90 | 2 +- mlprec/mld_dbaseprec_bld.f90 | 2 +- mlprec/mld_dcoarse_bld.f90 | 2 +- mlprec/mld_ddiag_bld.f90 | 2 +- mlprec/mld_dfact_bld.f90 | 2 +- mlprec/mld_dilu0_fact.f90 | 4 +- mlprec/mld_dilu_bld.f90 | 2 +- mlprec/mld_diluk_fact.f90 | 10 +- mlprec/mld_dilut_fact.f90 | 10 +- mlprec/mld_dmlprec_aply.f90 | 2 +- mlprec/mld_dmlprec_bld.f90 | 22 +-- mlprec/mld_dprecaply.f90 | 4 +- mlprec/mld_dprecbld.f90 | 22 +-- mlprec/mld_dprecinit.F90 | 2 +- mlprec/mld_dprecset.f90 | 6 +- mlprec/mld_dslu_bld.f90 | 2 +- mlprec/mld_dslud_bld.f90 | 2 +- mlprec/mld_dsp_renum.f90 | 2 +- mlprec/mld_dsub_aply.f90 | 2 +- mlprec/mld_dsub_solve.f90 | 4 +- mlprec/mld_dumf_bld.f90 | 2 +- mlprec/mld_inner_mod.f90 | 194 ++++++++++++------------ mlprec/mld_move_alloc_mod.f90 | 34 ++--- mlprec/mld_prec_mod.f90 | 80 +++++----- mlprec/mld_s_prec_type.f90 | 10 +- mlprec/mld_saggrmap_bld.f90 | 4 +- mlprec/mld_saggrmat_asb.f90 | 2 +- mlprec/mld_saggrmat_nosmth_asb.F90 | 2 +- mlprec/mld_saggrmat_smth_asb.F90 | 2 +- mlprec/mld_sas_aply.f90 | 2 +- mlprec/mld_sas_bld.f90 | 2 +- mlprec/mld_sbaseprec_aply.f90 | 2 +- mlprec/mld_sbaseprec_bld.f90 | 2 +- mlprec/mld_scoarse_bld.f90 | 2 +- mlprec/mld_sdiag_bld.f90 | 2 +- mlprec/mld_sfact_bld.f90 | 2 +- mlprec/mld_silu0_fact.f90 | 4 +- mlprec/mld_silu_bld.f90 | 2 +- mlprec/mld_siluk_fact.f90 | 10 +- mlprec/mld_silut_fact.f90 | 10 +- mlprec/mld_smlprec_aply.f90 | 2 +- mlprec/mld_smlprec_bld.f90 | 2 +- mlprec/mld_sprecaply.f90 | 4 +- mlprec/mld_sprecbld.f90 | 2 +- mlprec/mld_sprecinit.F90 | 2 +- mlprec/mld_sprecset.f90 | 6 +- mlprec/mld_sslu_bld.f90 | 2 +- mlprec/mld_sslud_bld.f90 | 2 +- mlprec/mld_ssp_renum.f90 | 2 +- mlprec/mld_ssub_aply.f90 | 2 +- mlprec/mld_ssub_solve.f90 | 4 +- mlprec/mld_sumf_bld.f90 | 2 +- mlprec/mld_z_prec_type.f90 | 10 +- mlprec/mld_zaggrmap_bld.f90 | 4 +- mlprec/mld_zaggrmat_asb.f90 | 2 +- mlprec/mld_zaggrmat_nosmth_asb.F90 | 2 +- mlprec/mld_zaggrmat_smth_asb.F90 | 2 +- mlprec/mld_zas_aply.f90 | 2 +- mlprec/mld_zas_bld.f90 | 2 +- mlprec/mld_zbaseprec_aply.f90 | 2 +- mlprec/mld_zbaseprec_bld.f90 | 2 +- mlprec/mld_zcoarse_bld.f90 | 2 +- mlprec/mld_zdiag_bld.f90 | 2 +- mlprec/mld_zfact_bld.f90 | 2 +- mlprec/mld_zilu0_fact.f90 | 4 +- mlprec/mld_zilu_bld.f90 | 2 +- mlprec/mld_ziluk_fact.f90 | 10 +- mlprec/mld_zilut_fact.f90 | 10 +- mlprec/mld_zmlprec_aply.f90 | 2 +- mlprec/mld_zmlprec_bld.f90 | 2 +- mlprec/mld_zprecaply.f90 | 4 +- mlprec/mld_zprecbld.f90 | 2 +- mlprec/mld_zprecinit.F90 | 2 +- mlprec/mld_zprecset.f90 | 6 +- mlprec/mld_zslu_bld.f90 | 2 +- mlprec/mld_zslud_bld.f90 | 2 +- mlprec/mld_zsp_renum.f90 | 2 +- mlprec/mld_zsub_aply.f90 | 2 +- mlprec/mld_zsub_solve.f90 | 4 +- mlprec/mld_zumf_bld.f90 | 2 +- tests/fileread/cf_sample.f90 | 4 +- tests/fileread/data_input.f90 | 8 +- tests/fileread/df_sample.f90 | 4 +- tests/fileread/sf_sample.f90 | 4 +- tests/fileread/zf_sample.f90 | 4 +- tests/pdegen/data_input.f90 | 8 +- tests/pdegen/ppde.f90 | 18 +-- tests/pdegen/spde.f90 | 18 +-- 147 files changed, 561 insertions(+), 562 deletions(-) diff --git a/config/pac.m4 b/config/pac.m4 index b2c4f3d6..9d0061f0 100644 --- a/config/pac.m4 +++ b/config/pac.m4 @@ -314,7 +314,7 @@ dnl Warning : square brackets are EVIL! [AC_MSG_CHECKING([for working source dir of PSBLAS]) cat > conftest.$ac_ext < conftest.$ac_ext <&6; } cat > conftest.$ac_ext < mld_caggrmap_bld implicit none @@ -163,7 +163,7 @@ contains subroutine mld_dec_map_bld(theta,a,desc_a,nlaggr,ilaggr,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod !, mld_protect_name => mld_daggrmap_bld implicit none diff --git a/mlprec/mld_caggrmat_asb.f90 b/mlprec/mld_caggrmat_asb.f90 index eea67e7c..8b9c6792 100644 --- a/mlprec/mld_caggrmat_asb.f90 +++ b/mlprec/mld_caggrmat_asb.f90 @@ -100,7 +100,7 @@ ! subroutine mld_caggrmat_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_caggrmat_asb implicit none diff --git a/mlprec/mld_caggrmat_nosmth_asb.F90 b/mlprec/mld_caggrmat_nosmth_asb.F90 index 2f1ec538..72a9ba6e 100644 --- a/mlprec/mld_caggrmat_nosmth_asb.F90 +++ b/mlprec/mld_caggrmat_nosmth_asb.F90 @@ -82,7 +82,7 @@ ! Error code. ! subroutine mld_caggrmat_nosmth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_caggrmat_nosmth_asb #ifdef MPI_MOD diff --git a/mlprec/mld_caggrmat_smth_asb.F90 b/mlprec/mld_caggrmat_smth_asb.F90 index 61946d42..6964dce5 100644 --- a/mlprec/mld_caggrmat_smth_asb.F90 +++ b/mlprec/mld_caggrmat_smth_asb.F90 @@ -99,7 +99,7 @@ ! Error code. ! subroutine mld_caggrmat_smth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_caggrmat_smth_asb #ifdef MPI_MOD diff --git a/mlprec/mld_cas_aply.f90 b/mlprec/mld_cas_aply.f90 index 86e216b4..58715ea5 100644 --- a/mlprec/mld_cas_aply.f90 +++ b/mlprec/mld_cas_aply.f90 @@ -76,7 +76,7 @@ ! subroutine mld_cas_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cas_aply implicit none diff --git a/mlprec/mld_cas_bld.f90 b/mlprec/mld_cas_bld.f90 index 1327d807..dea03715 100644 --- a/mlprec/mld_cas_bld.f90 +++ b/mlprec/mld_cas_bld.f90 @@ -68,7 +68,7 @@ ! subroutine mld_cas_bld(a,desc_a,p,upd,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cas_bld Implicit None diff --git a/mlprec/mld_cbaseprec_aply.f90 b/mlprec/mld_cbaseprec_aply.f90 index 59a5e651..659b462a 100644 --- a/mlprec/mld_cbaseprec_aply.f90 +++ b/mlprec/mld_cbaseprec_aply.f90 @@ -80,7 +80,7 @@ ! subroutine mld_cbaseprec_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cbaseprec_aply implicit none diff --git a/mlprec/mld_cbaseprec_bld.f90 b/mlprec/mld_cbaseprec_bld.f90 index d14e7ec7..bae285fe 100644 --- a/mlprec/mld_cbaseprec_bld.f90 +++ b/mlprec/mld_cbaseprec_bld.f90 @@ -70,7 +70,7 @@ ! subroutine mld_cbaseprec_bld(a,desc_a,p,info,upd) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cbaseprec_bld Implicit None diff --git a/mlprec/mld_ccoarse_bld.f90 b/mlprec/mld_ccoarse_bld.f90 index 08cefda7..1845ada0 100644 --- a/mlprec/mld_ccoarse_bld.f90 +++ b/mlprec/mld_ccoarse_bld.f90 @@ -67,7 +67,7 @@ ! subroutine mld_ccoarse_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_ccoarse_bld implicit none diff --git a/mlprec/mld_cdiag_bld.f90 b/mlprec/mld_cdiag_bld.f90 index 670f009d..b96f0a0c 100644 --- a/mlprec/mld_cdiag_bld.f90 +++ b/mlprec/mld_cdiag_bld.f90 @@ -59,7 +59,7 @@ ! subroutine mld_cdiag_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cdiag_bld Implicit None diff --git a/mlprec/mld_cfact_bld.f90 b/mlprec/mld_cfact_bld.f90 index f485f887..e122c50e 100644 --- a/mlprec/mld_cfact_bld.f90 +++ b/mlprec/mld_cfact_bld.f90 @@ -111,7 +111,7 @@ ! subroutine mld_cfact_bld(a,p,upd,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cfact_bld implicit none diff --git a/mlprec/mld_cilu0_fact.f90 b/mlprec/mld_cilu0_fact.f90 index 8097edbf..64919f50 100644 --- a/mlprec/mld_cilu0_fact.f90 +++ b/mlprec/mld_cilu0_fact.f90 @@ -101,7 +101,7 @@ ! subroutine mld_cilu0_fact(ialg,a,l,u,d,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cilu0_fact implicit none @@ -547,7 +547,7 @@ contains subroutine ilu_copyin(i,m,a,jd,jmin,jmax,l1,lia1,laspk,& & dia,l2,uia1,uaspk,ktrw,trw) - use psb_base_mod + use psb_sparse_mod implicit none diff --git a/mlprec/mld_cilu_bld.f90 b/mlprec/mld_cilu_bld.f90 index 6cfe882b..5802c8b5 100644 --- a/mlprec/mld_cilu_bld.f90 +++ b/mlprec/mld_cilu_bld.f90 @@ -91,7 +91,7 @@ ! subroutine mld_cilu_bld(a,p,upd,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cilu_bld implicit none diff --git a/mlprec/mld_ciluk_fact.f90 b/mlprec/mld_ciluk_fact.f90 index d28d9932..9a8d37ce 100644 --- a/mlprec/mld_ciluk_fact.f90 +++ b/mlprec/mld_ciluk_fact.f90 @@ -98,7 +98,7 @@ ! subroutine mld_ciluk_fact(fill_in,ialg,a,l,u,d,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_ciluk_fact implicit none @@ -267,7 +267,7 @@ contains subroutine mld_ciluk_factint(fill_in,ialg,m,a,b,& & d,laspk,lia1,lia2,uaspk,uia1,uia2,l1,l2,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -483,7 +483,7 @@ contains ! subroutine iluk_copyin(i,m,a,jmin,jmax,row,rowlevs,heap,ktrw,trw,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -640,7 +640,7 @@ contains ! subroutine iluk_fact(fill_in,i,row,rowlevs,heap,d,uia1,uia2,uaspk,uplevs,nidx,idxs,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -815,7 +815,7 @@ contains subroutine iluk_copyout(fill_in,ialg,i,m,row,rowlevs,nidx,idxs,& & l1,l2,lia1,lia2,laspk,d,uia1,uia2,uaspk,uplevs,info) - use psb_base_mod + use psb_sparse_mod implicit none diff --git a/mlprec/mld_cilut_fact.f90 b/mlprec/mld_cilut_fact.f90 index da5943f8..06510f30 100644 --- a/mlprec/mld_cilut_fact.f90 +++ b/mlprec/mld_cilut_fact.f90 @@ -94,7 +94,7 @@ ! subroutine mld_cilut_fact(fill_in,thres,a,l,u,d,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cilut_fact implicit none @@ -268,7 +268,7 @@ contains subroutine mld_cilut_factint(fill_in,thres,m,a,b,& & d,laspk,lia1,lia2,uaspk,uia1,uia2,l1,l2,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -480,7 +480,7 @@ contains ! every nrb calls to copyin. If A is in CSR format it is unused. ! subroutine ilut_copyin(i,m,a,jd,jmin,jmax,nlw,nup,jmaxup,nrmi,row,heap,ktrw,trw,info) - use psb_base_mod + use psb_sparse_mod implicit none type(psb_cspmat_type), intent(in) :: a type(psb_cspmat_type), intent(inout) :: trw @@ -671,7 +671,7 @@ contains ! subroutine ilut_fact(thres,i,nrmi,row,heap,d,uia1,uia2,uaspk,nidx,idxs,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -857,7 +857,7 @@ contains subroutine ilut_copyout(fill_in,thres,i,m,nlw,nup,jmaxup,nrmi,row, & & nidx,idxs,l1,l2,lia1,lia2,laspk,d,uia1,uia2,uaspk,info) - use psb_base_mod + use psb_sparse_mod implicit none diff --git a/mlprec/mld_cmlprec_aply.f90 b/mlprec/mld_cmlprec_aply.f90 index d961aeeb..4156a4ee 100644 --- a/mlprec/mld_cmlprec_aply.f90 +++ b/mlprec/mld_cmlprec_aply.f90 @@ -141,7 +141,7 @@ ! subroutine mld_cmlprec_aply(alpha,p,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cmlprec_aply implicit none diff --git a/mlprec/mld_cmlprec_bld.f90 b/mlprec/mld_cmlprec_bld.f90 index d7d39409..3ceddd94 100644 --- a/mlprec/mld_cmlprec_bld.f90 +++ b/mlprec/mld_cmlprec_bld.f90 @@ -66,7 +66,7 @@ ! subroutine mld_cmlprec_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cmlprec_bld use mld_prec_mod diff --git a/mlprec/mld_cprecaply.f90 b/mlprec/mld_cprecaply.f90 index c6a94212..3a91e9e9 100644 --- a/mlprec/mld_cprecaply.f90 +++ b/mlprec/mld_cprecaply.f90 @@ -73,7 +73,7 @@ ! subroutine mld_cprecaply(prec,x,y,desc_data,info,trans,work) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod use mld_prec_mod, mld_protect_name => mld_cprecaply @@ -206,7 +206,7 @@ end subroutine mld_cprecaply ! subroutine mld_cprecaply1(prec,x,desc_data,info,trans) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod use mld_prec_mod, mld_protect_name => mld_cprecaply1 diff --git a/mlprec/mld_cprecbld.f90 b/mlprec/mld_cprecbld.f90 index 0fb5398e..543afe90 100644 --- a/mlprec/mld_cprecbld.f90 +++ b/mlprec/mld_cprecbld.f90 @@ -60,7 +60,7 @@ ! subroutine mld_cprecbld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod use mld_prec_mod, mld_protect_name => mld_cprecbld Implicit None diff --git a/mlprec/mld_cprecinit.F90 b/mlprec/mld_cprecinit.F90 index 5e4c0337..7fece63a 100644 --- a/mlprec/mld_cprecinit.F90 +++ b/mlprec/mld_cprecinit.F90 @@ -88,7 +88,7 @@ ! subroutine mld_cprecinit(p,ptype,info,nlev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, psb_protect_name => mld_cprecinit implicit none diff --git a/mlprec/mld_cprecset.f90 b/mlprec/mld_cprecset.f90 index b9aed36b..9bed9014 100644 --- a/mlprec/mld_cprecset.f90 +++ b/mlprec/mld_cprecset.f90 @@ -78,7 +78,7 @@ ! subroutine mld_cprecseti(p,what,val,info,ilev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_cprecseti implicit none @@ -341,7 +341,7 @@ end subroutine mld_cprecseti ! subroutine mld_cprecsetc(p,what,string,info,ilev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_cprecsetc implicit none @@ -432,7 +432,7 @@ end subroutine mld_cprecsetc ! subroutine mld_cprecsetr(p,what,val,info,ilev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_cprecsetr implicit none diff --git a/mlprec/mld_cslu_bld.f90 b/mlprec/mld_cslu_bld.f90 index d96a8de8..e097b3cf 100644 --- a/mlprec/mld_cslu_bld.f90 +++ b/mlprec/mld_cslu_bld.f90 @@ -71,7 +71,7 @@ ! subroutine mld_cslu_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cslu_bld implicit none diff --git a/mlprec/mld_cslud_bld.f90 b/mlprec/mld_cslud_bld.f90 index 66f78ae1..93ce41e7 100644 --- a/mlprec/mld_cslud_bld.f90 +++ b/mlprec/mld_cslud_bld.f90 @@ -68,7 +68,7 @@ ! subroutine mld_csludist_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_csludist_bld implicit none diff --git a/mlprec/mld_csp_renum.f90 b/mlprec/mld_csp_renum.f90 index f4110c6a..f45c8115 100644 --- a/mlprec/mld_csp_renum.f90 +++ b/mlprec/mld_csp_renum.f90 @@ -83,7 +83,7 @@ ! subroutine mld_csp_renum(a,blck,p,atmp,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_csp_renum implicit none diff --git a/mlprec/mld_csub_aply.f90 b/mlprec/mld_csub_aply.f90 index 8ab6e410..bf9e7d5e 100644 --- a/mlprec/mld_csub_aply.f90 +++ b/mlprec/mld_csub_aply.f90 @@ -136,7 +136,7 @@ ! subroutine mld_csub_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_csub_aply implicit none diff --git a/mlprec/mld_csub_solve.f90 b/mlprec/mld_csub_solve.f90 index 7f4a1bbb..93693edc 100644 --- a/mlprec/mld_csub_solve.f90 +++ b/mlprec/mld_csub_solve.f90 @@ -113,7 +113,7 @@ ! subroutine mld_csub_solve(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_csub_solve implicit none @@ -137,7 +137,7 @@ subroutine mld_csub_solve(alpha,prec,x,beta,y,desc_data,trans,work,info) interface subroutine mld_cumf_solve(flag,m,x,b,n,ptr,info) - use psb_base_mod + use psb_sparse_mod integer, intent(in) :: flag,m,n,ptr integer, intent(out) :: info complex(psb_spk_), intent(in) :: b(*) diff --git a/mlprec/mld_cumf_bld.f90 b/mlprec/mld_cumf_bld.f90 index 12d2d88d..f9721de5 100644 --- a/mlprec/mld_cumf_bld.f90 +++ b/mlprec/mld_cumf_bld.f90 @@ -77,7 +77,7 @@ ! subroutine mld_cumf_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_cumf_bld implicit none diff --git a/mlprec/mld_d_as_smoother.f03 b/mlprec/mld_d_as_smoother.f03 index 02ca5cc4..55eca1dc 100644 --- a/mlprec/mld_d_as_smoother.f03 +++ b/mlprec/mld_d_as_smoother.f03 @@ -80,7 +80,7 @@ module mld_d_as_smoother contains subroutine d_as_smoother_apply(alpha,sm,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod type(psb_desc_type), intent(in) :: desc_data class(mld_d_as_smoother_type), intent(in) :: sm real(psb_dpk_),intent(in) :: x(:) @@ -511,7 +511,7 @@ contains subroutine d_as_smoother_bld(a,desc_a,sm,upd,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -648,7 +648,7 @@ contains subroutine d_as_smoother_seti(sm,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -695,7 +695,7 @@ contains subroutine d_as_smoother_setc(sm,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -733,7 +733,7 @@ contains subroutine d_as_smoother_setr(sm,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -770,7 +770,7 @@ contains subroutine d_as_smoother_free(sm,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -810,7 +810,7 @@ contains subroutine d_as_smoother_descr(sm,info,iout) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -855,7 +855,7 @@ contains end subroutine d_as_smoother_descr function d_as_smoother_sizeof(sm) result(val) - use psb_base_mod + use psb_sparse_mod implicit none ! Arguments class(mld_d_as_smoother_type), intent(in) :: sm diff --git a/mlprec/mld_d_diag_solver.f03 b/mlprec/mld_d_diag_solver.f03 index 50e1a98e..d8a565c5 100644 --- a/mlprec/mld_d_diag_solver.f03 +++ b/mlprec/mld_d_diag_solver.f03 @@ -70,7 +70,7 @@ module mld_d_diag_solver contains subroutine d_diag_solver_apply(alpha,sv,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod type(psb_desc_type), intent(in) :: desc_data class(mld_d_diag_solver_type), intent(in) :: sv real(psb_dpk_),intent(in) :: x(:) @@ -191,7 +191,7 @@ contains subroutine d_diag_solver_bld(a,desc_a,sv,upd,info,b) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -270,7 +270,7 @@ contains subroutine d_diag_solver_seti(sv,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -309,7 +309,7 @@ contains subroutine d_diag_solver_setc(sv,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -347,7 +347,7 @@ contains subroutine d_diag_solver_setr(sv,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -385,7 +385,7 @@ contains subroutine d_diag_solver_free(sv,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -421,7 +421,7 @@ contains subroutine d_diag_solver_descr(sv,info,iout) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -450,7 +450,7 @@ contains end subroutine d_diag_solver_descr function d_diag_solver_sizeof(sv) result(val) - use psb_base_mod + use psb_sparse_mod implicit none ! Arguments class(mld_d_diag_solver_type), intent(in) :: sv diff --git a/mlprec/mld_d_ilu_solver.f03 b/mlprec/mld_d_ilu_solver.f03 index 13d138fb..e182f8af 100644 --- a/mlprec/mld_d_ilu_solver.f03 +++ b/mlprec/mld_d_ilu_solver.f03 @@ -72,7 +72,7 @@ module mld_d_ilu_solver interface mld_ilu0_fact subroutine mld_dilu0_fact(ialg,a,l,u,d,info,blck,upd) - use psb_base_mod, only : psb_d_sparse_mat, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_dpk_ integer, intent(in) :: ialg integer, intent(out) :: info type(psb_d_sparse_mat),intent(in) :: a @@ -85,7 +85,7 @@ module mld_d_ilu_solver interface mld_iluk_fact subroutine mld_diluk_fact(fill_in,ialg,a,l,u,d,info,blck) - use psb_base_mod, only : psb_d_sparse_mat, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_dpk_ integer, intent(in) :: fill_in,ialg integer, intent(out) :: info type(psb_d_sparse_mat),intent(in) :: a @@ -97,7 +97,7 @@ module mld_d_ilu_solver interface mld_ilut_fact subroutine mld_dilut_fact(fill_in,thres,a,l,u,d,info,blck) - use psb_base_mod, only : psb_d_sparse_mat, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_dpk_ integer, intent(in) :: fill_in real(psb_dpk_), intent(in) :: thres integer, intent(out) :: info @@ -116,7 +116,7 @@ module mld_d_ilu_solver contains subroutine d_ilu_solver_apply(alpha,sv,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod type(psb_desc_type), intent(in) :: desc_data class(mld_d_ilu_solver_type), intent(in) :: sv real(psb_dpk_),intent(in) :: x(:) @@ -220,7 +220,7 @@ contains subroutine d_ilu_solver_bld(a,desc_a,sv,upd,info,b) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -388,7 +388,7 @@ contains subroutine d_ilu_solver_seti(sv,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -427,7 +427,7 @@ contains subroutine d_ilu_solver_setc(sv,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -465,7 +465,7 @@ contains subroutine d_ilu_solver_setr(sv,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -503,7 +503,7 @@ contains subroutine d_ilu_solver_free(sv,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -541,7 +541,7 @@ contains subroutine d_ilu_solver_descr(sv,info,iout) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -587,7 +587,7 @@ contains end subroutine d_ilu_solver_descr function d_ilu_solver_sizeof(sv) result(val) - use psb_base_mod + use psb_sparse_mod implicit none ! Arguments class(mld_d_ilu_solver_type), intent(in) :: sv diff --git a/mlprec/mld_d_jac_smoother.f03 b/mlprec/mld_d_jac_smoother.f03 index 377a4779..67ef05be 100644 --- a/mlprec/mld_d_jac_smoother.f03 +++ b/mlprec/mld_d_jac_smoother.f03 @@ -75,7 +75,7 @@ module mld_d_jac_smoother contains subroutine d_jac_smoother_apply(alpha,sm,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod type(psb_desc_type), intent(in) :: desc_data class(mld_d_jac_smoother_type), intent(in) :: sm real(psb_dpk_),intent(in) :: x(:) @@ -228,7 +228,7 @@ contains subroutine d_jac_smoother_bld(a,desc_a,sm,upd,info) - use psb_base_mod + use psb_sparse_mod use mld_d_diag_solver Implicit None @@ -293,7 +293,7 @@ contains subroutine d_jac_smoother_seti(sm,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -334,7 +334,7 @@ contains subroutine d_jac_smoother_setc(sm,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -372,7 +372,7 @@ contains subroutine d_jac_smoother_setr(sm,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -409,7 +409,7 @@ contains subroutine d_jac_smoother_free(sm,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -449,7 +449,7 @@ contains subroutine d_jac_smoother_descr(sm,info,iout) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -492,7 +492,7 @@ contains end subroutine d_jac_smoother_descr function d_jac_smoother_sizeof(sm) result(val) - use psb_base_mod + use psb_sparse_mod implicit none ! Arguments class(mld_d_jac_smoother_type), intent(in) :: sm diff --git a/mlprec/mld_d_prec_type.f03 b/mlprec/mld_d_prec_type.f03 index 7d1889d5..dc1e5bed 100644 --- a/mlprec/mld_d_prec_type.f03 +++ b/mlprec/mld_d_prec_type.f03 @@ -203,12 +203,12 @@ module mld_d_prec_type end type mld_d_base_smoother_type type, extends(psb_d_base_prec_type) :: mld_dbaseprec_type - type(psb_d_sparse_mat), allocatable :: av(:) - real(psb_dpk_), allocatable :: d(:) - type(psb_desc_type) :: desc_data +!!$ type(psb_d_sparse_mat), allocatable :: av(:) +!!$ real(psb_dpk_), allocatable :: d(:) +!!$ type(psb_desc_type) :: desc_data integer, allocatable :: iprcparm(:) real(psb_dpk_), allocatable :: rprcparm(:) - integer, allocatable :: perm(:), invperm(:) +!!$ integer, allocatable :: perm(:), invperm(:) end type mld_dbaseprec_type type mld_donelev_type @@ -268,7 +268,7 @@ module mld_d_prec_type interface mld_precaply subroutine mld_dprecaply(prec,x,y,desc_data,info,trans,work) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ import mld_dprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_dprec_type), intent(in) :: prec @@ -279,7 +279,7 @@ module mld_d_prec_type real(psb_dpk_),intent(inout), optional, target :: work(:) end subroutine mld_dprecaply subroutine mld_dprecaply1(prec,x,desc_data,info,trans) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ import mld_dprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_dprec_type), intent(in) :: prec @@ -295,7 +295,7 @@ contains ! function mld_dprec_sizeof(prec) result(val) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_dprec_type), intent(in) :: prec integer(psb_long_int_k_) :: val @@ -331,15 +331,15 @@ contains end if end if if (allocated(prec%rprcparm)) val = val + psb_sizeof_dp * size(prec%rprcparm) - if (allocated(prec%d)) val = val + psb_sizeof_dp * size(prec%d) - if (allocated(prec%perm)) val = val + psb_sizeof_int * size(prec%perm) - if (allocated(prec%invperm)) val = val + psb_sizeof_int * size(prec%invperm) - val = val + psb_sizeof(prec%desc_data) - if (allocated(prec%av)) then - do i=1,size(prec%av) - val = val + psb_sizeof(prec%av(i)) - end do - end if +!!$ if (allocated(prec%d)) val = val + psb_sizeof_dp * size(prec%d) +!!$ if (allocated(prec%perm)) val = val + psb_sizeof_int * size(prec%perm) +!!$ if (allocated(prec%invperm)) val = val + psb_sizeof_int * size(prec%invperm) +!!$ val = val + psb_sizeof(prec%desc_data) +!!$ if (allocated(prec%av)) then +!!$ do i=1,size(prec%av) +!!$ val = val + psb_sizeof(prec%av(i)) +!!$ end do +!!$ end if end function mld_dbaseprec_sizeof @@ -529,36 +529,36 @@ contains ! Actually we might just deallocate the top level array, except ! for the inner UMFPACK or SLU stuff - if (allocated(p%d)) then - deallocate(p%d,stat=info) - end if - - if (allocated(p%av)) then - do i=1,size(p%av) - call p%av(i)%free() - if (info /= 0) then - ! Actually, we don't care here about this. - ! Just let it go. - ! return - end if - enddo - deallocate(p%av,stat=info) - end if - - if (allocated(p%desc_data%matrix_data)) & - & call psb_cdfree(p%desc_data,info) - +!!$ if (allocated(p%d)) then +!!$ deallocate(p%d,stat=info) +!!$ end if +!!$ +!!$ if (allocated(p%av)) then +!!$ do i=1,size(p%av) +!!$ call p%av(i)%free() +!!$ if (info /= 0) then +!!$ ! Actually, we don't care here about this. +!!$ ! Just let it go. +!!$ ! return +!!$ end if +!!$ enddo +!!$ deallocate(p%av,stat=info) +!!$ end if +!!$ +!!$ if (allocated(p%desc_data%matrix_data)) & +!!$ & call psb_cdfree(p%desc_data,info) +!!$ if (allocated(p%rprcparm)) then deallocate(p%rprcparm,stat=info) end if - if (allocated(p%perm)) then - deallocate(p%perm,stat=info) - endif - - if (allocated(p%invperm)) then - deallocate(p%invperm,stat=info) - endif +!!$ if (allocated(p%perm)) then +!!$ deallocate(p%perm,stat=info) +!!$ endif +!!$ +!!$ if (allocated(p%invperm)) then +!!$ deallocate(p%invperm,stat=info) +!!$ endif if (allocated(p%iprcparm)) then if (p%iprcparm(mld_prec_status_) == mld_prec_built_) then @@ -633,7 +633,7 @@ contains subroutine mld_dprec_free(p,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -673,7 +673,7 @@ contains subroutine d_base_smoother_apply(alpha,sm,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod type(psb_desc_type), intent(in) :: desc_data class(mld_d_base_smoother_type), intent(in) :: sm real(psb_dpk_),intent(in) :: x(:) @@ -713,7 +713,7 @@ contains subroutine d_base_smoother_seti(sm,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -746,7 +746,7 @@ contains subroutine d_base_smoother_setc(sm,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -781,7 +781,7 @@ contains subroutine d_base_smoother_setr(sm,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -817,7 +817,7 @@ contains subroutine d_base_smoother_bld(a,desc_a,sm,upd,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -856,7 +856,7 @@ contains subroutine d_base_smoother_free(sm,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -892,7 +892,7 @@ contains subroutine d_base_smoother_descr(sm,info,iout) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -956,7 +956,7 @@ contains subroutine d_base_solver_apply(alpha,sv,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod type(psb_desc_type), intent(in) :: desc_data class(mld_d_base_solver_type), intent(in) :: sv real(psb_dpk_),intent(in) :: x(:) @@ -990,7 +990,7 @@ contains subroutine d_base_solver_bld(a,desc_a,sv,upd,info,b) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -1025,7 +1025,7 @@ contains subroutine d_base_solver_seti(sv,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -1057,7 +1057,7 @@ contains subroutine d_base_solver_setc(sv,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -1089,7 +1089,7 @@ contains subroutine d_base_solver_setr(sv,what,val,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -1121,7 +1121,7 @@ contains subroutine d_base_solver_free(sv,info) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -1151,7 +1151,7 @@ contains subroutine d_base_solver_descr(sv,info,iout) - use psb_base_mod + use psb_sparse_mod Implicit None @@ -1198,7 +1198,7 @@ contains subroutine mld_d_apply2v(prec,x,y,desc_data,info,trans,work) - use psb_base_mod + use psb_sparse_mod type(psb_desc_type),intent(in) :: desc_data class(mld_dprec_type), intent(in) :: prec real(psb_dpk_),intent(in) :: x(:) @@ -1234,7 +1234,7 @@ contains end subroutine mld_d_apply2v subroutine mld_d_apply1v(prec,x,desc_data,info,trans) - use psb_base_mod + use psb_sparse_mod type(psb_desc_type),intent(in) :: desc_data class(mld_dprec_type), intent(in) :: prec real(psb_dpk_),intent(inout) :: x(:) diff --git a/mlprec/mld_daggrmap_bld.f90 b/mlprec/mld_daggrmap_bld.f90 index 65c8f151..8508d851 100644 --- a/mlprec/mld_daggrmap_bld.f90 +++ b/mlprec/mld_daggrmap_bld.f90 @@ -81,7 +81,7 @@ ! subroutine mld_daggrmap_bld(aggr_type,theta,a,desc_a,ilaggr,nlaggr,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_daggrmap_bld implicit none @@ -164,7 +164,7 @@ contains subroutine mld_dec_map_bld(theta,a,desc_a,nlaggr,ilaggr,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod !, mld_protect_name => mld_daggrmap_bld implicit none diff --git a/mlprec/mld_daggrmat_asb.f90 b/mlprec/mld_daggrmat_asb.f90 index 63622e77..9061af84 100644 --- a/mlprec/mld_daggrmat_asb.f90 +++ b/mlprec/mld_daggrmat_asb.f90 @@ -100,7 +100,7 @@ ! subroutine mld_daggrmat_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_daggrmat_asb implicit none diff --git a/mlprec/mld_daggrmat_minnrg_asb.F90 b/mlprec/mld_daggrmat_minnrg_asb.F90 index 99b7284a..6bf24729 100644 --- a/mlprec/mld_daggrmat_minnrg_asb.F90 +++ b/mlprec/mld_daggrmat_minnrg_asb.F90 @@ -99,7 +99,7 @@ ! Error code. ! subroutine mld_daggrmat_minnrg_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_daggrmat_minnrg_asb #ifdef MPI_MOD diff --git a/mlprec/mld_daggrmat_nosmth_asb.F90 b/mlprec/mld_daggrmat_nosmth_asb.F90 index 144211e5..8b82c524 100644 --- a/mlprec/mld_daggrmat_nosmth_asb.F90 +++ b/mlprec/mld_daggrmat_nosmth_asb.F90 @@ -82,7 +82,7 @@ ! Error code. ! subroutine mld_daggrmat_nosmth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_daggrmat_nosmth_asb #ifdef MPI_MOD diff --git a/mlprec/mld_daggrmat_smth_asb.F90 b/mlprec/mld_daggrmat_smth_asb.F90 index 79bd27e7..834ec6f9 100644 --- a/mlprec/mld_daggrmat_smth_asb.F90 +++ b/mlprec/mld_daggrmat_smth_asb.F90 @@ -99,7 +99,7 @@ ! Error code. ! subroutine mld_daggrmat_smth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_daggrmat_smth_asb #ifdef MPI_MOD diff --git a/mlprec/mld_das_aply.f90 b/mlprec/mld_das_aply.f90 index e9384c92..7f042774 100644 --- a/mlprec/mld_das_aply.f90 +++ b/mlprec/mld_das_aply.f90 @@ -76,7 +76,7 @@ ! subroutine mld_das_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_das_aply implicit none diff --git a/mlprec/mld_das_bld.f90 b/mlprec/mld_das_bld.f90 index 79327af7..75c86993 100644 --- a/mlprec/mld_das_bld.f90 +++ b/mlprec/mld_das_bld.f90 @@ -68,7 +68,7 @@ ! subroutine mld_das_bld(a,desc_a,p,upd,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_das_bld Implicit None diff --git a/mlprec/mld_dbaseprec_aply.f90 b/mlprec/mld_dbaseprec_aply.f90 index 4dba8a23..d1372500 100644 --- a/mlprec/mld_dbaseprec_aply.f90 +++ b/mlprec/mld_dbaseprec_aply.f90 @@ -80,7 +80,7 @@ ! subroutine mld_dbaseprec_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dbaseprec_aply implicit none diff --git a/mlprec/mld_dbaseprec_bld.f90 b/mlprec/mld_dbaseprec_bld.f90 index 7d43e567..c507f325 100644 --- a/mlprec/mld_dbaseprec_bld.f90 +++ b/mlprec/mld_dbaseprec_bld.f90 @@ -70,7 +70,7 @@ ! subroutine mld_dbaseprec_bld(a,desc_a,p,info,upd) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dbaseprec_bld Implicit None diff --git a/mlprec/mld_dcoarse_bld.f90 b/mlprec/mld_dcoarse_bld.f90 index 909cd8cd..23f1b67d 100644 --- a/mlprec/mld_dcoarse_bld.f90 +++ b/mlprec/mld_dcoarse_bld.f90 @@ -67,7 +67,7 @@ ! subroutine mld_dcoarse_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dcoarse_bld implicit none diff --git a/mlprec/mld_ddiag_bld.f90 b/mlprec/mld_ddiag_bld.f90 index ca83e895..d2d933dc 100644 --- a/mlprec/mld_ddiag_bld.f90 +++ b/mlprec/mld_ddiag_bld.f90 @@ -59,7 +59,7 @@ ! subroutine mld_ddiag_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_ddiag_bld Implicit None diff --git a/mlprec/mld_dfact_bld.f90 b/mlprec/mld_dfact_bld.f90 index 5d81eb09..09b506dd 100644 --- a/mlprec/mld_dfact_bld.f90 +++ b/mlprec/mld_dfact_bld.f90 @@ -110,7 +110,7 @@ ! subroutine mld_dfact_bld(a,p,upd,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dfact_bld implicit none diff --git a/mlprec/mld_dilu0_fact.f90 b/mlprec/mld_dilu0_fact.f90 index 10a36a6d..8fb7e787 100644 --- a/mlprec/mld_dilu0_fact.f90 +++ b/mlprec/mld_dilu0_fact.f90 @@ -101,7 +101,7 @@ ! subroutine mld_dilu0_fact(ialg,a,l,u,d,info,blck, upd) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dilu0_fact implicit none @@ -557,7 +557,7 @@ contains subroutine ilu_copyin(i,m,a,jd,jmin,jmax,l1,lja,lval,& & dia,l2,uja,uval,ktrw,trw,upd) - use psb_base_mod + use psb_sparse_mod implicit none diff --git a/mlprec/mld_dilu_bld.f90 b/mlprec/mld_dilu_bld.f90 index 18547a9a..164a8027 100644 --- a/mlprec/mld_dilu_bld.f90 +++ b/mlprec/mld_dilu_bld.f90 @@ -91,7 +91,7 @@ ! subroutine mld_dilu_bld(a,p,upd,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dilu_bld implicit none diff --git a/mlprec/mld_diluk_fact.f90 b/mlprec/mld_diluk_fact.f90 index 2fe4dc4f..cf352d26 100644 --- a/mlprec/mld_diluk_fact.f90 +++ b/mlprec/mld_diluk_fact.f90 @@ -98,7 +98,7 @@ ! subroutine mld_diluk_fact(fill_in,ialg,a,l,u,d,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_diluk_fact implicit none @@ -273,7 +273,7 @@ contains subroutine mld_diluk_factint(fill_in,ialg,a,b,& & d,lval,lja,lirp,uval,uja,uirp,l1,l2,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -491,7 +491,7 @@ contains ! subroutine iluk_copyin(i,m,a,jmin,jmax,row,rowlevs,heap,ktrw,trw,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -648,7 +648,7 @@ contains ! subroutine iluk_fact(fill_in,i,row,rowlevs,heap,d,uja,uirp,uval,uplevs,nidx,idxs,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -824,7 +824,7 @@ contains subroutine iluk_copyout(fill_in,ialg,i,m,row,rowlevs,nidx,idxs,& & l1,l2,lja,lirp,lval,d,uja,uirp,uval,uplevs,info) - use psb_base_mod + use psb_sparse_mod implicit none diff --git a/mlprec/mld_dilut_fact.f90 b/mlprec/mld_dilut_fact.f90 index 6939e05b..83deb9e2 100644 --- a/mlprec/mld_dilut_fact.f90 +++ b/mlprec/mld_dilut_fact.f90 @@ -94,7 +94,7 @@ ! subroutine mld_dilut_fact(fill_in,thres,a,l,u,d,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dilut_fact implicit none @@ -272,7 +272,7 @@ contains subroutine mld_dilut_factint(fill_in,thres,a,b,& & d,lval,lja,lirp,uval,uja,uirp,l1,l2,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -484,7 +484,7 @@ contains ! every nrb calls to copyin. If A is in CSR format it is unused. ! subroutine ilut_copyin(i,m,a,jd,jmin,jmax,nlw,nup,jmaxup,nrmi,row,heap,ktrw,trw,info) - use psb_base_mod + use psb_sparse_mod implicit none type(psb_d_sparse_mat), intent(in) :: a type(psb_d_coo_sparse_mat), intent(inout) :: trw @@ -677,7 +677,7 @@ contains ! subroutine ilut_fact(thres,i,nrmi,row,heap,d,uja,uirp,uval,nidx,idxs,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -863,7 +863,7 @@ contains subroutine ilut_copyout(fill_in,thres,i,m,nlw,nup,jmaxup,nrmi,row, & & nidx,idxs,l1,l2,lja,lirp,lval,d,uja,uirp,uval,info) - use psb_base_mod + use psb_sparse_mod implicit none diff --git a/mlprec/mld_dmlprec_aply.f90 b/mlprec/mld_dmlprec_aply.f90 index 75a742a7..773ffbee 100644 --- a/mlprec/mld_dmlprec_aply.f90 +++ b/mlprec/mld_dmlprec_aply.f90 @@ -314,7 +314,7 @@ ! subroutine mld_dmlprec_aply(alpha,p,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dmlprec_aply implicit none diff --git a/mlprec/mld_dmlprec_bld.f90 b/mlprec/mld_dmlprec_bld.f90 index 300d1b33..06c3c01c 100644 --- a/mlprec/mld_dmlprec_bld.f90 +++ b/mlprec/mld_dmlprec_bld.f90 @@ -66,7 +66,7 @@ ! subroutine mld_dmlprec_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dmlprec_bld use mld_prec_mod use mld_d_jac_smoother @@ -392,16 +392,16 @@ contains subroutine init_baseprec_av(p,info) type(mld_dbaseprec_type), intent(inout) :: p integer :: info - if (allocated(p%av)) then - if (size(p%av) /= mld_max_avsz_) then - deallocate(p%av,stat=info) - if (info /= 0) return - endif - end if - if (.not.(allocated(p%av))) then - allocate(p%av(mld_max_avsz_),stat=info) - if (info /= 0) return - end if +!!$ if (allocated(p%av)) then +!!$ if (size(p%av) /= mld_max_avsz_) then +!!$ deallocate(p%av,stat=info) +!!$ if (info /= 0) return +!!$ endif +!!$ end if +!!$ if (.not.(allocated(p%av))) then +!!$ allocate(p%av(mld_max_avsz_),stat=info) +!!$ if (info /= 0) return +!!$ end if !!$ do k=1,size(p%av) !!$ call psb_nullify_sp(p%av(k)) !!$ end do diff --git a/mlprec/mld_dprecaply.f90 b/mlprec/mld_dprecaply.f90 index 04d6be7d..e05941b7 100644 --- a/mlprec/mld_dprecaply.f90 +++ b/mlprec/mld_dprecaply.f90 @@ -73,7 +73,7 @@ ! subroutine mld_dprecaply(prec,x,y,desc_data,info,trans,work) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dprecaply use mld_prec_mod, mld_protect_name => mld_dprecaply @@ -206,7 +206,7 @@ end subroutine mld_dprecaply ! subroutine mld_dprecaply1(prec,x,desc_data,info,trans) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dprecaply1 use mld_prec_mod, mld_protect_name => mld_dprecaply1 diff --git a/mlprec/mld_dprecbld.f90 b/mlprec/mld_dprecbld.f90 index 47d55dbc..bc39e2ad 100644 --- a/mlprec/mld_dprecbld.f90 +++ b/mlprec/mld_dprecbld.f90 @@ -60,7 +60,7 @@ ! subroutine mld_dprecbld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod use mld_prec_mod, mld_protect_name => mld_dprecbld use mld_d_jac_smoother @@ -280,16 +280,16 @@ contains subroutine init_baseprec_av(p,info) type(mld_dbaseprec_type), intent(inout) :: p integer :: info - if (allocated(p%av)) then - if (size(p%av) /= mld_max_avsz_) then - deallocate(p%av,stat=info) - if (info /= 0) return - endif - end if - if (.not.(allocated(p%av))) then - allocate(p%av(mld_max_avsz_),stat=info) - if (info /= 0) return - end if +!!$ if (allocated(p%av)) then +!!$ if (size(p%av) /= mld_max_avsz_) then +!!$ deallocate(p%av,stat=info) +!!$ if (info /= 0) return +!!$ endif +!!$ end if +!!$ if (.not.(allocated(p%av))) then +!!$ allocate(p%av(mld_max_avsz_),stat=info) +!!$ if (info /= 0) return +!!$ end if !!$ do k=1,size(p%av) !!$ call psb_nullify_sp(p%av(k)) !!$ end do diff --git a/mlprec/mld_dprecinit.F90 b/mlprec/mld_dprecinit.F90 index 7c629f72..941dd8d2 100644 --- a/mlprec/mld_dprecinit.F90 +++ b/mlprec/mld_dprecinit.F90 @@ -88,7 +88,7 @@ ! subroutine mld_dprecinit(p,ptype,info,nlev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_dprecinit !!$ use mld_d_smoother !!$ use mld_d_solver diff --git a/mlprec/mld_dprecset.f90 b/mlprec/mld_dprecset.f90 index 38ba5b5d..046f1cc4 100644 --- a/mlprec/mld_dprecset.f90 +++ b/mlprec/mld_dprecset.f90 @@ -78,7 +78,7 @@ ! subroutine mld_dprecseti(p,what,val,info,ilev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_dprecseti implicit none @@ -374,7 +374,7 @@ end subroutine mld_dprecseti ! subroutine mld_dprecsetc(p,what,string,info,ilev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_dprecsetc implicit none @@ -464,7 +464,7 @@ end subroutine mld_dprecsetc ! subroutine mld_dprecsetr(p,what,val,info,ilev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_dprecsetr implicit none diff --git a/mlprec/mld_dslu_bld.f90 b/mlprec/mld_dslu_bld.f90 index 8fb5c878..c91af53b 100644 --- a/mlprec/mld_dslu_bld.f90 +++ b/mlprec/mld_dslu_bld.f90 @@ -71,7 +71,7 @@ ! subroutine mld_dslu_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dslu_bld implicit none diff --git a/mlprec/mld_dslud_bld.f90 b/mlprec/mld_dslud_bld.f90 index ce1971af..7a264c7a 100644 --- a/mlprec/mld_dslud_bld.f90 +++ b/mlprec/mld_dslud_bld.f90 @@ -68,7 +68,7 @@ ! subroutine mld_dsludist_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dsludist_bld implicit none diff --git a/mlprec/mld_dsp_renum.f90 b/mlprec/mld_dsp_renum.f90 index 50582756..c851a021 100644 --- a/mlprec/mld_dsp_renum.f90 +++ b/mlprec/mld_dsp_renum.f90 @@ -83,7 +83,7 @@ ! subroutine mld_dsp_renum(a,blck,p,atmp,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dsp_renum implicit none diff --git a/mlprec/mld_dsub_aply.f90 b/mlprec/mld_dsub_aply.f90 index 0032f739..fc319193 100644 --- a/mlprec/mld_dsub_aply.f90 +++ b/mlprec/mld_dsub_aply.f90 @@ -135,7 +135,7 @@ ! subroutine mld_dsub_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dsub_aply implicit none diff --git a/mlprec/mld_dsub_solve.f90 b/mlprec/mld_dsub_solve.f90 index f21bc998..3d5954b4 100644 --- a/mlprec/mld_dsub_solve.f90 +++ b/mlprec/mld_dsub_solve.f90 @@ -112,7 +112,7 @@ ! subroutine mld_dsub_solve(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dsub_solve implicit none @@ -136,7 +136,7 @@ subroutine mld_dsub_solve(alpha,prec,x,beta,y,desc_data,trans,work,info) interface subroutine mld_dumf_solve(flag,m,x,b,n,ptr,info) - use psb_base_mod + use psb_sparse_mod integer, intent(in) :: flag,m,n,ptr integer, intent(out) :: info real(psb_dpk_), intent(in) :: b(*) diff --git a/mlprec/mld_dumf_bld.f90 b/mlprec/mld_dumf_bld.f90 index 0c829719..01eb7151 100644 --- a/mlprec/mld_dumf_bld.f90 +++ b/mlprec/mld_dumf_bld.f90 @@ -77,7 +77,7 @@ ! subroutine mld_dumf_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_dumf_bld implicit none diff --git a/mlprec/mld_inner_mod.f90 b/mlprec/mld_inner_mod.f90 index 2554cefe..34609821 100644 --- a/mlprec/mld_inner_mod.f90 +++ b/mlprec/mld_inner_mod.f90 @@ -50,7 +50,7 @@ module mld_inner_mod interface mld_baseprec_aply subroutine mld_sbaseprec_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_sbaseprec_type), intent(in) :: prec @@ -62,7 +62,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_sbaseprec_aply subroutine mld_dbaseprec_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_dbaseprec_type), intent(in) :: prec @@ -74,7 +74,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_dbaseprec_aply subroutine mld_cbaseprec_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_cbaseprec_type), intent(in) :: prec @@ -86,7 +86,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_cbaseprec_aply subroutine mld_zbaseprec_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_zbaseprec_type), intent(in) :: prec @@ -101,7 +101,7 @@ module mld_inner_mod interface mld_mlprec_bld subroutine mld_smlprec_bld(a,desc_a,prec,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sprec_type implicit none type(psb_s_sparse_mat), intent(in), target :: a @@ -111,7 +111,7 @@ module mld_inner_mod !!$ character, intent(in),optional :: upd end subroutine mld_smlprec_bld subroutine mld_dmlprec_bld(a,desc_a,prec,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dprec_type implicit none type(psb_d_sparse_mat), intent(in), target :: a @@ -121,7 +121,7 @@ module mld_inner_mod !!$ character, intent(in),optional :: upd end subroutine mld_dmlprec_bld subroutine mld_cmlprec_bld(a,desc_a,prec,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cprec_type implicit none type(psb_c_sparse_mat), intent(in), target :: a @@ -131,7 +131,7 @@ module mld_inner_mod !!$ character, intent(in),optional :: upd end subroutine mld_cmlprec_bld subroutine mld_zmlprec_bld(a,desc_a,prec,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zprec_type implicit none type(psb_z_sparse_mat), intent(in), target :: a @@ -144,7 +144,7 @@ module mld_inner_mod interface mld_as_aply subroutine mld_sas_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_sbaseprec_type), intent(in) :: prec @@ -156,7 +156,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_sas_aply subroutine mld_das_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_dbaseprec_type), intent(in) :: prec @@ -168,7 +168,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_das_aply subroutine mld_cas_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_cbaseprec_type), intent(in) :: prec @@ -180,7 +180,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_cas_aply subroutine mld_zas_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_zbaseprec_type), intent(in) :: prec @@ -195,7 +195,7 @@ module mld_inner_mod interface mld_mlprec_aply subroutine mld_smlprec_aply(alpha,p,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type, mld_sprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_sprec_type), intent(in) :: p @@ -207,7 +207,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_smlprec_aply subroutine mld_dmlprec_aply(alpha,p,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type, mld_dprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_dprec_type), intent(in) :: p @@ -219,7 +219,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_dmlprec_aply subroutine mld_cmlprec_aply(alpha,p,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type, mld_cprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_cprec_type), intent(in) :: p @@ -231,7 +231,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_cmlprec_aply subroutine mld_zmlprec_aply(alpha,p,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type, mld_zprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_zprec_type), intent(in) :: p @@ -247,7 +247,7 @@ module mld_inner_mod interface mld_sub_aply subroutine mld_ssub_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type type(psb_desc_type), intent(in) :: desc_data type(mld_sbaseprec_type), intent(in) :: prec @@ -259,7 +259,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_ssub_aply subroutine mld_dsub_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type type(psb_desc_type), intent(in) :: desc_data type(mld_dbaseprec_type), intent(in) :: prec @@ -271,7 +271,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_dsub_aply subroutine mld_csub_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type type(psb_desc_type), intent(in) :: desc_data type(mld_cbaseprec_type), intent(in) :: prec @@ -283,7 +283,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_csub_aply subroutine mld_zsub_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type type(psb_desc_type), intent(in) :: desc_data type(mld_zbaseprec_type), intent(in) :: prec @@ -299,7 +299,7 @@ module mld_inner_mod interface mld_sub_solve subroutine mld_ssub_solve(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type type(psb_desc_type), intent(in) :: desc_data type(mld_sbaseprec_type), intent(in) :: prec @@ -311,7 +311,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_ssub_solve subroutine mld_dsub_solve(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type type(psb_desc_type), intent(in) :: desc_data type(mld_dbaseprec_type), intent(in) :: prec @@ -323,7 +323,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_dsub_solve subroutine mld_csub_solve(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type type(psb_desc_type), intent(in) :: desc_data type(mld_cbaseprec_type), intent(in) :: prec @@ -335,7 +335,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_csub_solve subroutine mld_zsub_solve(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type type(psb_desc_type), intent(in) :: desc_data type(mld_zbaseprec_type), intent(in) :: prec @@ -351,7 +351,7 @@ module mld_inner_mod interface mld_asmat_bld Subroutine mld_sasmat_bld(ptype,novr,a,blk,desc_data,upd,desc_p,info,outfmt) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type integer, intent(in) :: ptype,novr Type(psb_s_sparse_mat), Intent(in) :: a @@ -363,7 +363,7 @@ module mld_inner_mod character(len=5), optional :: outfmt end Subroutine mld_sasmat_bld Subroutine mld_dasmat_bld(ptype,novr,a,blk,desc_data,upd,desc_p,info,outfmt) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type integer, intent(in) :: ptype,novr Type(psb_d_sparse_mat), Intent(in) :: a @@ -375,7 +375,7 @@ module mld_inner_mod character(len=5), optional :: outfmt end Subroutine mld_dasmat_bld Subroutine mld_casmat_bld(ptype,novr,a,blk,desc_data,upd,desc_p,info,outfmt) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type integer, intent(in) :: ptype,novr Type(psb_c_sparse_mat), Intent(in) :: a @@ -387,7 +387,7 @@ module mld_inner_mod character(len=5), optional :: outfmt end Subroutine mld_casmat_bld Subroutine mld_zasmat_bld(ptype,novr,a,blk,desc_data,upd,desc_p,info,outfmt) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type integer, intent(in) :: ptype,novr Type(psb_z_sparse_mat), Intent(in) :: a @@ -402,7 +402,7 @@ module mld_inner_mod interface mld_sp_renum subroutine mld_ssp_renum(a,blck,p,atmp,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type type(psb_s_sparse_mat), intent(in) :: a,blck type(psb_s_sparse_mat), intent(out) :: atmp @@ -410,7 +410,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_ssp_renum subroutine mld_dsp_renum(a,blck,p,atmp,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type type(psb_d_sparse_mat), intent(in) :: a,blck type(psb_d_sparse_mat), intent(out) :: atmp @@ -418,7 +418,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_dsp_renum subroutine mld_csp_renum(a,blck,p,atmp,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type type(psb_c_sparse_mat), intent(in) :: a,blck type(psb_c_sparse_mat), intent(out) :: atmp @@ -426,7 +426,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_csp_renum subroutine mld_zsp_renum(a,blck,p,atmp,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type type(psb_z_sparse_mat), intent(in) :: a,blck type(psb_z_sparse_mat), intent(out) :: atmp @@ -437,7 +437,7 @@ module mld_inner_mod interface mld_coarse_bld subroutine mld_scoarse_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type, mld_sonelev_type type(psb_s_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -445,7 +445,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_scoarse_bld subroutine mld_dcoarse_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type, mld_donelev_type type(psb_d_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -453,7 +453,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_dcoarse_bld subroutine mld_ccoarse_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type, mld_conelev_type type(psb_c_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -461,7 +461,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_ccoarse_bld subroutine mld_zcoarse_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type, mld_zonelev_type type(psb_z_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -472,7 +472,7 @@ module mld_inner_mod interface mld_aggrmap_bld subroutine mld_saggrmap_bld(aggr_type,theta,a,desc_a,ilaggr,nlaggr,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type integer, intent(in) :: aggr_type real(psb_spk_), intent(in) :: theta @@ -482,7 +482,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_saggrmap_bld subroutine mld_daggrmap_bld(aggr_type,theta,a,desc_a,ilaggr,nlaggr,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type integer, intent(in) :: aggr_type real(psb_dpk_), intent(in) :: theta @@ -492,7 +492,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_daggrmap_bld subroutine mld_caggrmap_bld(aggr_type,theta,a,desc_a,ilaggr,nlaggr,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type integer, intent(in) :: aggr_type real(psb_spk_), intent(in) :: theta @@ -502,7 +502,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_caggrmap_bld subroutine mld_zaggrmap_bld(aggr_type,theta,a,desc_a,ilaggr,nlaggr,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type integer, intent(in) :: aggr_type real(psb_dpk_), intent(in) :: theta @@ -515,7 +515,7 @@ module mld_inner_mod interface mld_aggrmat_asb subroutine mld_saggrmat_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type, mld_sonelev_type type(psb_s_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -524,7 +524,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_saggrmat_asb subroutine mld_daggrmat_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type, mld_donelev_type type(psb_d_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -533,7 +533,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_daggrmat_asb subroutine mld_caggrmat_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type, mld_conelev_type type(psb_c_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -542,7 +542,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_caggrmat_asb subroutine mld_zaggrmat_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type, mld_zonelev_type type(psb_z_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -554,7 +554,7 @@ module mld_inner_mod interface mld_aggrmat_nosmth_asb subroutine mld_saggrmat_nosmth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type, mld_sonelev_type type(psb_s_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -563,7 +563,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_saggrmat_nosmth_asb subroutine mld_daggrmat_nosmth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type, mld_donelev_type type(psb_d_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -572,7 +572,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_daggrmat_nosmth_asb subroutine mld_caggrmat_nosmth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type, mld_conelev_type type(psb_c_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -581,7 +581,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_caggrmat_nosmth_asb subroutine mld_zaggrmat_nosmth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type, mld_zonelev_type type(psb_z_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -593,7 +593,7 @@ module mld_inner_mod interface mld_aggrmat_smth_asb subroutine mld_saggrmat_smth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type, mld_sonelev_type type(psb_s_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -602,7 +602,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_saggrmat_smth_asb subroutine mld_daggrmat_smth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type, mld_donelev_type type(psb_d_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -611,7 +611,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_daggrmat_smth_asb subroutine mld_caggrmat_smth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type, mld_conelev_type type(psb_c_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -620,7 +620,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_caggrmat_smth_asb subroutine mld_zaggrmat_smth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type, mld_zonelev_type type(psb_z_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -632,7 +632,7 @@ module mld_inner_mod interface mld_aggrmat_minnrg_asb subroutine mld_daggrmat_minnrg_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type, mld_donelev_type type(psb_d_sparse_mat), intent(in) :: a type(psb_desc_type), intent(in) :: desc_a @@ -644,7 +644,7 @@ module mld_inner_mod interface mld_baseprec_bld subroutine mld_sbaseprec_bld(a,desc_a,p,info,upd) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type type(psb_s_sparse_mat), target :: a type(psb_desc_type), intent(in), target :: desc_a @@ -653,7 +653,7 @@ module mld_inner_mod character, intent(in), optional :: upd end subroutine mld_sbaseprec_bld subroutine mld_dbaseprec_bld(a,desc_a,p,info,upd) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type type(psb_d_sparse_mat), target :: a type(psb_desc_type), intent(in), target :: desc_a @@ -662,7 +662,7 @@ module mld_inner_mod character, intent(in), optional :: upd end subroutine mld_dbaseprec_bld subroutine mld_cbaseprec_bld(a,desc_a,p,info,upd) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type type(psb_c_sparse_mat), target :: a type(psb_desc_type), intent(in), target :: desc_a @@ -671,7 +671,7 @@ module mld_inner_mod character, intent(in), optional :: upd end subroutine mld_cbaseprec_bld subroutine mld_zbaseprec_bld(a,desc_a,p,info,upd) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type type(psb_z_sparse_mat), target :: a type(psb_desc_type), intent(in), target :: desc_a @@ -683,7 +683,7 @@ module mld_inner_mod interface mld_as_bld subroutine mld_sas_bld(a,desc_a,p,upd,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type type(psb_s_sparse_mat),intent(in), target :: a type(psb_desc_type), intent(in), target :: desc_a @@ -692,7 +692,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_sas_bld subroutine mld_das_bld(a,desc_a,p,upd,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type type(psb_d_sparse_mat),intent(in), target :: a type(psb_desc_type), intent(in), target :: desc_a @@ -701,7 +701,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_das_bld subroutine mld_cas_bld(a,desc_a,p,upd,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type type(psb_c_sparse_mat),intent(in), target :: a type(psb_desc_type), intent(in), target :: desc_a @@ -710,7 +710,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_cas_bld subroutine mld_zas_bld(a,desc_a,p,upd,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type type(psb_z_sparse_mat),intent(in), target :: a type(psb_desc_type), intent(in), target :: desc_a @@ -722,7 +722,7 @@ module mld_inner_mod interface mld_diag_bld subroutine mld_sdiag_bld(a,desc_data,p,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type integer, intent(out) :: info type(psb_s_sparse_mat), intent(in), target :: a @@ -730,7 +730,7 @@ module mld_inner_mod type(mld_sbaseprec_type), intent(inout) :: p end subroutine mld_sdiag_bld subroutine mld_ddiag_bld(a,desc_data,p,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type integer, intent(out) :: info type(psb_d_sparse_mat), intent(in), target :: a @@ -738,7 +738,7 @@ module mld_inner_mod type(mld_dbaseprec_type), intent(inout) :: p end subroutine mld_ddiag_bld subroutine mld_cdiag_bld(a,desc_data,p,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type integer, intent(out) :: info type(psb_c_sparse_mat), intent(in), target :: a @@ -746,7 +746,7 @@ module mld_inner_mod type(mld_cbaseprec_type), intent(inout) :: p end subroutine mld_cdiag_bld subroutine mld_zdiag_bld(a,desc_data,p,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type integer, intent(out) :: info type(psb_z_sparse_mat), intent(in), target :: a @@ -757,7 +757,7 @@ module mld_inner_mod interface mld_fact_bld subroutine mld_sfact_bld(a,p,upd,info,blck) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type type(psb_s_sparse_mat), intent(in), target :: a type(mld_sbaseprec_type), intent(inout) :: p @@ -766,7 +766,7 @@ module mld_inner_mod type(psb_s_sparse_mat), intent(in), target, optional :: blck end subroutine mld_sfact_bld subroutine mld_dfact_bld(a,p,upd,info,blck) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type type(psb_d_sparse_mat), intent(in), target :: a type(mld_dbaseprec_type), intent(inout) :: p @@ -775,7 +775,7 @@ module mld_inner_mod type(psb_d_sparse_mat), intent(in), target, optional :: blck end subroutine mld_dfact_bld subroutine mld_cfact_bld(a,p,upd,info,blck) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type type(psb_c_sparse_mat), intent(in), target :: a type(mld_cbaseprec_type), intent(inout) :: p @@ -784,7 +784,7 @@ module mld_inner_mod type(psb_c_sparse_mat), intent(in), target, optional :: blck end subroutine mld_cfact_bld subroutine mld_zfact_bld(a,p,upd,info,blck) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type type(psb_z_sparse_mat), intent(in), target :: a type(mld_zbaseprec_type), intent(inout) :: p @@ -796,7 +796,7 @@ module mld_inner_mod interface mld_ilu_bld subroutine mld_silu_bld(a,p,upd,info,blck) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type integer, intent(out) :: info type(psb_s_sparse_mat), intent(in), target :: a @@ -805,7 +805,7 @@ module mld_inner_mod type(psb_s_sparse_mat), intent(in), optional :: blck end subroutine mld_silu_bld subroutine mld_dilu_bld(a,p,upd,info,blck) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type integer, intent(out) :: info type(psb_d_sparse_mat), intent(in), target :: a @@ -814,7 +814,7 @@ module mld_inner_mod type(psb_d_sparse_mat), intent(in), optional :: blck end subroutine mld_dilu_bld subroutine mld_cilu_bld(a,p,upd,info,blck) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type integer, intent(out) :: info type(psb_c_sparse_mat), intent(in), target :: a @@ -823,7 +823,7 @@ module mld_inner_mod type(psb_c_sparse_mat), intent(in), optional :: blck end subroutine mld_cilu_bld subroutine mld_zilu_bld(a,p,upd,info,blck) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type integer, intent(out) :: info type(psb_z_sparse_mat), intent(in), target :: a @@ -835,7 +835,7 @@ module mld_inner_mod interface mld_sludist_bld subroutine mld_ssludist_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type type(psb_s_sparse_mat), intent(inout) :: a type(psb_desc_type), intent(in) :: desc_a @@ -843,7 +843,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_ssludist_bld subroutine mld_dsludist_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type type(psb_d_sparse_mat), intent(inout) :: a type(psb_desc_type), intent(in) :: desc_a @@ -851,7 +851,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_dsludist_bld subroutine mld_csludist_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type type(psb_c_sparse_mat), intent(inout) :: a type(psb_desc_type), intent(in) :: desc_a @@ -859,7 +859,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_csludist_bld subroutine mld_zsludist_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type type(psb_z_sparse_mat), intent(inout) :: a type(psb_desc_type), intent(in) :: desc_a @@ -870,7 +870,7 @@ module mld_inner_mod interface mld_slu_bld subroutine mld_sslu_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type type(psb_s_sparse_mat), intent(inout) :: a type(psb_desc_type), intent(in) :: desc_a @@ -878,7 +878,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_sslu_bld subroutine mld_dslu_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type type(psb_d_sparse_mat), intent(inout) :: a type(psb_desc_type), intent(in) :: desc_a @@ -886,7 +886,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_dslu_bld subroutine mld_cslu_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type type(psb_c_sparse_mat), intent(inout) :: a type(psb_desc_type), intent(in) :: desc_a @@ -894,7 +894,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_cslu_bld subroutine mld_zslu_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type type(psb_z_sparse_mat), intent(inout) :: a type(psb_desc_type), intent(in) :: desc_a @@ -905,7 +905,7 @@ module mld_inner_mod interface mld_umf_bld subroutine mld_sumf_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sbaseprec_type type(psb_s_sparse_mat), intent(inout) :: a type(psb_desc_type), intent(in) :: desc_a @@ -913,7 +913,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_sumf_bld subroutine mld_dumf_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dbaseprec_type type(psb_d_sparse_mat), intent(inout) :: a type(psb_desc_type), intent(in) :: desc_a @@ -921,7 +921,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_dumf_bld subroutine mld_cumf_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cbaseprec_type type(psb_c_sparse_mat), intent(inout) :: a type(psb_desc_type), intent(in) :: desc_a @@ -929,7 +929,7 @@ module mld_inner_mod integer, intent(out) :: info end subroutine mld_cumf_bld subroutine mld_zumf_bld(a,desc_a,p,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zbaseprec_type type(psb_z_sparse_mat), intent(inout) :: a type(psb_desc_type), intent(in) :: desc_a @@ -940,7 +940,7 @@ module mld_inner_mod interface mld_ilu0_fact subroutine mld_silu0_fact(ialg,a,l,u,d,info,blck,upd) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ integer, intent(in) :: ialg integer, intent(out) :: info type(psb_s_sparse_mat),intent(in) :: a @@ -950,7 +950,7 @@ module mld_inner_mod real(psb_spk_), intent(inout) :: d(:) end subroutine mld_silu0_fact subroutine mld_dilu0_fact(ialg,a,l,u,d,info,blck,upd) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ integer, intent(in) :: ialg integer, intent(out) :: info type(psb_d_sparse_mat),intent(in) :: a @@ -960,7 +960,7 @@ module mld_inner_mod real(psb_dpk_), intent(inout) :: d(:) end subroutine mld_dilu0_fact subroutine mld_cilu0_fact(ialg,a,l,u,d,info,blck,upd) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ integer, intent(in) :: ialg integer, intent(out) :: info type(psb_c_sparse_mat),intent(in) :: a @@ -970,7 +970,7 @@ module mld_inner_mod complex(psb_spk_), intent(inout) :: d(:) end subroutine mld_cilu0_fact subroutine mld_zilu0_fact(ialg,a,l,u,d,info,blck,upd) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ integer, intent(in) :: ialg integer, intent(out) :: info type(psb_z_sparse_mat),intent(in) :: a @@ -983,7 +983,7 @@ module mld_inner_mod interface mld_iluk_fact subroutine mld_siluk_fact(fill_in,ialg,a,l,u,d,info,blck) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ integer, intent(in) :: fill_in,ialg integer, intent(out) :: info type(psb_s_sparse_mat),intent(in) :: a @@ -992,7 +992,7 @@ module mld_inner_mod real(psb_spk_), intent(inout) :: d(:) end subroutine mld_siluk_fact subroutine mld_diluk_fact(fill_in,ialg,a,l,u,d,info,blck) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ integer, intent(in) :: fill_in,ialg integer, intent(out) :: info type(psb_d_sparse_mat),intent(in) :: a @@ -1001,7 +1001,7 @@ module mld_inner_mod real(psb_dpk_), intent(inout) :: d(:) end subroutine mld_diluk_fact subroutine mld_ciluk_fact(fill_in,ialg,a,l,u,d,info,blck) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ integer, intent(in) :: fill_in,ialg integer, intent(out) :: info type(psb_c_sparse_mat),intent(in) :: a @@ -1010,7 +1010,7 @@ module mld_inner_mod complex(psb_spk_), intent(inout) :: d(:) end subroutine mld_ciluk_fact subroutine mld_ziluk_fact(fill_in,ialg,a,l,u,d,info,blck) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ integer, intent(in) :: fill_in,ialg integer, intent(out) :: info type(psb_z_sparse_mat),intent(in) :: a @@ -1022,7 +1022,7 @@ module mld_inner_mod interface mld_ilut_fact subroutine mld_silut_fact(fill_in,thres,a,l,u,d,info,blck) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ integer, intent(in) :: fill_in real(psb_spk_), intent(in) :: thres integer, intent(out) :: info @@ -1032,7 +1032,7 @@ module mld_inner_mod real(psb_spk_), intent(inout) :: d(:) end subroutine mld_silut_fact subroutine mld_dilut_fact(fill_in,thres,a,l,u,d,info,blck) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ integer, intent(in) :: fill_in real(psb_dpk_), intent(in) :: thres integer, intent(out) :: info @@ -1042,7 +1042,7 @@ module mld_inner_mod real(psb_dpk_), intent(inout) :: d(:) end subroutine mld_dilut_fact subroutine mld_cilut_fact(fill_in,thres,a,l,u,d,info,blck) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ integer, intent(in) :: fill_in real(psb_spk_), intent(in) :: thres integer, intent(out) :: info @@ -1052,7 +1052,7 @@ module mld_inner_mod complex(psb_spk_), intent(inout) :: d(:) end subroutine mld_cilut_fact subroutine mld_zilut_fact(fill_in,thres,a,l,u,d,info,blck) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ integer, intent(in) :: fill_in real(psb_dpk_), intent(in) :: thres integer, intent(out) :: info diff --git a/mlprec/mld_move_alloc_mod.f90 b/mlprec/mld_move_alloc_mod.f90 index 7080e77b..5c5c1a98 100644 --- a/mlprec/mld_move_alloc_mod.f90 +++ b/mlprec/mld_move_alloc_mod.f90 @@ -63,7 +63,7 @@ contains subroutine mld_sbaseprec_move_alloc(a, b,info) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_sbaseprec_type), intent(inout) :: a, b integer, intent(out) :: info @@ -84,7 +84,7 @@ contains end subroutine mld_sbaseprec_move_alloc subroutine mld_sonelev_prec_move_alloc(a, b,info) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_sonelev_type), intent(inout) :: a, b integer, intent(out) :: info @@ -104,7 +104,7 @@ contains end subroutine mld_sonelev_prec_move_alloc subroutine mld_sprec_move_alloc(a, b,info) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_sprec_type), intent(inout) :: a type(mld_sprec_type), intent(inout), target :: b @@ -132,7 +132,7 @@ contains subroutine mld_dbaseprec_move_alloc(a, b,info) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_dbaseprec_type), intent(inout) :: a, b integer, intent(out) :: info @@ -141,11 +141,11 @@ contains call mld_precfree(b,info) if (info == 0) call psb_move_alloc(a%iprcparm,b%iprcparm,info) if (info == 0) call psb_move_alloc(a%rprcparm,b%rprcparm,info) - if (info == 0) call psb_move_alloc(a%desc_data,b%desc_data,info) - if (info == 0) call psb_move_alloc(a%perm,b%perm,info) - if (info == 0) call psb_move_alloc(a%invperm,b%invperm,info) - if (info == 0) call psb_move_alloc(a%d,b%d,info) - call move_alloc(a%av,b%av) +!!$ if (info == 0) call psb_move_alloc(a%desc_data,b%desc_data,info) +!!$ if (info == 0) call psb_move_alloc(a%perm,b%perm,info) +!!$ if (info == 0) call psb_move_alloc(a%invperm,b%invperm,info) +!!$ if (info == 0) call psb_move_alloc(a%d,b%d,info) +!!$ call move_alloc(a%av,b%av) if (info /= 0) then write(0,*) 'Error in baseprec_:transfer',info end if @@ -153,7 +153,7 @@ contains end subroutine mld_dbaseprec_move_alloc subroutine mld_donelev_prec_move_alloc(a, b,info) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_donelev_type), intent(inout) :: a, b integer, intent(out) :: info @@ -174,7 +174,7 @@ contains end subroutine mld_donelev_prec_move_alloc subroutine mld_dprec_move_alloc(a, b,info) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_dprec_type), intent(inout) :: a type(mld_dprec_type), intent(inout), target :: b @@ -202,7 +202,7 @@ contains subroutine mld_cbaseprec_move_alloc(a, b,info) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_cbaseprec_type), intent(inout) :: a, b integer, intent(out) :: info @@ -223,7 +223,7 @@ contains end subroutine mld_cbaseprec_move_alloc subroutine mld_conelev_prec_move_alloc(a, b,info) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_conelev_type), intent(inout) :: a, b integer, intent(out) :: info @@ -243,7 +243,7 @@ contains end subroutine mld_conelev_prec_move_alloc subroutine mld_cprec_move_alloc(a, b,info) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_cprec_type), intent(inout) :: a type(mld_cprec_type), intent(inout), target :: b @@ -271,7 +271,7 @@ contains subroutine mld_zbaseprec_move_alloc(a, b,info) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_zbaseprec_type), intent(inout) :: a, b integer, intent(out) :: info @@ -292,7 +292,7 @@ contains end subroutine mld_zbaseprec_move_alloc subroutine mld_zonelev_prec_move_alloc(a, b,info) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_zonelev_type), intent(inout) :: a, b integer, intent(out) :: info @@ -312,7 +312,7 @@ contains end subroutine mld_zonelev_prec_move_alloc subroutine mld_zprec_move_alloc(a, b,info) - use psb_base_mod + use psb_sparse_mod implicit none type(mld_zprec_type), intent(inout) :: a type(mld_zprec_type), intent(inout), target :: b diff --git a/mlprec/mld_prec_mod.f90 b/mlprec/mld_prec_mod.f90 index 84f90e60..bb32b773 100644 --- a/mlprec/mld_prec_mod.f90 +++ b/mlprec/mld_prec_mod.f90 @@ -49,7 +49,7 @@ module mld_prec_mod interface mld_precinit !!$ subroutine mld_sprecinit(p,ptype,info,nlev) -!!$ use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_sprec_type !!$ type(mld_sprec_type), intent(inout) :: p !!$ character(len=*), intent(in) :: ptype @@ -57,7 +57,7 @@ module mld_prec_mod !!$ integer, optional, intent(in) :: nlev !!$ end subroutine mld_sprecinit subroutine mld_dprecinit(p,ptype,info,nlev) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dprec_type type(mld_dprec_type), intent(inout) :: p character(len=*), intent(in) :: ptype @@ -65,7 +65,7 @@ module mld_prec_mod integer, optional, intent(in) :: nlev end subroutine mld_dprecinit !!$ subroutine mld_cprecinit(p,ptype,info,nlev) -!!$ use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_cprec_type !!$ type(mld_cprec_type), intent(inout) :: p !!$ character(len=*), intent(in) :: ptype @@ -73,7 +73,7 @@ module mld_prec_mod !!$ integer, optional, intent(in) :: nlev !!$ end subroutine mld_cprecinit !!$ subroutine mld_zprecinit(p,ptype,info,nlev) -!!$ use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ +!!$ use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ !!$ use mld_prec_type, only : mld_zprec_type !!$ type(mld_zprec_type), intent(inout) :: p !!$ character(len=*), intent(in) :: ptype @@ -92,7 +92,7 @@ module mld_prec_mod interface mld_inner_precset !!$ subroutine mld_sprecseti(p,what,val,info,ilev) -!!$ use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_sprec_type !!$ type(mld_sprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -101,7 +101,7 @@ module mld_prec_mod !!$ integer, optional, intent(in) :: ilev !!$ end subroutine mld_sprecseti !!$ subroutine mld_sprecsetr(p,what,val,info,ilev) -!!$ use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_sprec_type !!$ type(mld_sprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -110,7 +110,7 @@ module mld_prec_mod !!$ integer, optional, intent(in) :: ilev !!$ end subroutine mld_sprecsetr !!$ subroutine mld_sprecsetc(p,what,string,info,ilev) -!!$ use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_sprec_type !!$ type(mld_sprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -119,7 +119,7 @@ module mld_prec_mod !!$ integer, optional, intent(in) :: ilev !!$ end subroutine mld_sprecsetc subroutine mld_dprecseti(p,what,val,info,ilev) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dprec_type type(mld_dprec_type), intent(inout) :: p integer, intent(in) :: what @@ -128,7 +128,7 @@ module mld_prec_mod integer, optional, intent(in) :: ilev end subroutine mld_dprecseti subroutine mld_dprecsetr(p,what,val,info,ilev) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dprec_type type(mld_dprec_type), intent(inout) :: p integer, intent(in) :: what @@ -137,7 +137,7 @@ module mld_prec_mod integer, optional, intent(in) :: ilev end subroutine mld_dprecsetr subroutine mld_dprecsetc(p,what,string,info,ilev) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dprec_type type(mld_dprec_type), intent(inout) :: p integer, intent(in) :: what @@ -146,7 +146,7 @@ module mld_prec_mod integer, optional, intent(in) :: ilev end subroutine mld_dprecsetc !!$ subroutine mld_cprecseti(p,what,val,info,ilev) -!!$ use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_cprec_type !!$ type(mld_cprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -155,7 +155,7 @@ module mld_prec_mod !!$ integer, optional, intent(in) :: ilev !!$ end subroutine mld_cprecseti !!$ subroutine mld_cprecsetr(p,what,val,info,ilev) -!!$ use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_cprec_type !!$ type(mld_cprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -164,7 +164,7 @@ module mld_prec_mod !!$ integer, optional, intent(in) :: ilev !!$ end subroutine mld_cprecsetr !!$ subroutine mld_cprecsetc(p,what,string,info,ilev) -!!$ use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_cprec_type !!$ type(mld_cprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -173,7 +173,7 @@ module mld_prec_mod !!$ integer, optional, intent(in) :: ilev !!$ end subroutine mld_cprecsetc !!$ subroutine mld_zprecseti(p,what,val,info,ilev) -!!$ use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ +!!$ use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ !!$ use mld_prec_type, only : mld_zprec_type !!$ type(mld_zprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -182,7 +182,7 @@ module mld_prec_mod !!$ integer, optional, intent(in) :: ilev !!$ end subroutine mld_zprecseti !!$ subroutine mld_zprecsetr(p,what,val,info,ilev) -!!$ use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ +!!$ use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ !!$ use mld_prec_type, only : mld_zprec_type !!$ type(mld_zprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -191,7 +191,7 @@ module mld_prec_mod !!$ integer, optional, intent(in) :: ilev !!$ end subroutine mld_zprecsetr !!$ subroutine mld_zprecsetc(p,what,string,info,ilev) -!!$ use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ +!!$ use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ !!$ use mld_prec_type, only : mld_zprec_type !!$ type(mld_zprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -203,7 +203,7 @@ module mld_prec_mod !!$ !!$ interface mld_precaply !!$ subroutine mld_sprecaply(prec,x,y,desc_data,info,trans,work) -!!$ use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_sprec_type !!$ type(psb_desc_type),intent(in) :: desc_data !!$ type(mld_sprec_type), intent(in) :: prec @@ -214,7 +214,7 @@ module mld_prec_mod !!$ real(psb_spk_),intent(inout), optional, target :: work(:) !!$ end subroutine mld_sprecaply !!$ subroutine mld_sprecaply1(prec,x,desc_data,info,trans) -!!$ use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_sprec_type !!$ type(psb_desc_type),intent(in) :: desc_data !!$ type(mld_sprec_type), intent(in) :: prec @@ -223,7 +223,7 @@ module mld_prec_mod !!$ character(len=1), optional :: trans !!$ end subroutine mld_sprecaply1 !!$ subroutine mld_dprecaply(prec,x,y,desc_data,info,trans,work) -!!$ use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ +!!$ use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ !!$ use mld_prec_type, only : mld_dprec_type !!$ type(psb_desc_type),intent(in) :: desc_data !!$ type(mld_dprec_type), intent(in) :: prec @@ -234,7 +234,7 @@ module mld_prec_mod !!$ real(psb_dpk_),intent(inout), optional, target :: work(:) !!$ end subroutine mld_dprecaply !!$ subroutine mld_dprecaply1(prec,x,desc_data,info,trans) -!!$ use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ +!!$ use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ !!$ use mld_prec_type, only : mld_dprec_type !!$ type(psb_desc_type),intent(in) :: desc_data !!$ type(mld_dprec_type), intent(in) :: prec @@ -243,7 +243,7 @@ module mld_prec_mod !!$ character(len=1), optional :: trans !!$ end subroutine mld_dprecaply1 !!$ subroutine mld_cprecaply(prec,x,y,desc_data,info,trans,work) -!!$ use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_cprec_type !!$ type(psb_desc_type),intent(in) :: desc_data !!$ type(mld_cprec_type), intent(in) :: prec @@ -254,7 +254,7 @@ module mld_prec_mod !!$ complex(psb_spk_),intent(inout), optional, target :: work(:) !!$ end subroutine mld_cprecaply !!$ subroutine mld_cprecaply1(prec,x,desc_data,info,trans) -!!$ use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_cprec_type !!$ type(psb_desc_type),intent(in) :: desc_data !!$ type(mld_cprec_type), intent(in) :: prec @@ -263,7 +263,7 @@ module mld_prec_mod !!$ character(len=1), optional :: trans !!$ end subroutine mld_cprecaply1 !!$ subroutine mld_zprecaply(prec,x,y,desc_data,info,trans,work) -!!$ use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ +!!$ use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ !!$ use mld_prec_type, only : mld_zprec_type !!$ type(psb_desc_type),intent(in) :: desc_data !!$ type(mld_zprec_type), intent(in) :: prec @@ -274,7 +274,7 @@ module mld_prec_mod !!$ complex(psb_dpk_),intent(inout), optional, target :: work(:) !!$ end subroutine mld_zprecaply !!$ subroutine mld_zprecaply1(prec,x,desc_data,info,trans) -!!$ use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ +!!$ use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ !!$ use mld_prec_type, only : mld_zprec_type !!$ type(psb_desc_type),intent(in) :: desc_data !!$ type(mld_zprec_type), intent(in) :: prec @@ -286,7 +286,7 @@ module mld_prec_mod !!$ interface mld_precbld subroutine mld_sprecbld(a,desc_a,prec,info) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_sprec_type implicit none type(psb_s_sparse_mat), intent(in), target :: a @@ -296,7 +296,7 @@ module mld_prec_mod !!$ character, intent(in),optional :: upd end subroutine mld_sprecbld subroutine mld_dprecbld(a,desc_a,prec,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dprec_type implicit none type(psb_d_sparse_mat), intent(in), target :: a @@ -306,7 +306,7 @@ module mld_prec_mod !!$ character, intent(in),optional :: upd end subroutine mld_dprecbld subroutine mld_cprecbld(a,desc_a,prec,info) - use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ use mld_prec_type, only : mld_cprec_type implicit none type(psb_c_sparse_mat), intent(in), target :: a @@ -316,7 +316,7 @@ module mld_prec_mod !!$ character, intent(in),optional :: upd end subroutine mld_cprecbld subroutine mld_zprecbld(a,desc_a,prec,info) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_zprec_type implicit none type(psb_z_sparse_mat), intent(in), target :: a @@ -330,7 +330,7 @@ module mld_prec_mod contains !!$ subroutine mld_i_sprecseti(p,what,val,info) -!!$ use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_sprec_type !!$ type(mld_sprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -341,7 +341,7 @@ contains !!$ end subroutine mld_i_sprecseti !!$ !!$ subroutine mld_i_sprecsetr(p,what,val,info) -!!$ use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_sprec_type !!$ type(mld_sprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -352,7 +352,7 @@ contains !!$ end subroutine mld_i_sprecsetr !!$ !!$ subroutine mld_i_sprecsetc(p,what,val,info) -!!$ use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_sprec_type !!$ type(mld_sprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -363,7 +363,7 @@ contains !!$ end subroutine mld_i_sprecsetc subroutine mld_i_dprecseti(p,what,val,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dprec_type type(mld_dprec_type), intent(inout) :: p integer, intent(in) :: what @@ -374,7 +374,7 @@ contains end subroutine mld_i_dprecseti subroutine mld_i_dprecsetr(p,what,val,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dprec_type type(mld_dprec_type), intent(inout) :: p integer, intent(in) :: what @@ -385,7 +385,7 @@ contains end subroutine mld_i_dprecsetr subroutine mld_i_dprecsetc(p,what,val,info) - use psb_base_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_d_sparse_mat, psb_desc_type, psb_dpk_ use mld_prec_type, only : mld_dprec_type type(mld_dprec_type), intent(inout) :: p integer, intent(in) :: what @@ -396,7 +396,7 @@ contains end subroutine mld_i_dprecsetc !!$ subroutine mld_i_cprecseti(p,what,val,info) -!!$ use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_cprec_type !!$ type(mld_cprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -407,7 +407,7 @@ contains !!$ end subroutine mld_i_cprecseti !!$ !!$ subroutine mld_i_cprecsetr(p,what,val,info) -!!$ use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_cprec_type !!$ type(mld_cprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -418,7 +418,7 @@ contains !!$ end subroutine mld_i_cprecsetr !!$ !!$ subroutine mld_i_cprecsetc(p,what,val,info) -!!$ use psb_base_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ +!!$ use psb_sparse_mod, only : psb_c_sparse_mat, psb_desc_type, psb_spk_ !!$ use mld_prec_type, only : mld_cprec_type !!$ type(mld_cprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -429,7 +429,7 @@ contains !!$ end subroutine mld_i_cprecsetc !!$ !!$ subroutine mld_i_zprecseti(p,what,val,info) -!!$ use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ +!!$ use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ !!$ use mld_prec_type, only : mld_zprec_type !!$ type(mld_zprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -440,7 +440,7 @@ contains !!$ end subroutine mld_i_zprecseti !!$ !!$ subroutine mld_i_zprecsetr(p,what,val,info) -!!$ use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ +!!$ use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ !!$ use mld_prec_type, only : mld_zprec_type !!$ type(mld_zprec_type), intent(inout) :: p !!$ integer, intent(in) :: what @@ -451,7 +451,7 @@ contains !!$ end subroutine mld_i_zprecsetr !!$ !!$ subroutine mld_i_zprecsetc(p,what,val,info) -!!$ use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ +!!$ use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ !!$ use mld_prec_type, only : mld_zprec_type !!$ type(mld_zprec_type), intent(inout) :: p !!$ integer, intent(in) :: what diff --git a/mlprec/mld_s_prec_type.f90 b/mlprec/mld_s_prec_type.f90 index bfe0f367..d63a2e35 100644 --- a/mlprec/mld_s_prec_type.f90 +++ b/mlprec/mld_s_prec_type.f90 @@ -235,7 +235,7 @@ module mld_s_prec_type interface mld_precaply subroutine mld_sprecaply(prec,x,y,desc_data,info,trans,work) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ import mld_sprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_sprec_type), intent(in) :: prec @@ -246,7 +246,7 @@ module mld_s_prec_type real(psb_spk_),intent(inout), optional, target :: work(:) end subroutine mld_sprecaply subroutine mld_sprecaply1(prec,x,desc_data,info,trans) - use psb_base_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ + use psb_sparse_mod, only : psb_s_sparse_mat, psb_desc_type, psb_spk_ import mld_sprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_sprec_type), intent(in) :: prec @@ -591,7 +591,7 @@ contains subroutine mld_sprec_free(p,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -632,7 +632,7 @@ contains subroutine mld_s_apply2v(prec,x,y,desc_data,info,trans,work) - use psb_base_mod + use psb_sparse_mod type(psb_desc_type),intent(in) :: desc_data class(mld_sprec_type), intent(in) :: prec real(psb_spk_),intent(in) :: x(:) @@ -667,7 +667,7 @@ contains end subroutine mld_s_apply2v subroutine mld_s_apply1v(prec,x,desc_data,info,trans) - use psb_base_mod + use psb_sparse_mod type(psb_desc_type),intent(in) :: desc_data class(mld_sprec_type), intent(in) :: prec real(psb_spk_),intent(inout) :: x(:) diff --git a/mlprec/mld_saggrmap_bld.f90 b/mlprec/mld_saggrmap_bld.f90 index ed7694f9..9408bb8a 100644 --- a/mlprec/mld_saggrmap_bld.f90 +++ b/mlprec/mld_saggrmap_bld.f90 @@ -81,7 +81,7 @@ ! subroutine mld_saggrmap_bld(aggr_type,theta,a,desc_a,ilaggr,nlaggr,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_saggrmap_bld implicit none @@ -163,7 +163,7 @@ contains subroutine mld_dec_map_bld(theta,a,desc_a,nlaggr,ilaggr,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod !, mld_protect_name => mld_daggrmap_bld implicit none diff --git a/mlprec/mld_saggrmat_asb.f90 b/mlprec/mld_saggrmat_asb.f90 index d73e3637..28bc8058 100644 --- a/mlprec/mld_saggrmat_asb.f90 +++ b/mlprec/mld_saggrmat_asb.f90 @@ -100,7 +100,7 @@ ! subroutine mld_saggrmat_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_saggrmat_asb implicit none diff --git a/mlprec/mld_saggrmat_nosmth_asb.F90 b/mlprec/mld_saggrmat_nosmth_asb.F90 index ea0287b7..61ed42d8 100644 --- a/mlprec/mld_saggrmat_nosmth_asb.F90 +++ b/mlprec/mld_saggrmat_nosmth_asb.F90 @@ -82,7 +82,7 @@ ! Error code. ! subroutine mld_saggrmat_nosmth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_saggrmat_nosmth_asb #ifdef MPI_MOD diff --git a/mlprec/mld_saggrmat_smth_asb.F90 b/mlprec/mld_saggrmat_smth_asb.F90 index bf1853a7..a00234c2 100644 --- a/mlprec/mld_saggrmat_smth_asb.F90 +++ b/mlprec/mld_saggrmat_smth_asb.F90 @@ -99,7 +99,7 @@ ! Error code. ! subroutine mld_saggrmat_smth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_saggrmat_smth_asb #ifdef MPI_MOD diff --git a/mlprec/mld_sas_aply.f90 b/mlprec/mld_sas_aply.f90 index a7a8cc00..0b80597b 100644 --- a/mlprec/mld_sas_aply.f90 +++ b/mlprec/mld_sas_aply.f90 @@ -76,7 +76,7 @@ ! subroutine mld_sas_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_sas_aply implicit none diff --git a/mlprec/mld_sas_bld.f90 b/mlprec/mld_sas_bld.f90 index 25550824..d0f47761 100644 --- a/mlprec/mld_sas_bld.f90 +++ b/mlprec/mld_sas_bld.f90 @@ -68,7 +68,7 @@ ! subroutine mld_sas_bld(a,desc_a,p,upd,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_sas_bld Implicit None diff --git a/mlprec/mld_sbaseprec_aply.f90 b/mlprec/mld_sbaseprec_aply.f90 index ce10ec6c..2e4e3e94 100644 --- a/mlprec/mld_sbaseprec_aply.f90 +++ b/mlprec/mld_sbaseprec_aply.f90 @@ -80,7 +80,7 @@ ! subroutine mld_sbaseprec_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_sbaseprec_aply implicit none diff --git a/mlprec/mld_sbaseprec_bld.f90 b/mlprec/mld_sbaseprec_bld.f90 index 060d0dcd..f800f4a8 100644 --- a/mlprec/mld_sbaseprec_bld.f90 +++ b/mlprec/mld_sbaseprec_bld.f90 @@ -70,7 +70,7 @@ ! subroutine mld_sbaseprec_bld(a,desc_a,p,info,upd) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_sbaseprec_bld Implicit None diff --git a/mlprec/mld_scoarse_bld.f90 b/mlprec/mld_scoarse_bld.f90 index 22fb7b45..c69d1520 100644 --- a/mlprec/mld_scoarse_bld.f90 +++ b/mlprec/mld_scoarse_bld.f90 @@ -67,7 +67,7 @@ ! subroutine mld_scoarse_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_scoarse_bld implicit none diff --git a/mlprec/mld_sdiag_bld.f90 b/mlprec/mld_sdiag_bld.f90 index 796f9546..a51dc197 100644 --- a/mlprec/mld_sdiag_bld.f90 +++ b/mlprec/mld_sdiag_bld.f90 @@ -59,7 +59,7 @@ ! subroutine mld_sdiag_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_sdiag_bld Implicit None diff --git a/mlprec/mld_sfact_bld.f90 b/mlprec/mld_sfact_bld.f90 index 5b38cbdc..94cb1090 100644 --- a/mlprec/mld_sfact_bld.f90 +++ b/mlprec/mld_sfact_bld.f90 @@ -110,7 +110,7 @@ ! subroutine mld_sfact_bld(a,p,upd,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_sfact_bld implicit none diff --git a/mlprec/mld_silu0_fact.f90 b/mlprec/mld_silu0_fact.f90 index 05a423a5..81752b8d 100644 --- a/mlprec/mld_silu0_fact.f90 +++ b/mlprec/mld_silu0_fact.f90 @@ -101,7 +101,7 @@ ! subroutine mld_silu0_fact(ialg,a,l,u,d,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_silu0_fact implicit none @@ -547,7 +547,7 @@ contains subroutine ilu_copyin(i,m,a,jd,jmin,jmax,l1,lia1,laspk,& & dia,l2,uia1,uaspk,ktrw,trw) - use psb_base_mod + use psb_sparse_mod implicit none diff --git a/mlprec/mld_silu_bld.f90 b/mlprec/mld_silu_bld.f90 index 27f51891..b95d6487 100644 --- a/mlprec/mld_silu_bld.f90 +++ b/mlprec/mld_silu_bld.f90 @@ -91,7 +91,7 @@ ! subroutine mld_silu_bld(a,p,upd,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_silu_bld implicit none diff --git a/mlprec/mld_siluk_fact.f90 b/mlprec/mld_siluk_fact.f90 index 17c2a4ab..ec355e85 100644 --- a/mlprec/mld_siluk_fact.f90 +++ b/mlprec/mld_siluk_fact.f90 @@ -98,7 +98,7 @@ ! subroutine mld_siluk_fact(fill_in,ialg,a,l,u,d,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_siluk_fact implicit none @@ -267,7 +267,7 @@ contains subroutine mld_siluk_factint(fill_in,ialg,m,a,b,& & d,laspk,lia1,lia2,uaspk,uia1,uia2,l1,l2,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -483,7 +483,7 @@ contains ! subroutine iluk_copyin(i,m,a,jmin,jmax,row,rowlevs,heap,ktrw,trw,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -640,7 +640,7 @@ contains ! subroutine iluk_fact(fill_in,i,row,rowlevs,heap,d,uia1,uia2,uaspk,uplevs,nidx,idxs,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -816,7 +816,7 @@ contains subroutine iluk_copyout(fill_in,ialg,i,m,row,rowlevs,nidx,idxs,& & l1,l2,lia1,lia2,laspk,d,uia1,uia2,uaspk,uplevs,info) - use psb_base_mod + use psb_sparse_mod implicit none diff --git a/mlprec/mld_silut_fact.f90 b/mlprec/mld_silut_fact.f90 index 96b6a60f..0f0676cd 100644 --- a/mlprec/mld_silut_fact.f90 +++ b/mlprec/mld_silut_fact.f90 @@ -94,7 +94,7 @@ ! subroutine mld_silut_fact(fill_in,thres,a,l,u,d,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_silut_fact implicit none @@ -268,7 +268,7 @@ contains subroutine mld_silut_factint(fill_in,thres,m,a,b,& & d,laspk,lia1,lia2,uaspk,uia1,uia2,l1,l2,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -480,7 +480,7 @@ contains ! every nrb calls to copyin. If A is in CSR format it is unused. ! subroutine ilut_copyin(i,m,a,jd,jmin,jmax,nlw,nup,jmaxup,nrmi,row,heap,ktrw,trw,info) - use psb_base_mod + use psb_sparse_mod implicit none type(psb_sspmat_type), intent(in) :: a type(psb_sspmat_type), intent(inout) :: trw @@ -670,7 +670,7 @@ contains ! subroutine ilut_fact(thres,i,nrmi,row,heap,d,uia1,uia2,uaspk,nidx,idxs,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -856,7 +856,7 @@ contains subroutine ilut_copyout(fill_in,thres,i,m,nlw,nup,jmaxup,nrmi,row, & & nidx,idxs,l1,l2,lia1,lia2,laspk,d,uia1,uia2,uaspk,info) - use psb_base_mod + use psb_sparse_mod implicit none diff --git a/mlprec/mld_smlprec_aply.f90 b/mlprec/mld_smlprec_aply.f90 index 45221b68..84ccd7c8 100644 --- a/mlprec/mld_smlprec_aply.f90 +++ b/mlprec/mld_smlprec_aply.f90 @@ -140,7 +140,7 @@ ! subroutine mld_smlprec_aply(alpha,p,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_smlprec_aply implicit none diff --git a/mlprec/mld_smlprec_bld.f90 b/mlprec/mld_smlprec_bld.f90 index fa074d2c..84515e56 100644 --- a/mlprec/mld_smlprec_bld.f90 +++ b/mlprec/mld_smlprec_bld.f90 @@ -66,7 +66,7 @@ ! subroutine mld_smlprec_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_smlprec_bld use mld_prec_mod diff --git a/mlprec/mld_sprecaply.f90 b/mlprec/mld_sprecaply.f90 index a319b16e..8ee2dde0 100644 --- a/mlprec/mld_sprecaply.f90 +++ b/mlprec/mld_sprecaply.f90 @@ -73,7 +73,7 @@ ! subroutine mld_sprecaply(prec,x,y,desc_data,info,trans,work) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod use mld_prec_mod, mld_protect_name => mld_sprecaply @@ -205,7 +205,7 @@ end subroutine mld_sprecaply ! subroutine mld_sprecaply1(prec,x,desc_data,info,trans) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod use mld_prec_mod, mld_protect_name => mld_sprecaply1 diff --git a/mlprec/mld_sprecbld.f90 b/mlprec/mld_sprecbld.f90 index 6990dbd6..6837a70b 100644 --- a/mlprec/mld_sprecbld.f90 +++ b/mlprec/mld_sprecbld.f90 @@ -60,7 +60,7 @@ ! subroutine mld_sprecbld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod use mld_prec_mod, mld_protect_name => mld_sprecbld diff --git a/mlprec/mld_sprecinit.F90 b/mlprec/mld_sprecinit.F90 index d5785cae..8a2f5e4f 100644 --- a/mlprec/mld_sprecinit.F90 +++ b/mlprec/mld_sprecinit.F90 @@ -88,7 +88,7 @@ ! subroutine mld_sprecinit(p,ptype,info,nlev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_sprecinit implicit none diff --git a/mlprec/mld_sprecset.f90 b/mlprec/mld_sprecset.f90 index 4e389964..35745ff6 100644 --- a/mlprec/mld_sprecset.f90 +++ b/mlprec/mld_sprecset.f90 @@ -78,7 +78,7 @@ ! subroutine mld_sprecseti(p,what,val,info,ilev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_sprecseti implicit none @@ -341,7 +341,7 @@ end subroutine mld_sprecseti ! subroutine mld_sprecsetc(p,what,string,info,ilev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_sprecsetc implicit none @@ -431,7 +431,7 @@ end subroutine mld_sprecsetc ! subroutine mld_sprecsetr(p,what,val,info,ilev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_sprecsetr implicit none diff --git a/mlprec/mld_sslu_bld.f90 b/mlprec/mld_sslu_bld.f90 index 353baca5..7b7e4217 100644 --- a/mlprec/mld_sslu_bld.f90 +++ b/mlprec/mld_sslu_bld.f90 @@ -71,7 +71,7 @@ ! subroutine mld_sslu_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_sslu_bld implicit none diff --git a/mlprec/mld_sslud_bld.f90 b/mlprec/mld_sslud_bld.f90 index cd95f4f7..74b69e91 100644 --- a/mlprec/mld_sslud_bld.f90 +++ b/mlprec/mld_sslud_bld.f90 @@ -68,7 +68,7 @@ ! subroutine mld_ssludist_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_ssludist_bld implicit none diff --git a/mlprec/mld_ssp_renum.f90 b/mlprec/mld_ssp_renum.f90 index 1c5d23f8..012f9304 100644 --- a/mlprec/mld_ssp_renum.f90 +++ b/mlprec/mld_ssp_renum.f90 @@ -83,7 +83,7 @@ ! subroutine mld_ssp_renum(a,blck,p,atmp,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_ssp_renum implicit none diff --git a/mlprec/mld_ssub_aply.f90 b/mlprec/mld_ssub_aply.f90 index ec743406..49adcd60 100644 --- a/mlprec/mld_ssub_aply.f90 +++ b/mlprec/mld_ssub_aply.f90 @@ -135,7 +135,7 @@ ! subroutine mld_ssub_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_ssub_aply implicit none diff --git a/mlprec/mld_ssub_solve.f90 b/mlprec/mld_ssub_solve.f90 index d09ae340..4ec7d036 100644 --- a/mlprec/mld_ssub_solve.f90 +++ b/mlprec/mld_ssub_solve.f90 @@ -112,7 +112,7 @@ ! subroutine mld_ssub_solve(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_ssub_solve implicit none @@ -136,7 +136,7 @@ subroutine mld_ssub_solve(alpha,prec,x,beta,y,desc_data,trans,work,info) interface subroutine mld_sumf_solve(flag,m,x,b,n,ptr,info) - use psb_base_mod + use psb_sparse_mod integer, intent(in) :: flag,m,n,ptr integer, intent(out) :: info real(psb_spk_), intent(in) :: b(*) diff --git a/mlprec/mld_sumf_bld.f90 b/mlprec/mld_sumf_bld.f90 index fe6fa169..ca49de47 100644 --- a/mlprec/mld_sumf_bld.f90 +++ b/mlprec/mld_sumf_bld.f90 @@ -77,7 +77,7 @@ ! subroutine mld_sumf_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_sumf_bld implicit none diff --git a/mlprec/mld_z_prec_type.f90 b/mlprec/mld_z_prec_type.f90 index ad819c6e..a387940c 100644 --- a/mlprec/mld_z_prec_type.f90 +++ b/mlprec/mld_z_prec_type.f90 @@ -230,7 +230,7 @@ module mld_z_prec_type interface mld_precaply subroutine mld_zprecaply(prec,x,y,desc_data,info,trans,work) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ import mld_zprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_zprec_type), intent(in) :: prec @@ -241,7 +241,7 @@ module mld_z_prec_type complex(psb_dpk_),intent(inout), optional, target :: work(:) end subroutine mld_zprecaply subroutine mld_zprecaply1(prec,x,desc_data,info,trans) - use psb_base_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ + use psb_sparse_mod, only : psb_z_sparse_mat, psb_desc_type, psb_dpk_ import mld_zprec_type type(psb_desc_type),intent(in) :: desc_data type(mld_zprec_type), intent(in) :: prec @@ -574,7 +574,7 @@ contains subroutine mld_zprec_free(p,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -613,7 +613,7 @@ contains end subroutine mld_zprec_free subroutine mld_z_apply2v(prec,x,y,desc_data,info,trans,work) - use psb_base_mod + use psb_sparse_mod type(psb_desc_type),intent(in) :: desc_data class(mld_zprec_type), intent(in) :: prec complex(psb_dpk_),intent(in) :: x(:) @@ -648,7 +648,7 @@ contains end subroutine mld_z_apply2v subroutine mld_z_apply1v(prec,x,desc_data,info,trans) - use psb_base_mod + use psb_sparse_mod type(psb_desc_type),intent(in) :: desc_data class(mld_zprec_type), intent(in) :: prec diff --git a/mlprec/mld_zaggrmap_bld.f90 b/mlprec/mld_zaggrmap_bld.f90 index 0f9371b5..3c8f6004 100644 --- a/mlprec/mld_zaggrmap_bld.f90 +++ b/mlprec/mld_zaggrmap_bld.f90 @@ -81,7 +81,7 @@ ! subroutine mld_zaggrmap_bld(aggr_type,theta,a,desc_a,ilaggr,nlaggr,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zaggrmap_bld implicit none @@ -163,7 +163,7 @@ contains subroutine mld_dec_map_bld(theta,a,desc_a,nlaggr,ilaggr,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod !, mld_protect_name => mld_daggrmap_bld implicit none diff --git a/mlprec/mld_zaggrmat_asb.f90 b/mlprec/mld_zaggrmat_asb.f90 index 9c75b38a..a511af31 100644 --- a/mlprec/mld_zaggrmat_asb.f90 +++ b/mlprec/mld_zaggrmat_asb.f90 @@ -100,7 +100,7 @@ ! subroutine mld_zaggrmat_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zaggrmat_asb implicit none diff --git a/mlprec/mld_zaggrmat_nosmth_asb.F90 b/mlprec/mld_zaggrmat_nosmth_asb.F90 index c707edf9..3d2a83d9 100644 --- a/mlprec/mld_zaggrmat_nosmth_asb.F90 +++ b/mlprec/mld_zaggrmat_nosmth_asb.F90 @@ -82,7 +82,7 @@ ! Error code. ! subroutine mld_zaggrmat_nosmth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zaggrmat_nosmth_asb #ifdef MPI_MOD diff --git a/mlprec/mld_zaggrmat_smth_asb.F90 b/mlprec/mld_zaggrmat_smth_asb.F90 index b1acd28d..5bb001d9 100644 --- a/mlprec/mld_zaggrmat_smth_asb.F90 +++ b/mlprec/mld_zaggrmat_smth_asb.F90 @@ -99,7 +99,7 @@ ! Error code. ! subroutine mld_zaggrmat_smth_asb(a,desc_a,ilaggr,nlaggr,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zaggrmat_smth_asb #ifdef MPI_MOD diff --git a/mlprec/mld_zas_aply.f90 b/mlprec/mld_zas_aply.f90 index 1efe0102..3671dca5 100644 --- a/mlprec/mld_zas_aply.f90 +++ b/mlprec/mld_zas_aply.f90 @@ -76,7 +76,7 @@ ! subroutine mld_zas_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zas_aply implicit none diff --git a/mlprec/mld_zas_bld.f90 b/mlprec/mld_zas_bld.f90 index 9733b6a0..022daa3b 100644 --- a/mlprec/mld_zas_bld.f90 +++ b/mlprec/mld_zas_bld.f90 @@ -68,7 +68,7 @@ ! subroutine mld_zas_bld(a,desc_a,p,upd,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zas_bld Implicit None diff --git a/mlprec/mld_zbaseprec_aply.f90 b/mlprec/mld_zbaseprec_aply.f90 index c8747419..9464206e 100644 --- a/mlprec/mld_zbaseprec_aply.f90 +++ b/mlprec/mld_zbaseprec_aply.f90 @@ -80,7 +80,7 @@ ! subroutine mld_zbaseprec_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zbaseprec_aply implicit none diff --git a/mlprec/mld_zbaseprec_bld.f90 b/mlprec/mld_zbaseprec_bld.f90 index 290c119a..032fcf59 100644 --- a/mlprec/mld_zbaseprec_bld.f90 +++ b/mlprec/mld_zbaseprec_bld.f90 @@ -70,7 +70,7 @@ ! subroutine mld_zbaseprec_bld(a,desc_a,p,info,upd) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zbaseprec_bld Implicit None diff --git a/mlprec/mld_zcoarse_bld.f90 b/mlprec/mld_zcoarse_bld.f90 index 2c70499e..08d856c4 100644 --- a/mlprec/mld_zcoarse_bld.f90 +++ b/mlprec/mld_zcoarse_bld.f90 @@ -67,7 +67,7 @@ ! subroutine mld_zcoarse_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zcoarse_bld implicit none diff --git a/mlprec/mld_zdiag_bld.f90 b/mlprec/mld_zdiag_bld.f90 index 09966b41..a0d32f89 100644 --- a/mlprec/mld_zdiag_bld.f90 +++ b/mlprec/mld_zdiag_bld.f90 @@ -59,7 +59,7 @@ ! subroutine mld_zdiag_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zdiag_bld Implicit None diff --git a/mlprec/mld_zfact_bld.f90 b/mlprec/mld_zfact_bld.f90 index 58a56af7..b35fd39f 100644 --- a/mlprec/mld_zfact_bld.f90 +++ b/mlprec/mld_zfact_bld.f90 @@ -111,7 +111,7 @@ ! subroutine mld_zfact_bld(a,p,upd,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zfact_bld implicit none diff --git a/mlprec/mld_zilu0_fact.f90 b/mlprec/mld_zilu0_fact.f90 index 30116733..8685926d 100644 --- a/mlprec/mld_zilu0_fact.f90 +++ b/mlprec/mld_zilu0_fact.f90 @@ -101,7 +101,7 @@ ! subroutine mld_zilu0_fact(ialg,a,l,u,d,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zilu0_fact implicit none @@ -547,7 +547,7 @@ contains subroutine ilu_copyin(i,m,a,jd,jmin,jmax,l1,lia1,laspk,& & dia,l2,uia1,uaspk,ktrw,trw) - use psb_base_mod + use psb_sparse_mod implicit none diff --git a/mlprec/mld_zilu_bld.f90 b/mlprec/mld_zilu_bld.f90 index 5d0bd18a..e7423e08 100644 --- a/mlprec/mld_zilu_bld.f90 +++ b/mlprec/mld_zilu_bld.f90 @@ -91,7 +91,7 @@ ! subroutine mld_zilu_bld(a,p,upd,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zilu_bld implicit none diff --git a/mlprec/mld_ziluk_fact.f90 b/mlprec/mld_ziluk_fact.f90 index b5fd7d1a..d6b7d9e6 100644 --- a/mlprec/mld_ziluk_fact.f90 +++ b/mlprec/mld_ziluk_fact.f90 @@ -98,7 +98,7 @@ ! subroutine mld_ziluk_fact(fill_in,ialg,a,l,u,d,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_ziluk_fact implicit none @@ -267,7 +267,7 @@ contains subroutine mld_ziluk_factint(fill_in,ialg,m,a,b,& & d,laspk,lia1,lia2,uaspk,uia1,uia2,l1,l2,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -483,7 +483,7 @@ contains ! subroutine iluk_copyin(i,m,a,jmin,jmax,row,rowlevs,heap,ktrw,trw,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -640,7 +640,7 @@ contains ! subroutine iluk_fact(fill_in,i,row,rowlevs,heap,d,uia1,uia2,uaspk,uplevs,nidx,idxs,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -815,7 +815,7 @@ contains subroutine iluk_copyout(fill_in,ialg,i,m,row,rowlevs,nidx,idxs,& & l1,l2,lia1,lia2,laspk,d,uia1,uia2,uaspk,uplevs,info) - use psb_base_mod + use psb_sparse_mod implicit none diff --git a/mlprec/mld_zilut_fact.f90 b/mlprec/mld_zilut_fact.f90 index 8959f3f6..f279717d 100644 --- a/mlprec/mld_zilut_fact.f90 +++ b/mlprec/mld_zilut_fact.f90 @@ -94,7 +94,7 @@ ! subroutine mld_zilut_fact(fill_in,thres,a,l,u,d,info,blck) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zilut_fact implicit none @@ -268,7 +268,7 @@ contains subroutine mld_zilut_factint(fill_in,thres,m,a,b,& & d,laspk,lia1,lia2,uaspk,uia1,uia2,l1,l2,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -480,7 +480,7 @@ contains ! every nrb calls to copyin. If A is in CSR format it is unused. ! subroutine ilut_copyin(i,m,a,jd,jmin,jmax,nlw,nup,jmaxup,nrmi,row,heap,ktrw,trw,info) - use psb_base_mod + use psb_sparse_mod implicit none type(psb_zspmat_type), intent(in) :: a type(psb_zspmat_type), intent(inout) :: trw @@ -671,7 +671,7 @@ contains ! subroutine ilut_fact(thres,i,nrmi,row,heap,d,uia1,uia2,uaspk,nidx,idxs,info) - use psb_base_mod + use psb_sparse_mod implicit none @@ -857,7 +857,7 @@ contains subroutine ilut_copyout(fill_in,thres,i,m,nlw,nup,jmaxup,nrmi,row, & & nidx,idxs,l1,l2,lia1,lia2,laspk,d,uia1,uia2,uaspk,info) - use psb_base_mod + use psb_sparse_mod implicit none diff --git a/mlprec/mld_zmlprec_aply.f90 b/mlprec/mld_zmlprec_aply.f90 index 5053e668..d4a42cb4 100644 --- a/mlprec/mld_zmlprec_aply.f90 +++ b/mlprec/mld_zmlprec_aply.f90 @@ -141,7 +141,7 @@ ! subroutine mld_zmlprec_aply(alpha,p,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zmlprec_aply implicit none diff --git a/mlprec/mld_zmlprec_bld.f90 b/mlprec/mld_zmlprec_bld.f90 index c1f5a9bc..67b1a058 100644 --- a/mlprec/mld_zmlprec_bld.f90 +++ b/mlprec/mld_zmlprec_bld.f90 @@ -66,7 +66,7 @@ ! subroutine mld_zmlprec_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zmlprec_bld use mld_prec_mod diff --git a/mlprec/mld_zprecaply.f90 b/mlprec/mld_zprecaply.f90 index 2fea7d00..6c836073 100644 --- a/mlprec/mld_zprecaply.f90 +++ b/mlprec/mld_zprecaply.f90 @@ -73,7 +73,7 @@ ! subroutine mld_zprecaply(prec,x,y,desc_data,info,trans,work) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod use mld_prec_mod, mld_protect_name => mld_zprecaply @@ -206,7 +206,7 @@ end subroutine mld_zprecaply ! subroutine mld_zprecaply1(prec,x,desc_data,info,trans) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod use mld_prec_mod, mld_protect_name => mld_zprecaply1 diff --git a/mlprec/mld_zprecbld.f90 b/mlprec/mld_zprecbld.f90 index 64df33a6..9f7104ca 100644 --- a/mlprec/mld_zprecbld.f90 +++ b/mlprec/mld_zprecbld.f90 @@ -60,7 +60,7 @@ ! subroutine mld_zprecbld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod use mld_prec_mod, mld_protect_name => mld_zprecbld Implicit None diff --git a/mlprec/mld_zprecinit.F90 b/mlprec/mld_zprecinit.F90 index 043b8245..85349482 100644 --- a/mlprec/mld_zprecinit.F90 +++ b/mlprec/mld_zprecinit.F90 @@ -88,7 +88,7 @@ ! subroutine mld_zprecinit(p,ptype,info,nlev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, psb_protect_name => mld_zprecinit implicit none diff --git a/mlprec/mld_zprecset.f90 b/mlprec/mld_zprecset.f90 index 03961945..02fd6141 100644 --- a/mlprec/mld_zprecset.f90 +++ b/mlprec/mld_zprecset.f90 @@ -79,7 +79,7 @@ ! subroutine mld_zprecseti(p,what,val,info,ilev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_zprecseti implicit none @@ -342,7 +342,7 @@ end subroutine mld_zprecseti ! subroutine mld_zprecsetc(p,what,string,info,ilev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_zprecsetc implicit none @@ -433,7 +433,7 @@ end subroutine mld_zprecsetc ! subroutine mld_zprecsetr(p,what,val,info,ilev) - use psb_base_mod + use psb_sparse_mod use mld_prec_mod, mld_protect_name => mld_zprecsetr implicit none diff --git a/mlprec/mld_zslu_bld.f90 b/mlprec/mld_zslu_bld.f90 index d67205d2..3b0ffdff 100644 --- a/mlprec/mld_zslu_bld.f90 +++ b/mlprec/mld_zslu_bld.f90 @@ -71,7 +71,7 @@ ! subroutine mld_zslu_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zslu_bld implicit none diff --git a/mlprec/mld_zslud_bld.f90 b/mlprec/mld_zslud_bld.f90 index c9775854..a1073703 100644 --- a/mlprec/mld_zslud_bld.f90 +++ b/mlprec/mld_zslud_bld.f90 @@ -68,7 +68,7 @@ ! subroutine mld_zsludist_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zsludist_bld implicit none diff --git a/mlprec/mld_zsp_renum.f90 b/mlprec/mld_zsp_renum.f90 index c04f945b..1f4c6820 100644 --- a/mlprec/mld_zsp_renum.f90 +++ b/mlprec/mld_zsp_renum.f90 @@ -83,7 +83,7 @@ ! subroutine mld_zsp_renum(a,blck,p,atmp,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zsp_renum implicit none diff --git a/mlprec/mld_zsub_aply.f90 b/mlprec/mld_zsub_aply.f90 index a688a9ed..79501db0 100644 --- a/mlprec/mld_zsub_aply.f90 +++ b/mlprec/mld_zsub_aply.f90 @@ -136,7 +136,7 @@ ! subroutine mld_zsub_aply(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zsub_aply implicit none diff --git a/mlprec/mld_zsub_solve.f90 b/mlprec/mld_zsub_solve.f90 index ffeeaa27..beb77055 100644 --- a/mlprec/mld_zsub_solve.f90 +++ b/mlprec/mld_zsub_solve.f90 @@ -113,7 +113,7 @@ ! subroutine mld_zsub_solve(alpha,prec,x,beta,y,desc_data,trans,work,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zsub_solve implicit none @@ -137,7 +137,7 @@ subroutine mld_zsub_solve(alpha,prec,x,beta,y,desc_data,trans,work,info) interface subroutine mld_zumf_solve(flag,m,x,b,n,ptr,info) - use psb_base_mod + use psb_sparse_mod integer, intent(in) :: flag,m,n,ptr integer, intent(out) :: info complex(psb_dpk_), intent(in) :: b(*) diff --git a/mlprec/mld_zumf_bld.f90 b/mlprec/mld_zumf_bld.f90 index ff326f63..9ae60ed5 100644 --- a/mlprec/mld_zumf_bld.f90 +++ b/mlprec/mld_zumf_bld.f90 @@ -77,7 +77,7 @@ ! subroutine mld_zumf_bld(a,desc_a,p,info) - use psb_base_mod + use psb_sparse_mod use mld_inner_mod, mld_protect_name => mld_zumf_bld implicit none diff --git a/tests/fileread/cf_sample.f90 b/tests/fileread/cf_sample.f90 index cdde1645..270f0a9d 100644 --- a/tests/fileread/cf_sample.f90 +++ b/tests/fileread/cf_sample.f90 @@ -37,7 +37,7 @@ !!$ !!$ program cf_sample - use psb_base_mod + use psb_sparse_mod use mld_prec_mod use psb_krylov_mod use psb_util_mod @@ -368,7 +368,7 @@ contains subroutine get_parms(icontxt,mtrx,rhs,filefmt,kmethd,& & prec, ipart,afmt,istopc,itmax,itrace,irst,eps) - use psb_base_mod + use psb_sparse_mod implicit none integer :: icontxt diff --git a/tests/fileread/data_input.f90 b/tests/fileread/data_input.f90 index 51a3339c..d793b254 100644 --- a/tests/fileread/data_input.f90 +++ b/tests/fileread/data_input.f90 @@ -73,7 +73,7 @@ contains end subroutine read_int subroutine read_single(val,file,marker) - use psb_base_mod + use psb_sparse_mod real(psb_spk_), intent(out) :: val integer, intent(in) :: file character(len=1), optional, intent(in) :: marker @@ -83,7 +83,7 @@ contains end subroutine read_single subroutine read_double(val,file,marker) - use psb_base_mod + use psb_sparse_mod real(psb_dpk_), intent(out) :: val integer, intent(in) :: file character(len=1), optional, intent(in) :: marker @@ -131,7 +131,7 @@ contains read(charbuf(1:idx-1),*) val end subroutine string_read_int subroutine string_read_single(val,file,marker) - use psb_base_mod + use psb_sparse_mod real(psb_spk_), intent(out) :: val character(len=*), intent(in) :: file character(len=1), optional, intent(in) :: marker @@ -150,7 +150,7 @@ contains read(charbuf(1:idx-1),*) val end subroutine string_read_single subroutine string_read_double(val,file,marker) - use psb_base_mod + use psb_sparse_mod real(psb_dpk_), intent(out) :: val character(len=*), intent(in) :: file character(len=1), optional, intent(in) :: marker diff --git a/tests/fileread/df_sample.f90 b/tests/fileread/df_sample.f90 index 9c185bc4..2296ef58 100644 --- a/tests/fileread/df_sample.f90 +++ b/tests/fileread/df_sample.f90 @@ -37,7 +37,7 @@ !!$ !!$ program df_sample - use psb_base_mod + use psb_sparse_mod use mld_prec_mod use psb_krylov_mod use psb_util_mod @@ -368,7 +368,7 @@ contains subroutine get_parms(icontxt,mtrx,rhs,filefmt,kmethd,& & prec, ipart,afmt,istopc,itmax,itrace,irst,eps) - use psb_base_mod + use psb_sparse_mod implicit none integer :: icontxt diff --git a/tests/fileread/sf_sample.f90 b/tests/fileread/sf_sample.f90 index ac22cfcf..60d27690 100644 --- a/tests/fileread/sf_sample.f90 +++ b/tests/fileread/sf_sample.f90 @@ -37,7 +37,7 @@ !!$ !!$ program sf_sample - use psb_base_mod + use psb_sparse_mod use mld_prec_mod use psb_krylov_mod use psb_util_mod @@ -368,7 +368,7 @@ contains subroutine get_parms(icontxt,mtrx,rhs,filefmt,kmethd,& & prec, ipart,afmt,istopc,itmax,itrace,irst,eps) - use psb_base_mod + use psb_sparse_mod implicit none integer :: icontxt diff --git a/tests/fileread/zf_sample.f90 b/tests/fileread/zf_sample.f90 index ae6b4579..ae959e39 100644 --- a/tests/fileread/zf_sample.f90 +++ b/tests/fileread/zf_sample.f90 @@ -37,7 +37,7 @@ !!$ !!$ program zf_sample - use psb_base_mod + use psb_sparse_mod use mld_prec_mod use psb_krylov_mod use psb_util_mod @@ -368,7 +368,7 @@ contains subroutine get_parms(icontxt,mtrx,rhs,filefmt,kmethd,& & prec, ipart,afmt,istopc,itmax,itrace,irst,eps) - use psb_base_mod + use psb_sparse_mod implicit none integer :: icontxt diff --git a/tests/pdegen/data_input.f90 b/tests/pdegen/data_input.f90 index 51a3339c..d793b254 100644 --- a/tests/pdegen/data_input.f90 +++ b/tests/pdegen/data_input.f90 @@ -73,7 +73,7 @@ contains end subroutine read_int subroutine read_single(val,file,marker) - use psb_base_mod + use psb_sparse_mod real(psb_spk_), intent(out) :: val integer, intent(in) :: file character(len=1), optional, intent(in) :: marker @@ -83,7 +83,7 @@ contains end subroutine read_single subroutine read_double(val,file,marker) - use psb_base_mod + use psb_sparse_mod real(psb_dpk_), intent(out) :: val integer, intent(in) :: file character(len=1), optional, intent(in) :: marker @@ -131,7 +131,7 @@ contains read(charbuf(1:idx-1),*) val end subroutine string_read_int subroutine string_read_single(val,file,marker) - use psb_base_mod + use psb_sparse_mod real(psb_spk_), intent(out) :: val character(len=*), intent(in) :: file character(len=1), optional, intent(in) :: marker @@ -150,7 +150,7 @@ contains read(charbuf(1:idx-1),*) val end subroutine string_read_single subroutine string_read_double(val,file,marker) - use psb_base_mod + use psb_sparse_mod real(psb_dpk_), intent(out) :: val character(len=*), intent(in) :: file character(len=1), optional, intent(in) :: marker diff --git a/tests/pdegen/ppde.f90 b/tests/pdegen/ppde.f90 index e0ccc108..8db81503 100644 --- a/tests/pdegen/ppde.f90 +++ b/tests/pdegen/ppde.f90 @@ -69,7 +69,7 @@ ! Note that if a1=a2=a3=a4=0., the PDE is the well-known Laplace equation. ! program ppde - use psb_base_mod + use psb_sparse_mod use mld_prec_mod use psb_krylov_mod use psb_util_mod @@ -423,7 +423,7 @@ contains ! ! Note that if a1=a2=a3=a4=0., the PDE is the well-known Laplace equation. ! - use psb_base_mod + use psb_sparse_mod implicit none integer :: idim integer, parameter :: nb=20 @@ -718,43 +718,43 @@ end program ppde ! functions parametrizing the differential equation ! function a1(x,y,z) - use psb_base_mod, only : psb_dpk_ + use psb_sparse_mod, only : psb_dpk_ real(psb_dpk_) :: a1 real(psb_dpk_) :: x,y,z a1=1.d0 end function a1 function a2(x,y,z) - use psb_base_mod, only : psb_dpk_ + use psb_sparse_mod, only : psb_dpk_ real(psb_dpk_) :: a2 real(psb_dpk_) :: x,y,z a2=2.d1*y end function a2 function a3(x,y,z) - use psb_base_mod, only : psb_dpk_ + use psb_sparse_mod, only : psb_dpk_ real(psb_dpk_) :: a3 real(psb_dpk_) :: x,y,z a3=1.d0 end function a3 function a4(x,y,z) - use psb_base_mod, only : psb_dpk_ + use psb_sparse_mod, only : psb_dpk_ real(psb_dpk_) :: a4 real(psb_dpk_) :: x,y,z a4=1.d0 end function a4 function b1(x,y,z) - use psb_base_mod, only : psb_dpk_ + use psb_sparse_mod, only : psb_dpk_ real(psb_dpk_) :: b1 real(psb_dpk_) :: x,y,z b1=1.d0 end function b1 function b2(x,y,z) - use psb_base_mod, only : psb_dpk_ + use psb_sparse_mod, only : psb_dpk_ real(psb_dpk_) :: b2 real(psb_dpk_) :: x,y,z b2=1.d0 end function b2 function b3(x,y,z) - use psb_base_mod, only : psb_dpk_ + use psb_sparse_mod, only : psb_dpk_ real(psb_dpk_) :: b3 real(psb_dpk_) :: x,y,z b3=1.d0 diff --git a/tests/pdegen/spde.f90 b/tests/pdegen/spde.f90 index d55f9a6d..6d4a2c68 100644 --- a/tests/pdegen/spde.f90 +++ b/tests/pdegen/spde.f90 @@ -69,7 +69,7 @@ ! Note that if a1=a2=a3=a4=0., the PDE is the well-known Laplace equation. ! program spde - use psb_base_mod + use psb_sparse_mod use mld_prec_mod use psb_krylov_mod use psb_util_mod @@ -410,7 +410,7 @@ contains ! ! Note that if a1=a2=a3=a4=0., the PDE is the well-known Laplace equation. ! - use psb_base_mod + use psb_sparse_mod implicit none integer :: idim integer, parameter :: nb=20 @@ -705,43 +705,43 @@ end program spde ! functions parametrizing the differential equation ! function a1(x,y,z) - use psb_base_mod, only : psb_spk_ + use psb_sparse_mod, only : psb_spk_ real(psb_spk_) :: a1 real(psb_spk_) :: x,y,z a1=1.e0 end function a1 function a2(x,y,z) - use psb_base_mod, only : psb_spk_ + use psb_sparse_mod, only : psb_spk_ real(psb_spk_) :: a2 real(psb_spk_) :: x,y,z a2=2.e1*y end function a2 function a3(x,y,z) - use psb_base_mod, only : psb_spk_ + use psb_sparse_mod, only : psb_spk_ real(psb_spk_) :: a3 real(psb_spk_) :: x,y,z a3=1.e0 end function a3 function a4(x,y,z) - use psb_base_mod, only : psb_spk_ + use psb_sparse_mod, only : psb_spk_ real(psb_spk_) :: a4 real(psb_spk_) :: x,y,z a4=1.e0 end function a4 function b1(x,y,z) - use psb_base_mod, only : psb_spk_ + use psb_sparse_mod, only : psb_spk_ real(psb_spk_) :: b1 real(psb_spk_) :: x,y,z b1=1.e0 end function b1 function b2(x,y,z) - use psb_base_mod, only : psb_spk_ + use psb_sparse_mod, only : psb_spk_ real(psb_spk_) :: b2 real(psb_spk_) :: x,y,z b2=1.e0 end function b2 function b3(x,y,z) - use psb_base_mod, only : psb_spk_ + use psb_sparse_mod, only : psb_spk_ real(psb_spk_) :: b3 real(psb_spk_) :: x,y,z b3=1.e0