<div dir="ltr"><div>Hello,<br></div>         I am seeing an error when i use vtkviewer with a cloned dm. Am i doing some thing worng  ? Please see the attached test case.<br><br>[0]PETSC ERROR: --------------------- Error Message ----------------------------<br>
--------<br>[0]PETSC ERROR: Null argument, when expecting valid pointer!<br>[0]PETSC ERROR: Null Object: Parameter # 1!<br>[0]PETSC ERROR: ----------------------------------------------------------------<br>--------<br>[0]PETSC ERROR: Petsc Development GIT revision: 2ba5cda9c63f067922ac725686fc49a5<br>
014f5bad  GIT Date: 2013-05-05 14:03:36 -0600<br>[0]PETSC ERROR: See docs/changes/index.html for recent updates.<br>[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.<br>[0]PETSC ERROR: See docs/index.html for manual pages.<br>
[0]PETSC ERROR: ----------------------------------------------------------------<br>--------<br>[0]PETSC ERROR: ./testDMView on a mpi_rScalar_Debug named login3.stampede.tacc.u<br><a href="http://texas.edu">texas.edu</a> by Reddy135 Wed May  8 19:53:42 2013<br>
[0]PETSC ERROR: Libraries linked from /home1/00924/Reddy135/LocalApps/petsc/mpi_<br>rScalar_Debug/lib<br>[0]PETSC ERROR: Configure run at Sun May  5 23:15:58 2013<br>[0]PETSC ERROR: Configure options   --download-blacs=1 --download-ctetgen=1 --do<br>
wnload-metis=1 --download-mumps=1 --download-parmetis=1 --download-scalapack=1 -<br>-download-superlu_dist=1 --download-triangle=1 --download-umfpack=1 --with-blas-<br>lapack-dir=/opt/apps/intel/13/composer_xe_2013.2.146/mkl/lib/intel64/ --with-deb<br>
ugging=1 --with-mpi-dir=/opt/apps/intel13/mvapich2/1.9/ --with-petsc-arch=mpi_rS<br>calar_Debug --with-petsc-dir=/home1/00924/Reddy135/LocalApps/petsc PETSC_ARCH=mp<br>i_rScalar_Debug<br>[0]PETSC ERROR: ----------------------------------------------------------------<br>
--------<br>[0]PETSC ERROR: VecGetArrayRead() line 1488 in /home1/00924/Reddy135/LocalApps/p<br>etsc/src/vec/vec/interface/rvector.c<br>[0]PETSC ERROR: DMPlexVTKWriteAll_VTU() line 300 in /home1/00924/Reddy135/LocalA<br>pps/petsc/src/dm/impls/plex/plexvtu.c<br>
[0]PETSC ERROR: DMPlexVTKWriteAll() line 606 in /home1/00924/Reddy135/LocalApps/<br>petsc/src/dm/impls/plex/plexvtk.c<br>[0]PETSC ERROR: PetscViewerFlush_VTK() line 78 in /home1/00924/Reddy135/LocalApp<br>s/petsc/src/sys/classes/viewer/impls/vtk/vtkv.c<br>
[0]PETSC ERROR: PetscViewerFlush() line 30 in /home1/00924/Reddy135/LocalApps/pe<br>tsc/src/sys/classes/viewer/interface/flush.c<br>[0]PETSC ERROR: PetscViewerDestroy() line 100 in /home1/00924/Reddy135/LocalApps<br>/petsc/src/sys/classes/viewer/interface/view.c<br clear="all">
<div><div><br>-- <br>-----------------------------------------------------<br>Dharmendar Reddy Palle<br>Graduate Student<br>Microelectronics Research center,<br>University of Texas at Austin,<br>10100 Burnet Road, Bldg. 160<br>
MER 2.608F, TX 78758-4445<br>e-mail: <a href="mailto:dharmareddy84@gmail.com" target="_blank">dharmareddy84@gmail.com</a><br>Phone: +1-512-350-9082<br>United States of America.<br>Homepage: <a href="https://webspace.utexas.edu/~dpr342" target="_blank">https://webspace.utexas.edu/~dpr342</a><br>

</div></div></div>