#! /bin/csh
#
#  Tests the different matrix orderings for LU
#
foreach matrix (medium arco1)

  foreach order (natural nd 1wd rcm qmd rl)

    foreach shift (nothing -mat_aij_oneindex)

      foreach mode (nothing -mat_seqbaij -mat_aij_no_inode)

        echo "mpiexec ex10 -f0 /home/bsmith/petsc/src/mat/examples/matrices/$matrix -pc_type lu $shift -mat_order $order $mode"

        mpiexec ex10 -f0 /home/bsmith/petsc/src/mat/examples/matrices/$matrix -pc_type lu $shift -mat_order $order -ksp_monitor $mode

      end

    end

  end

end
