Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 6 | dsic.upv.es!jroman | 1 | |
| 2 | CFLAGS = |
||
| 3 | FFLAGS = |
||
| 4 | CPPFLAGS = |
||
| 5 | FPPFLAGS = |
||
| 6 | LOCDIR = src/examples/ |
||
| 780 | dsic.upv.es!jroman | 7 | EXAMPLESC = ex1.c ex2.c ex3.c ex4.c ex5.c ex7.c ex8.c ex9.c ex10.c ex11.c ex12.c |
| 6 | dsic.upv.es!jroman | 8 | EXAMPLESCH = |
| 9 | EXAMPLESF = ex1f.F ex6f.F mvmisg.f |
||
| 10 | |||
| 932 | dsic.upv.es!antodo | 11 | TESTEXAMPLES_C = ex1.PETSc runex1_1 ex1.rm ex2.PETSc runex2_1 ex2.rm \ |
| 943 | dsic.upv.es!jroman | 12 | ex4.PETSc runex4_1 ex4.rm ex5.PETSc runex5_1 ex5.rm \ |
| 780 | dsic.upv.es!jroman | 13 | ex7.PETSc runex7_1 ex7.rm ex10.PETSc runex10_1 ex10.rm \ |
| 801 | dsic.upv.es!antodo | 14 | ex11.PETSc runex11_1 ex11.rm ex12.PETSc runex12_1 ex12.rm |
| 6 | dsic.upv.es!jroman | 15 | |
| 932 | dsic.upv.es!antodo | 16 | TESTEXAMPLES_FORTRAN = ex1f.PETSc runex1f_1 ex1f.rm |
| 17 | |||
| 18 | TESTEXAMPLES_FORTRAN_MPIUNI = ex6f.PETSc runex6f_1 ex6f.rm |
||
| 19 | |||
| 20 | TESTEXAMPLES_C_X11_MPIUNI = ex3.PETSc runex3_1 ex3.rm |
||
| 21 | |||
| 6 | dsic.upv.es!jroman | 22 | include ${SLEPC_DIR}/bmake/slepc_common |
| 23 | |||
| 785 | dsic.upv.es!antodo | 24 | ex1: ex1.o chkopts |
| 6 | dsic.upv.es!jroman | 25 | -${CLINKER} -o ex1 ex1.o ${SLEPC_LIB} |
| 26 | ${RM} ex1.o |
||
| 27 | |||
| 785 | dsic.upv.es!antodo | 28 | ex1f: ex1f.o chkopts |
| 1080 | slepc | 29 | -${FLINKER} -o ex1f ex1f.o ${SLEPC_LIB} |
| 6 | dsic.upv.es!jroman | 30 | ${RM} ex1f.o |
| 31 | |||
| 785 | dsic.upv.es!antodo | 32 | ex2: ex2.o chkopts |
| 6 | dsic.upv.es!jroman | 33 | -${CLINKER} -o ex2 ex2.o ${SLEPC_LIB} |
| 34 | ${RM} ex2.o |
||
| 35 | |||
| 785 | dsic.upv.es!antodo | 36 | ex3: ex3.o chkopts |
| 6 | dsic.upv.es!jroman | 37 | -${CLINKER} -o ex3 ex3.o ${SLEPC_LIB} |
| 38 | ${RM} ex3.o |
||
| 39 | |||
| 785 | dsic.upv.es!antodo | 40 | ex4: ex4.o chkopts |
| 6 | dsic.upv.es!jroman | 41 | -${CLINKER} -o ex4 ex4.o ${SLEPC_LIB} |
| 42 | ${RM} ex4.o |
||
| 43 | |||
| 785 | dsic.upv.es!antodo | 44 | ex5: ex5.o chkopts |
| 6 | dsic.upv.es!jroman | 45 | -${CLINKER} -o ex5 ex5.o ${SLEPC_LIB} |
| 46 | ${RM} ex5.o |
||
| 47 | |||
| 785 | dsic.upv.es!antodo | 48 | ex6f: ex6f.o mvmisg.o chkopts |
| 1080 | slepc | 49 | -${FLINKER} -o ex6f ex6f.o mvmisg.o ${SLEPC_LIB} |
| 6 | dsic.upv.es!jroman | 50 | ${RM} ex6f.o mvmisg.o |
| 51 | |||
| 785 | dsic.upv.es!antodo | 52 | ex7: ex7.o chkopts |
| 6 | dsic.upv.es!jroman | 53 | -${CLINKER} -o ex7 ex7.o ${SLEPC_LIB} |
| 54 | ${RM} ex7.o |
||
| 55 | |||
| 785 | dsic.upv.es!antodo | 56 | ex8: ex8.o chkopts |
| 6 | dsic.upv.es!jroman | 57 | -${CLINKER} -o ex8 ex8.o ${SLEPC_LIB} |
| 58 | ${RM} ex8.o |
||
| 59 | |||
| 785 | dsic.upv.es!antodo | 60 | ex9: ex9.o chkopts |
| 6 | dsic.upv.es!jroman | 61 | -${CLINKER} -o ex9 ex9.o ${SLEPC_LIB} |
| 62 | ${RM} ex9.o |
||
| 63 | |||
| 785 | dsic.upv.es!antodo | 64 | ex10: ex10.o chkopts |
| 6 | dsic.upv.es!jroman | 65 | -${CLINKER} -o ex10 ex10.o ${SLEPC_LIB} |
| 66 | ${RM} ex10.o |
||
| 67 | |||
| 785 | dsic.upv.es!antodo | 68 | ex11: ex11.o chkopts |
| 289 | dsic.upv.es!antodo | 69 | -${CLINKER} -o ex11 ex11.o ${SLEPC_LIB} |
| 70 | ${RM} ex11.o |
||
| 71 | |||
| 785 | dsic.upv.es!antodo | 72 | ex12: ex12.o chkopts |
| 780 | dsic.upv.es!jroman | 73 | -${CLINKER} -o ex12 ex12.o ${SLEPC_LIB} |
| 74 | ${RM} ex12.o |
||
| 75 | |||
| 6 | dsic.upv.es!jroman | 76 | #------------------------------------------------------------------------------------ |
| 77 | |||
| 78 | runex1_1: |
||
| 79 | -@${MPIRUN} -np 1 ex1 > ex1_1.tmp 2>&1; \ |
||
| 80 | if (${DIFF} output/ex1_1.out ex1_1.tmp) then true; \ |
||
| 81 | else echo "Possible problem with ex1_1, diffs above"; fi; \ |
||
| 82 | ${RM} -f ex1_1.tmp |
||
| 83 | |||
| 84 | runex1f_1: |
||
| 85 | -@${MPIRUN} -np 1 ex1f > ex1f_1.tmp 2>&1; \ |
||
| 86 | if (${DIFF} output/ex1f_1.out ex1f_1.tmp) then true; \ |
||
| 87 | else echo "Possible problem with ex1f_1, diffs above"; fi; \ |
||
| 88 | ${RM} -f ex1f_1.tmp |
||
| 89 | |||
| 90 | runex2_1: |
||
| 91 | -@${MPIRUN} -np 1 ex2 > ex2_1.tmp 2>&1; \ |
||
| 92 | if (${DIFF} output/ex2_1.out ex2_1.tmp) then true; \ |
||
| 93 | else echo "Possible problem with ex2_1, diffs above"; fi; \ |
||
| 94 | ${RM} -f ex2_1.tmp |
||
| 95 | |||
| 96 | runex3_1: |
||
| 97 | -@${MPIRUN} -np 1 ex3 > ex3_1.tmp 2>&1; \ |
||
| 98 | if (${DIFF} output/ex3_1.out ex3_1.tmp) then true; \ |
||
| 99 | else echo "Possible problem with ex3_1, diffs above"; fi; \ |
||
| 100 | ${RM} -f ex3_1.tmp |
||
| 101 | |||
| 102 | runex4_1: |
||
| 103 | -@${MPIRUN} -np 1 ex4 -file ${SLEPC_DIR}/src/mat/examples/rdb200.petsc > ex4_1.tmp 2>&1; \ |
||
| 104 | if (${DIFF} output/ex4_1.out ex4_1.tmp) then true; \ |
||
| 105 | else echo "Possible problem with ex4_1, diffs above"; fi; \ |
||
| 106 | ${RM} -f ex4_1.tmp |
||
| 107 | |||
| 108 | runex5_1: |
||
| 195 | dsic.upv.es!antodo | 109 | -@${MPIRUN} -np 1 ex5 -st_shift 1 > ex5_1.tmp 2>&1; \ |
| 6 | dsic.upv.es!jroman | 110 | if (${DIFF} output/ex5_1.out ex5_1.tmp) then true; \ |
| 111 | else echo "Possible problem with ex5_1, diffs above"; fi; \ |
||
| 112 | ${RM} -f ex5_1.tmp |
||
| 113 | |||
| 114 | runex5_2: |
||
| 195 | dsic.upv.es!antodo | 115 | -@${MPIRUN} -np 2 ex5 -st_shift 1 > ex5_2.tmp 2>&1; \ |
| 6 | dsic.upv.es!jroman | 116 | if (${DIFF} output/ex5_1.out ex5_2.tmp) then true; \ |
| 117 | else echo "Possible problem with ex5_2, diffs above"; fi; \ |
||
| 118 | ${RM} -f ex5_2.tmp |
||
| 119 | |||
| 120 | runex6f_1: |
||
| 1074 | slepc | 121 | -@${MPIRUN} -np 1 ex6f -st_shift 1 -eps_max_it 1000 -eps_ncv 12 -eps_tol 1e-5 > ex6f_1.tmp 2>&1; \ |
| 6 | dsic.upv.es!jroman | 122 | if (${DIFF} output/ex6f_1.out ex6f_1.tmp) then true; \ |
| 123 | else echo "Possible problem with ex6f_1, diffs above"; fi; \ |
||
| 124 | ${RM} -f ex6f_1.tmp |
||
| 125 | |||
| 126 | runex7_1: |
||
| 580 | dsic.upv.es!antodo | 127 | -@${MPIRUN} -np 1 ex7 -f1 ${SLEPC_DIR}/src/mat/examples/bfw62a.petsc -f2 ${SLEPC_DIR}/src/mat/examples/bfw62b.petsc > ex7_1.tmp 2>&1; \ |
| 6 | dsic.upv.es!jroman | 128 | if (${DIFF} output/ex7_1.out ex7_1.tmp) then true; \ |
| 129 | else echo "Possible problem with ex7_1, diffs above"; fi; \ |
||
| 130 | ${RM} -f ex7_1.tmp |
||
| 131 | |||
| 132 | runex8_1: |
||
| 133 | -@${MPIRUN} -np 1 ex8 > ex8_1.tmp 2>&1; \ |
||
| 134 | if (${DIFF} output/ex8_1.out ex8_1.tmp) then true; \ |
||
| 135 | else echo "Possible problem with ex8_1, diffs above"; fi; \ |
||
| 136 | ${RM} -f ex8_1.tmp |
||
| 137 | |||
| 138 | runex9_1: |
||
| 139 | -@${MPIRUN} -np 1 ex9 > ex9_1.tmp 2>&1; \ |
||
| 140 | if (${DIFF} output/ex9_1.out ex9_1.tmp) then true; \ |
||
| 141 | else echo "Possible problem with ex9_1, diffs above"; fi; \ |
||
| 142 | ${RM} -f ex9_1.tmp |
||
| 143 | |||
| 144 | runex10_1: |
||
| 145 | -@${MPIRUN} -np 1 ex10 > ex10_1.tmp 2>&1; \ |
||
| 146 | if (${DIFF} output/ex10_1.out ex10_1.tmp) then true; \ |
||
| 147 | else echo "Possible problem with ex10_1, diffs above"; fi; \ |
||
| 148 | ${RM} -f ex10_1.tmp |
||
| 149 | |||
| 780 | dsic.upv.es!jroman | 150 | runex11_1: |
| 151 | -@${MPIRUN} -np 1 ex11 > ex11_1.tmp 2>&1; \ |
||
| 152 | if (${DIFF} output/ex11_1.out ex11_1.tmp) then true; \ |
||
| 153 | else echo "Possible problem with ex11_1, diffs above"; fi; \ |
||
| 154 | ${RM} -f ex11_1.tmp |
||
| 155 | |||
| 156 | runex12_1: |
||
| 947 | dsic.upv.es!jroman | 157 | -@${MPIRUN} -np 1 ex12 -eps_type power -st_shift 1 -eps_nev 2 > ex12_1.tmp 2>&1; \ |
| 780 | dsic.upv.es!jroman | 158 | if (${DIFF} output/ex12_1.out ex12_1.tmp) then true; \ |
| 159 | else echo "Possible problem with ex12_1, diffs above"; fi; \ |
||
| 160 | ${RM} -f ex12_1.tmp |
||
| 161 |