mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-17 11:22:10 +00:00
config/pac.m4 configure krylov/Makefile krylov/psb_prec_mod.F90 mlprec/Makefile mlprec/mld_basep_bld_mod.f90 mlprec/mld_caggrmap_bld.f90 mlprec/mld_caggrmat_asb.f90 mlprec/mld_caggrmat_raw_asb.F90 mlprec/mld_caggrmat_smth_asb.F90 mlprec/mld_cas_aply.f90 mlprec/mld_cas_bld.f90 mlprec/mld_cbaseprec_aply.f90 mlprec/mld_cbaseprec_bld.f90 mlprec/mld_cdiag_bld.f90 mlprec/mld_cfact_bld.f90 mlprec/mld_cilu0_fact.f90 mlprec/mld_cilu_bld.f90 mlprec/mld_ciluk_fact.f90 mlprec/mld_cilut_fact.f90 mlprec/mld_cmlprec_aply.f90 mlprec/mld_cmlprec_bld.f90 mlprec/mld_cprec_aply.f90 mlprec/mld_cprecbld.f90 mlprec/mld_cprecfree.f90 mlprec/mld_cprecinit.f90 mlprec/mld_cprecset.f90 mlprec/mld_cslu_bld.f90 mlprec/mld_cslu_interface.c mlprec/mld_cslud_bld.f90 mlprec/mld_cslud_interface.c mlprec/mld_csp_renum.f90 mlprec/mld_csub_aply.f90 mlprec/mld_csub_solve.f90 mlprec/mld_cumf_bld.f90 mlprec/mld_cumf_interface.c mlprec/mld_dmlprec_bld.f90 mlprec/mld_dprecset.f90 mlprec/mld_inner_mod.f90 mlprec/mld_prec_mod.f90 mlprec/mld_prec_type.f90 mlprec/mld_saggrmap_bld.f90 mlprec/mld_saggrmat_asb.f90 mlprec/mld_saggrmat_raw_asb.F90 mlprec/mld_saggrmat_smth_asb.F90 mlprec/mld_sas_aply.f90 mlprec/mld_sas_bld.f90 mlprec/mld_sbaseprec_aply.f90 mlprec/mld_sbaseprec_bld.f90 mlprec/mld_sdiag_bld.f90 mlprec/mld_sfact_bld.f90 mlprec/mld_silu0_fact.f90 mlprec/mld_silu_bld.f90 mlprec/mld_siluk_fact.f90 mlprec/mld_silut_fact.f90 mlprec/mld_smlprec_aply.f90 mlprec/mld_smlprec_bld.f90 mlprec/mld_sprec_aply.f90 mlprec/mld_sprecbld.f90 mlprec/mld_sprecfree.f90 mlprec/mld_sprecinit.f90 mlprec/mld_sprecset.f90 mlprec/mld_sslu_bld.f90 mlprec/mld_sslu_interface.c mlprec/mld_sslud_bld.f90 mlprec/mld_sslud_interface.c mlprec/mld_ssp_renum.f90 mlprec/mld_ssub_aply.f90 mlprec/mld_ssub_solve.f90 mlprec/mld_sumf_bld.f90 mlprec/mld_sumf_interface.c mlprec/mld_zilu0_fact.f90 mlprec/mld_zmlprec_aply.f90 mlprec/mld_zmlprec_bld.f90 mlprec/mld_zprecset.f90 test/fileread/Makefile test/fileread/cf_sample.f90 test/fileread/data_input.f90 test/fileread/df_sample.f90 test/fileread/runs/cfs.inp test/fileread/runs/dfs.inp test/fileread/runs/sfs.inp test/fileread/runs/zfs.inp test/fileread/sf_sample.f90 test/fileread/zf_sample.f90 test/pargen/Makefile test/pargen/runs/ppde.inp test/pargen/spde.f90 Merged single precision version.
67 lines
1.6 KiB
Makefile
67 lines
1.6 KiB
Makefile
MLDDIR=../..
|
|
include $(MLDDIR)/Make.inc
|
|
PSBDIR=$(PSBLASDIR)/lib/
|
|
MLDLIBDIR=$(MLDDIR)/lib
|
|
MLD_LIB=-L$(MLDLIBDIR) -lmld_krylov -lmld_prec
|
|
PSBLAS_LIB= -L$(PSBDIR) -lpsb_util -lpsb_base
|
|
FINCLUDES=$(FMFLAG). $(FMFLAG)$(MLDLIBDIR) $(FMFLAG)$(PSBDIR) $(FIFLAG).
|
|
|
|
DFOBJS=df_bench.o
|
|
DFSOBJS=df_sample.o data_input.o
|
|
SFSOBJS=sf_sample.o data_input.o
|
|
CFSOBJS=cf_sample.o data_input.o
|
|
ZFSOBJS=zf_sample.o data_input.o
|
|
ZFOBJS=zf_bench.o
|
|
|
|
EXEDIR=./runs
|
|
|
|
all: df_bench zf_bench sf_sample df_sample cf_sample zf_sample
|
|
|
|
df_bench: $(DFOBJS)
|
|
$(F90LINK) $(LINKOPT) $(DFOBJS) -o df_bench \
|
|
$(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv df_bench $(EXEDIR)
|
|
|
|
df_sample: $(DFSOBJS)
|
|
$(F90LINK) $(LINKOPT) $(DFSOBJS) -o df_sample \
|
|
$(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv df_sample $(EXEDIR)
|
|
|
|
sf_sample: $(SFSOBJS)
|
|
$(F90LINK) $(LINKOPT) $(SFSOBJS) -o sf_sample \
|
|
$(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv sf_sample $(EXEDIR)
|
|
|
|
cf_sample: $(CFSOBJS)
|
|
$(F90LINK) $(LINKOPT) $(CFSOBJS) -o cf_sample \
|
|
$(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv cf_sample $(EXEDIR)
|
|
|
|
zf_sample: $(ZFSOBJS)
|
|
$(F90LINK) $(LINKOPT) $(ZFSOBJS) -o zf_sample \
|
|
$(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv zf_sample $(EXEDIR)
|
|
|
|
zf_bench: $(ZFOBJS)
|
|
$(F90LINK) $(LINKOPT) $(ZFOBJS) -o zf_bench \
|
|
$(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv zf_bench $(EXEDIR)
|
|
|
|
sf_sample.o: data_input.o
|
|
df_sample.o: data_input.o
|
|
cf_sample.o: data_input.o
|
|
zf_sample.o: data_input.o
|
|
|
|
.f90.o:
|
|
$(MPF90) $(F90COPT) $(FINCLUDES) -c $<
|
|
|
|
clean:
|
|
/bin/rm -f $(DFOBJS) $(ZFOBJS) $(SFSOBJS) $(DFSOBJS) \
|
|
*$(.mod) $(EXEDIR)/df_bench $(EXEDIR)/zf_bench
|
|
|
|
lib:
|
|
(cd ../../; make library)
|
|
verycleanlib:
|
|
(cd ../../; make veryclean)
|
|
|