<div dir="ltr">Hi, I am using DMPlex for a FVM code written in Fortran that uses DMPlexCreateSection() to prepare an output file in vtu format. A domain of interest has around 5000 node points and with small number of processors (such as nproc=3), the DMPlexCreateSection() works fine. However, if a larger number of procs (such as nproc=20) is used,
DMPlexCreateSection() crashes with error message below. It looks very similar problem in a previous PETSc user inquiry: "
<a href="https://lists.mcs.anl.gov/pipermail/petsc-dev/2013-November/014049.html" style="font-family:"Malgun Gothic";font-size:medium">[petsc-dev] DMPlexCreateSection crash in a no-boundary corner case</a>"<div><br></div><div>When I call DMPlexCreateSection(), a nullified pointer "nolabel(:)=>NULL()" is provided. What is a possible solution to this problem? It looks like there is a problem with a processor that does not have any boundaries. A piece of the source code is attached to show how the
DMPlexCreateSection() is used in the code.</div><div><br></div><div>Thanks,</div><div>Mike</div><div><div><br></div><div>[16]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[16]PETSC ERROR: Null argument, when expecting valid pointer<br>[16]PETSC ERROR: Null Pointer: Parameter # 1<br>[16]PETSC ERROR: See <a href="https://petsc.org/release/faq/">https://petsc.org/release/faq/</a> for trouble shooting.<br>[16]PETSC ERROR: Petsc Release Version 3.17.0, unknown <br></div></div><div>[16]PETSC ERROR: #1 ISGetLocalSize() at<br></div><div>[16]PETSC ERROR: #2 DMPlexCreateSectionBCDof() at<br></div><div>[16]PETSC ERROR: #3 DMPlexCreateSection() at<br></div></div>