Runtime Script Example, III.
20 if ($pctype == ilu) then # non-parallel preconditioner
29 else # parallel preconditioner
30 foreach subpctype (jacobi sor ilu) # subdomain solver
31 if ($subpctype == ilu) then
32 foreach level (0 1 2) # level of fill for ILU(k)
34 echo '************************ Beginning new run ************************'
36 set cmd="mpirun –np $np $appl –ksp_type $ksptype –pc_type $pctype
–sub_ksp_type preonly –sub_pc_type $subpctype
–sub_pc_ilu_levels $level $options"
37 set num=`expr $num + 1`; echo "$num : $cmd"
42 echo '************************ Beginning new run ************************'
44 set cmd="mpirun –np $np $appl –ksp_type $ksptype –pc_type $pctype
–sub_ksp_type preonly –sub_pc_type $subpctype $options"
45 set num=`expr $num + 1`; echo "$num : $cmd"