<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 9, 2013 at 6:46 AM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="im">On Thu, May 9, 2013 at 6:33 AM, Dharmendar Reddy <span dir="ltr"><<a href="mailto:dharmareddy84@gmail.com" target="_blank">dharmareddy84@gmail.com</a>></span> wrote:<br>
</div><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello,<br></div><div class="im"> Looks like the call DMGetCoordinatesLocal(clonedDM,coords,ierr) is giving a null coords Vec. DMView on clonedDM is printing the expected information<br>
<br>Mesh in 2 dimensions:<br>
0-cells: 9<br> 1-cells: 16<br> 2-cells: 8<br>Labels:<br> marker: 2 strata of sizes (16, 5)<br> depth: 3 strata of sizes (9, 16, 8)<br><br></div></div><div class="im"><div>the original dm is created using DMPlexCreateBoxMesh. </div>
</div></div>
</blockquote><div><br></div><div>The semantics for Clone have not been nailed down. I can copy over the coordinates. I am not sure it will make</div><div>the release, but I will put it in next.</div><div><br></div></div>
</div></div></blockquote><div> That will help for now. On a related note, when the parent dm is refined or distributed does cloned dm also get refined or distributed or do we need to call the clone after refining or distributing the parent dm ? <br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div> Thanks,</div>
<div><br></div><div> Matt</div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div class="gmail_extra"><br><div class="gmail_quote">
On Wed, May 8, 2013 at 8:21 PM, Dharmendar Reddy <span dir="ltr"><<a href="mailto:dharmareddy84@gmail.com" target="_blank">dharmareddy84@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">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<span><font color="#888888"><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: <a href="tel:%2B1-512-350-9082" value="+15123509082" target="_blank">+1-512-350-9082</a><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></font></span></div>
</blockquote></div><br><br clear="all"><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: <a href="tel:%2B1-512-350-9082" value="+15123509082" target="_blank">+1-512-350-9082</a><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></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</font></span></div></div>
</blockquote></div><br><br clear="all"><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>