1#! /bin/csh 2 3foreach matrix (small) 4 5 foreach blocks (1 2 3 6) 6 7 foreach overlap (0 1 2) 8 9 echo "matrix $matrix blocks $blocks overlap $overlap" 10 mpiexec ../ex10 -f0 /home/bsmith/petsc/src/mat/examples/matrices/$matrix -pc_type asm -mat_seqbaij -matload_block_size 6 -pc_asm_blocks $blocks -pc_asm_overlap $overlap -ksp_monitor >! ex10_asm_matbaij_1.log 11 mpiexec ../ex10 -f0 /home/bsmith/petsc/src/mat/examples/matrices/$matrix -pc_type asm -mat_seqaij -pc_asm_blocks $blocks -pc_asm_overlap $overlap -ksp_monitor >! ex10_asm_matbaij_2.log 12 diff ex10_asm_matbaij_1.log ex10_asm_matbaij_1.log 13 /bin/rm -f ex10_asm_matbaij_1.log ex10_asm_matbaij_1.log 14 end 15 16 end 17 18end 19