Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1561 | Rev 1672 |
|---|---|
# |
# |
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
# SLEPc - Scalable Library for Eigenvalue Problem Computations |
# SLEPc - Scalable Library for Eigenvalue Problem Computations |
# Copyright (c) 2002-2007, Universidad Politecnica de Valencia, Spain |
# Copyright (c) 2002-2009, Universidad Politecnica de Valencia, Spain |
# |
# |
# This file is part of SLEPc. See the README file for conditions of use |
# This file is part of SLEPc. |
# and additional information. |
# |
# SLEPc is free software: you can redistribute it and/or modify it under the |
|
# terms of version 3 of the GNU Lesser General Public License as published by |
|
# the Free Software Foundation. |
|
# |
|
# SLEPc is distributed in the hope that it will be useful, but WITHOUT ANY |
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for |
|
# more details. |
|
# |
|
# You should have received a copy of the GNU Lesser General Public License |
|
# along with SLEPc. If not, see <http://www.gnu.org/licenses/>. |
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
# |
|
FFLAGS = |
|
CFLAGS = |
FPPFLAGS = |
FFLAGS = |
EXAMPLESC = ex1.c ex2.c ex3.c ex4.c ex5.c ex7.c ex8.c ex9.c ex10.c ex11.c ex12.c ex13.c ex14.c ex15.c |
CPPFLAGS = |
EXAMPLESF = ex1f.F ex1f90.F90 ex6f.F mvmisg.f ex15f.F |
FPPFLAGS = |
TESTEXAMPLES_C = ex1.PETSc runex1_1 ex1.rm ex2.PETSc runex2_1 ex2.rm \ |
LOCDIR = src/examples/ |
ex7.PETSc runex7_1 ex7.rm ex10.PETSc runex10_1 ex10.rm \ |
EXAMPLESC = ex1.c ex2.c ex3.c ex4.c ex5.c ex7.c ex8.c ex9.c ex10.c ex11.c ex12.c ex13.c ex14.c ex15.c |
ex13.PETSc runex13_1 ex13.rm ex14.PETSc runex14_1 ex14.rm \ |
EXAMPLESCH = |
|
EXAMPLESF = ex1f.F ex1f90.F90 ex6f.F mvmisg.f ex15f.F |
|
TESTEXAMPLES_C = ex1.PETSc runex1_1 ex1.rm ex2.PETSc runex2_1 ex2.rm \ |
|
ex4.PETSc runex4_1 ex4.rm ex5.PETSc runex5_1 ex5.rm \ |
|
ex7.PETSc runex7_1 ex7.rm ex10.PETSc runex10_1 ex10.rm \ |
|
ex11.PETSc runex11_1 ex11.rm ex12.PETSc runex12_1 ex12.rm \ |
-${CLINKER} -o ex1 ex1.o ${SLEPC_LIB} |
ex13.PETSc runex13_1 ex13.rm ex14.PETSc runex14_1 ex14.rm \ |
|
ex15.PETSc runex15_1 ex15.rm |
-${FLINKER} -o ex1f ex1f.o ${SLEPC_LIB} |
TESTEXAMPLES_FORTRAN = ex1f.PETSc runex1f_1 ex1f.rm |
-${FLINKER} -o ex1f90 ex1f90.o ${SLEPC_LIB} |
TESTEXAMPLES_FORTRAN_MPIUNI = ex6f.PETSc runex6f_1 ex6f.rm |
-${CLINKER} -o ex2 ex2.o ${SLEPC_LIB} |
TESTEXAMPLES_C_X11_MPIUNI = ex3.PETSc runex3_1 ex3.rm |
-${CLINKER} -o ex3 ex3.o ${SLEPC_LIB} |
TESTEXAMPLES_F90 = ex1f90.PETSc runex1f90_1 ex1f90.rm |
-${CLINKER} -o ex4 ex4.o ${SLEPC_LIB} |
include ${SLEPC_DIR}/conf/slepc_common |
-${CLINKER} -o ex5 ex5.o ${SLEPC_LIB} |
ex1: ex1.o chkopts |
-${FLINKER} -o ex6f ex6f.o mvmisg.o ${SLEPC_LIB} |
-${CLINKER} -o ex1 ex1.o ${SLEPC_LIB} |
|
${RM} ex1.o |
-${CLINKER} -o ex7 ex7.o ${SLEPC_LIB} |
ex1f: ex1f.o chkopts |
-${CLINKER} -o ex8 ex8.o ${SLEPC_LIB} |
-${FLINKER} -o ex1f ex1f.o ${SLEPC_LIB} |
|
${RM} ex1f.o |
-${CLINKER} -o ex9 ex9.o ${SLEPC_LIB} |
ex1f90: ex1f90.o chkopts |
-${CLINKER} -o ex10 ex10.o ${SLEPC_LIB} |
-${FLINKER} -o ex1f90 ex1f90.o ${SLEPC_LIB} |
|
${RM} ex1f90.o |
-${CLINKER} -o ex11 ex11.o ${SLEPC_LIB} |
ex2: ex2.o chkopts |
-${CLINKER} -o ex12 ex12.o ${SLEPC_LIB} |
-${CLINKER} -o ex2 ex2.o ${SLEPC_LIB} |
|
${RM} ex2.o |
-${CLINKER} -o ex13 ex13.o ${SLEPC_LIB} |
ex3: ex3.o chkopts |
-${CLINKER} -o ex14 ex14.o ${SLEPC_LIB} |
-${CLINKER} -o ex3 ex3.o ${SLEPC_LIB} |
|
${RM} ex3.o |
-${CLINKER} -o ex15 ex15.o ${SLEPC_LIB} |
ex4: ex4.o chkopts |
-${FLINKER} -o ex15f ex15f.o ${SLEPC_LIB} |
-${CLINKER} -o ex4 ex4.o ${SLEPC_LIB} |
|
${RM} ex4.o |
|
-@${MPIEXEC} -np 1 ./ex1 > ex1_1.tmp 2>&1; \ |
|
ex5: ex5.o chkopts |
else echo "Possible problem with ex1_1, diffs above"; fi; \ |
-${CLINKER} -o ex5 ex5.o ${SLEPC_LIB} |
|
${RM} ex5.o |
@if [ "${PETSC_WITH_BATCH}" != "" ]; then \ |
echo "your systems batch system"; \ |
|
ex6f: ex6f.o mvmisg.o chkopts |
${MPIEXEC} -np 1 ./ex1 > ex1_1.tmp 2>&1; \ |
-${FLINKER} -o ex6f ex6f.o mvmisg.o ${SLEPC_LIB} |
echo "C/C++ example src/examples/ex1 run successfully with 1 MPI process"; \ |
${RM} ex6f.o mvmisg.o |
cat ex1_1.tmp; fi; \ |
ex7: ex7.o chkopts |
-@${MPIEXEC} -np 1 ./ex1f > ex1f_1.tmp 2>&1; \ |
-${CLINKER} -o ex7 ex7.o ${SLEPC_LIB} |
else echo "Possible problem with ex1f_1, diffs above"; fi; \ |
${RM} ex7.o |
|
@if [ "${PETSC_WITH_BATCH}" != "" ]; then \ |
|
ex8: ex8.o chkopts |
echo "your systems batch system"; \ |
-${CLINKER} -o ex8 ex8.o ${SLEPC_LIB} |
${MPIEXEC} -np 1 ./ex1f > ex1f_1.tmp 2>&1; \ |
${RM} ex8.o |
echo "Fortran example src/examples/ex1f run successfully with 1 MPI process"; \ |
cat ex1f_1.tmp; fi; \ |
|
ex9: ex9.o chkopts |
|
-${CLINKER} -o ex9 ex9.o ${SLEPC_LIB} |
-@${MPIEXEC} -np 1 ./ex1f90 > ex1f90_1.tmp 2>&1; \ |
${RM} ex9.o |
else echo "Possible problem with ex1f90_1, diffs above"; fi; \ |
ex10: ex10.o chkopts |
-@${MPIEXEC} -np 1 ./ex2 > ex2_1.tmp 2>&1; \ |
-${CLINKER} -o ex10 ex10.o ${SLEPC_LIB} |
else echo "Possible problem with ex2_1, diffs above"; fi; \ |
${RM} ex10.o |
|
-@${MPIEXEC} -np 1 ./ex3 > ex3_1.tmp 2>&1; \ |
|
ex11: ex11.o chkopts |
else echo "Possible problem with ex3_1, diffs above"; fi; \ |
-${CLINKER} -o ex11 ex11.o ${SLEPC_LIB} |
|
${RM} ex11.o |
-@${MPIEXEC} -np 1 ./ex4 -file ${SLEPC_DIR}/src/mat/examples/rdb200.petsc > ex4_1.tmp 2>&1; \ |
else echo "Possible problem with ex4_1, diffs above"; fi; \ |
|
ex12: ex12.o chkopts |
|
-${CLINKER} -o ex12 ex12.o ${SLEPC_LIB} |
-@${MPIEXEC} -np 1 ./ex5 -st_shift 1 > ex5_1.tmp 2>&1; \ |
${RM} ex12.o |
else echo "Possible problem with ex5_1, diffs above"; fi; \ |
ex13: ex13.o chkopts |
-@${MPIEXEC} -np 2 ./ex5 -st_shift 1 > ex5_2.tmp 2>&1; \ |
-${CLINKER} -o ex13 ex13.o ${SLEPC_LIB} |
else echo "Possible problem with ex5_2, diffs above"; fi; \ |
${RM} ex13.o |
|
-@${MPIEXEC} -np 1 ./ex6f -st_shift 1 -eps_max_it 1000 -eps_ncv 12 -eps_tol 1e-5 > ex6f_1.tmp 2>&1; \ |
|
ex14: ex14.o chkopts |
else echo "Possible problem with ex6f_1, diffs above"; fi; \ |
-${CLINKER} -o ex14 ex14.o ${SLEPC_LIB} |
|
${RM} ex14.o |
-@${MPIEXEC} -np 1 ./ex7 -f1 ${SLEPC_DIR}/src/mat/examples/bfw62a.petsc -f2 ${SLEPC_DIR}/src/mat/examples/bfw62b.petsc > ex7_1.tmp 2>&1; \ |
else echo "Possible problem with ex7_1, diffs above"; fi; \ |
|
ex15: ex15.o chkopts |
|
-${CLINKER} -o ex15 ex15.o ${SLEPC_LIB} |
-@${MPIEXEC} -np 1 ./ex8 > ex8_1.tmp 2>&1; \ |
${RM} ex15.o |
else echo "Possible problem with ex8_1, diffs above"; fi; \ |
ex15f: ex15f.o chkopts |
-@${MPIEXEC} -np 1 ./ex9 > ex9_1.tmp 2>&1; \ |
-${FLINKER} -o ex15f ex15f.o ${SLEPC_LIB} |
else echo "Possible problem with ex9_1, diffs above"; fi; \ |
${RM} ex15f.o |
|
-@${MPIEXEC} -np 1 ./ex10 > ex10_1.tmp 2>&1; \ |
|
#------------------------------------------------------------------------------------ |
else echo "Possible problem with ex10_1, diffs above"; fi; \ |
runex1_1: |
-@${MPIEXEC} -np 1 ./ex11 > ex11_1.tmp 2>&1; \ |
-@${MPIEXEC} -np 1 ./ex1 > ex1_1.tmp 2>&1; \ |
else echo "Possible problem with ex11_1, diffs above"; fi; \ |
if (${DIFF} output/ex1_1.out ex1_1.tmp) then true; \ |
|
else echo "Possible problem with ex1_1, diffs above"; fi; \ |
-@${MPIEXEC} -np 1 ./ex12 -eps_type power -st_shift 1 -eps_nev 2 > ex12_1.tmp 2>&1; \ |
${RM} -f ex1_1.tmp |
else echo "Possible problem with ex12_1, diffs above"; fi; \ |
testex1: ex1.PETSc |
-@${MPIEXEC} -np 1 ./ex13 > ex13_1.tmp 2>&1; \ |
@if [ "${PETSC_WITH_BATCH}" != "" ]; then \ |
else echo "Possible problem with ex13_1, diffs above"; fi; \ |
echo "Running with batch filesystem; to test run src/examples/ex1 with" ; \ |
|
echo "your systems batch system"; \ |
-@${MPIEXEC} -np 1 ./ex14 -file ${SLEPC_DIR}/src/mat/examples/rdb200.petsc > ex14_1.tmp 2>&1; \ |
else \ |
else echo "Possible problem with ex14_1, diffs above"; fi; \ |
${MPIEXEC} -np 1 ./ex1 > ex1_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex1_1.out ex1_1.tmp > /dev/null 2>&1) then \ |
-@${MPIEXEC} -np 1 ./ex15 > ex15_1.tmp 2>&1; \ |
echo "C/C++ example src/examples/ex1 run successfully with 1 MPI process"; \ |
else echo "Possible problem with ex15_1, diffs above"; fi; \ |
else echo "Possible error running C/C++ src/examples/ex1 with 1 MPI process"; \ |
|
cat ex1_1.tmp; fi; \ |
|
${RM} -f ex1_1.tmp; fi |
|
runex1f_1: |
|
-@${MPIEXEC} -np 1 ./ex1f > ex1f_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex1f_1.out ex1f_1.tmp) then true; \ |
|
else echo "Possible problem with ex1f_1, diffs above"; fi; \ |
|
${RM} -f ex1f_1.tmp |
|
testex1f: ex1f.PETSc |
|
@if [ "${PETSC_WITH_BATCH}" != "" ]; then \ |
|
echo "Running with batch filesystem; to test run src/examples/ex1f with" ; \ |
|
echo "your systems batch system"; \ |
|
else \ |
|
${MPIEXEC} -np 1 ./ex1f > ex1f_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex1f_1.out ex1f_1.tmp > /dev/null 2>&1) then \ |
|
echo "Fortran example src/examples/ex1f run successfully with 1 MPI process"; \ |
|
else echo "Possible error running Fortran src/examples/ex1f with 1 MPI process"; \ |
|
cat ex1f_1.tmp; fi; \ |
|
${RM} -f ex1f_1.tmp; fi |
|
runex1f90_1: |
|
-@${MPIEXEC} -np 1 ./ex1f90 > ex1f90_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex1f90_1.out ex1f90_1.tmp) then true; \ |
|
else echo "Possible problem with ex1f90_1, diffs above"; fi; \ |
|
${RM} -f ex1f90_1.tmp |
|
runex2_1: |
|
-@${MPIEXEC} -np 1 ./ex2 > ex2_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex2_1.out ex2_1.tmp) then true; \ |
|
else echo "Possible problem with ex2_1, diffs above"; fi; \ |
|
${RM} -f ex2_1.tmp |
|
runex3_1: |
|
-@${MPIEXEC} -np 1 ./ex3 > ex3_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex3_1.out ex3_1.tmp) then true; \ |
|
else echo "Possible problem with ex3_1, diffs above"; fi; \ |
|
${RM} -f ex3_1.tmp |
|
runex4_1: |
|
-@${MPIEXEC} -np 1 ./ex4 -file ${SLEPC_DIR}/src/mat/examples/rdb200.petsc > ex4_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex4_1.out ex4_1.tmp) then true; \ |
|
else echo "Possible problem with ex4_1, diffs above"; fi; \ |
|
${RM} -f ex4_1.tmp |
|
runex5_1: |
|
-@${MPIEXEC} -np 1 ./ex5 -st_shift 1 > ex5_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex5_1.out ex5_1.tmp) then true; \ |
|
else echo "Possible problem with ex5_1, diffs above"; fi; \ |
|
${RM} -f ex5_1.tmp |
|
runex5_2: |
|
-@${MPIEXEC} -np 2 ./ex5 -st_shift 1 > ex5_2.tmp 2>&1; \ |
|
if (${DIFF} output/ex5_1.out ex5_2.tmp) then true; \ |
|
else echo "Possible problem with ex5_2, diffs above"; fi; \ |
|
${RM} -f ex5_2.tmp |
|
runex6f_1: |
|
-@${MPIEXEC} -np 1 ./ex6f -st_shift 1 -eps_max_it 1000 -eps_ncv 12 -eps_tol 1e-5 > ex6f_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex6f_1.out ex6f_1.tmp) then true; \ |
|
else echo "Possible problem with ex6f_1, diffs above"; fi; \ |
|
${RM} -f ex6f_1.tmp |
|
runex7_1: |
|
-@${MPIEXEC} -np 1 ./ex7 -f1 ${SLEPC_DIR}/src/mat/examples/bfw62a.petsc -f2 ${SLEPC_DIR}/src/mat/examples/bfw62b.petsc > ex7_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex7_1.out ex7_1.tmp) then true; \ |
|
else echo "Possible problem with ex7_1, diffs above"; fi; \ |
|
${RM} -f ex7_1.tmp |
|
runex8_1: |
|
-@${MPIEXEC} -np 1 ./ex8 > ex8_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex8_1.out ex8_1.tmp) then true; \ |
|
else echo "Possible problem with ex8_1, diffs above"; fi; \ |
|
${RM} -f ex8_1.tmp |
|
runex9_1: |
|
-@${MPIEXEC} -np 1 ./ex9 > ex9_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex9_1.out ex9_1.tmp) then true; \ |
|
else echo "Possible problem with ex9_1, diffs above"; fi; \ |
|
${RM} -f ex9_1.tmp |
|
runex10_1: |
|
-@${MPIEXEC} -np 1 ./ex10 > ex10_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex10_1.out ex10_1.tmp) then true; \ |
|
else echo "Possible problem with ex10_1, diffs above"; fi; \ |
|
${RM} -f ex10_1.tmp |
|
runex11_1: |
|
-@${MPIEXEC} -np 1 ./ex11 > ex11_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex11_1.out ex11_1.tmp) then true; \ |
|
else echo "Possible problem with ex11_1, diffs above"; fi; \ |
|
${RM} -f ex11_1.tmp |
|
runex12_1: |
|
-@${MPIEXEC} -np 1 ./ex12 -eps_type power -st_shift 1 -eps_nev 2 > ex12_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex12_1.out ex12_1.tmp) then true; \ |
|
else echo "Possible problem with ex12_1, diffs above"; fi; \ |
|
${RM} -f ex12_1.tmp |
|
runex13_1: |
|
-@${MPIEXEC} -np 1 ./ex13 > ex13_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex13_1.out ex13_1.tmp) then true; \ |
|
else echo "Possible problem with ex13_1, diffs above"; fi; \ |
|
${RM} -f ex13_1.tmp |
|
runex14_1: |
|
-@${MPIEXEC} -np 1 ./ex14 -file ${SLEPC_DIR}/src/mat/examples/rdb200.petsc > ex14_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex14_1.out ex14_1.tmp) then true; \ |
|
else echo "Possible problem with ex14_1, diffs above"; fi; \ |
|
${RM} -f ex14_1.tmp |
|
runex15_1: |
|
-@${MPIEXEC} -np 1 ./ex15 > ex15_1.tmp 2>&1; \ |
|
if (${DIFF} output/ex15_1.out ex15_1.tmp) then true; \ |
|
else echo "Possible problem with ex15_1, diffs above"; fi; \ |
|
${RM} -f ex15_1.tmp |
|