Barry can get to sleep tonight. All of the DMSetFunction/Jacobian() infrastructure has been removed from PETSc-dev (and examples transitioned to new improved API). Always feels good to remove code, you should try it. Barry