Sorry for replying to my own question, but it seems to be working in optimized mode, but not in Debug mode, which is strange. -Nachiket -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20121213/fbc78880/attachment.html>