From 77b2c323a3fbfc1f71c69fe384f070555656646b Mon Sep 17 00:00:00 2001 From: Salvatore Filippone Date: Thu, 24 Jan 2008 16:11:44 +0000 Subject: [PATCH] Aligned some constant names with renaming in psblas dir. Export the overloaded psb_prec_mod to the lib directory, to allow recompilation of existing code in "compatibility" mode. --- krylov/Makefile | 4 ++-- krylov/psb_prec_mod.F90 | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/krylov/Makefile b/krylov/Makefile index b2bdc2d0..bebb82b3 100644 --- a/krylov/Makefile +++ b/krylov/Makefile @@ -16,9 +16,9 @@ METHDOBJS=psb_dcgstab.o psb_dcg.o psb_dcgs.o \ psb_dbicg.o psb_dcgstabl.o psb_drgmres.o\ psb_zcgstab.o psb_zcgs.o psb_zrgmres.o -LIBMOD=psb_krylov_mod$(.mod) +LIBMOD=psb_krylov_mod$(.mod) psb_prec_mod$(.mod) MODOBJS=$(LIBMOD:$(.mod)=.o) -LOCAL_MODS=psb_prec_mod$(.mod) +LOCAL_MODS= LOCAL_OBJS=$(LOCAL_MODS:$(.mod)=.o) OBJS=$(METHDOBJS) $(MODOBJS) LIBNAME=libmld_krylov.a diff --git a/krylov/psb_prec_mod.F90 b/krylov/psb_prec_mod.F90 index 3e6e3c93..ec286fef 100644 --- a/krylov/psb_prec_mod.F90 +++ b/krylov/psb_prec_mod.F90 @@ -108,6 +108,9 @@ module psb_prec_mod & psb_precaply => mld_precaply #endif + + integer, parameter :: psb_noprec_=mld_noprec_, psb_diag_=mld_diag_,& + & psb_bjac_=mld_bjac_ interface psb_sizeof module procedure mld_dprec_sizeof, mld_zprec_sizeof, &