<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Aug 4, 2015 at 11:27 PM, Gautam Bisht <span dir="ltr"><<a href="mailto:gbisht@lbl.gov" target="_blank">gbisht@lbl.gov</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><div>Hi,</div><div><br></div><div>I'm getting the following error while running the following DMPlex example. Any suggestion what is going wrong? Attached are example.log and configure.log.</div></div></div></blockquote><div><br></div><div>Can you run the test by hand either with the debugger and get a stack trace:</div><div><br></div><div><div>/opt/local/bin/mpiexec-mpich-gcc49 -host localhost -n 1 darwin-gnu-fort-debug/lib/ex12-obj/ex12 -run_type test -refinement_limit 0.0    -bc_type dirichlet -interpolate 0 -petscspace_order 1 -show_initial -dm_plex_print_fem 1 -start_in_debugger</div><div><br></div><div>or using valgrind? I cannot reproduce the problem here.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> <br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>python2.7 ./config/builder2.py check src/snes/examples/tutorials/ex12.c</div><div>Namespace(args=[], files=['src/snes/examples/tutorials/ex12.c'], func=<function check at 0x10d874c80>, numProcs=None, regParams=None, replace=False, retain=False, testnum=None)</div><div>Running 52 tests</div><div>Building ['/Users/gbisht/projects/petsc/petsc_f0284fa/src/snes/examples/tutorials/ex12.c']</div><div>Running #0: /opt/local/bin/mpiexec-mpich-gcc49 -host localhost -n 1 darwin-gnu-fort-debug/lib/ex12-obj/ex12 -run_type test -refinement_limit 0.0    -bc_type dirichlet -interpolate 0 -petscspace_order 1 -s</div><div>TEST ERROR: Failed to execute darwin-gnu-fort-debug/lib/ex12-obj/ex12</div><div>===================================================================================                                                                                                                         </div><div>=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES                                                                                                                                                    </div><div>=   PID 69451 RUNNING AT localhost                                                                                                                                                                          </div><div>=   EXIT CODE: 59                                                                                                                                                                                           </div><div>=   CLEANING UP REMAINING PROCESSES                                                                                                                                                                         </div><div>=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES                                                                                                                                                               </div><div>===================================================================================</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------                                 </div><div>[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range                                                                                                   </div><div>[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger                                                                                                                                  </div><div>[0]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind</a>                                                                                                                         </div><div>[0]PETSC ERROR: or try <a href="http://valgrind.org" target="_blank">http://valgrind.org</a> on GNU/linux and Apple Mac OS X to find memory corruption errors                                                                                                 </div><div>[0]PETSC ERROR: likely location of problem given in stack below                                                                                                                                             </div><div>[0]PETSC ERROR: ---------------------  Stack Frames ------------------------------------                                                                                                                    </div><div>[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,                                                                                                                                </div><div>[0]PETSC ERROR:       INSTEAD the line number of the start of the function                                                                                                                                  </div><div>[0]PETSC ERROR:       is given.                                                                                                                                                                             </div><div>[0]PETSC ERROR: [0] DMPlexGenerate_Triangle line 217 src/dm/impls/plex/plexgenerate.c                                                                                                                       </div><div>[0]PETSC ERROR: [0] DMPlexGenerate line 1056 src/dm/impls/plex/plexgenerate.c                                                                                                                               </div><div>[0]PETSC ERROR: [0] DMPlexCreateBoxMesh line 897 src/dm/impls/plex/plexcreate.c                                                                                                                             </div><div>[0]PETSC ERROR: [0] CreateMesh line 347 src/snes/examples/tutorials/ex12.c                                                                                                                                  </div><div>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------                                                                                          </div><div>[0]PETSC ERROR: Signal received                                                                                                                                                                             </div><div>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.                                                                                                               </div><div>[0]PETSC ERROR: Petsc Development GIT revision: v3.6.1-238-gf0284fa  GIT Date: 2015-07-27 13:34:26 -0500                                                                                                    </div><div>[0]PETSC ERROR: darwin-gnu-fort-debug/lib/ex12-obj/ex12 on a darwin-gnu-fort-debug named gautam-laptop by gbisht Tue Aug  4 21:09:37 2015                                                                   </div><div>[0]PETSC ERROR: Configure options --download-hdf5=1 --with-blas-lapack-lib=/System/Library/Frameworks/Accelerate.framework/Versions/Current/Accelerate --download-parmetis=yes --download-metis=yes --with-c</div><div>[0]PETSC ERROR: #1 User provided function() line 0 in  unknown file                                                                                                                                         </div><div>application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0                                                                                                                                                                                                                                                                                                                                                            </div><div>TEST RUN FAILED (check example.log for details)</div></div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>-Gautam.</div><div><br></div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">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</div>
</div></div>