<div dir="ltr"><div dir="ltr">I finally fixed this:<div><br></div><div> <a href="https://bitbucket.org/petsc/petsc/branch/knepley/fix-dmplex-fortran">https://bitbucket.org/petsc/petsc/branch/knepley/fix-dmplex-fortran</a></div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 21, 2018 at 9:27 PM Jiaoyan Li via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Barry,<br>
<br>
Thanks a lot for your reply. Look forward to the further information.<br>
<br>
Jiaoyan<br>
<br>
On 11/21/18, 19:25, "Smith, Barry F." <<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>> wrote:<br>
<br>
<br>
Matt,<br>
<br>
PetscPartitioner is missing from lib/petsc/conf/bfort-petsc.txt<br>
<br>
Barry<br>
<br>
<br>
<br>
> On Nov 21, 2018, at 3:33 PM, Jiaoyan Li via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br>
> <br>
> Dear Petsc users:<br>
> <br>
> I am trying to use Petsc APIs for Fortran. One problem that I am facing right now is about the PetscPartitioner, i.e.,<br>
> <br>
> #include “petsc/finclude/petsc.h”<br>
> use petscdmplex<br>
> <br>
> PetscPartitioner :: part<br>
> PetscErrorCode :: ierr<br>
> <br>
> Call PetscPartitionerCreate(PETSC_COMM_WORLD, part, ierr)<br>
> <br>
> But, I got the error message as follows:<br>
> <br>
> [0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>
> [0]PETSC ERROR: Null argument, when expecting valid pointer<br>
> [0]PETSC ERROR: Null Pointer: Parameter # 2<br>
> [0]PETSC ERROR: See <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mcs.anl.gov_petsc_documentation_faq.html&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=1lomdbavAvxQQpe-IZtEv3xEovYeZ9lxbOzN-sE8CUQ&s=BYCTTDqEflIdLwRAkF4txknqLg0jeyOcdodQkfHj-TA&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mcs.anl.gov_petsc_documentation_faq.html&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=1lomdbavAvxQQpe-IZtEv3xEovYeZ9lxbOzN-sE8CUQ&s=BYCTTDqEflIdLwRAkF4txknqLg0jeyOcdodQkfHj-TA&e=</a> for trouble shooting.<br>
> [0]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>
> [0]PETSC ERROR: ./htm3d on a arch-linux2-c-opt named fn607018 by LIJ Wed Nov 21 16:30:35 2018<br>
> [0]PETSC ERROR: Configure options --download-fblaslapack --with-mpi-dir=/opt/mpitch-3.2.1 -download-exodusii --download-hdf5 --download-netcdf --download-zlib --download-pnetcdf<br>
> [0]PETSC ERROR: #1 PetscPartitionerCreate() line 601 in /home/lij/packages/petsc/src/dm/impls/plex/plexpartition.c<br>
> [1]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>
> [1]PETSC ERROR: Null argument, when expecting valid pointer<br>
> [1]PETSC ERROR: Null Pointer: Parameter # 2<br>
> [1]PETSC ERROR: See <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mcs.anl.gov_petsc_documentation_faq.html&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=1lomdbavAvxQQpe-IZtEv3xEovYeZ9lxbOzN-sE8CUQ&s=BYCTTDqEflIdLwRAkF4txknqLg0jeyOcdodQkfHj-TA&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mcs.anl.gov_petsc_documentation_faq.html&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=1lomdbavAvxQQpe-IZtEv3xEovYeZ9lxbOzN-sE8CUQ&s=BYCTTDqEflIdLwRAkF4txknqLg0jeyOcdodQkfHj-TA&e=</a> for trouble shooting.<br>
> [1]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>
> [1]PETSC ERROR: ./htm3d on a arch-linux2-c-opt named fn607018 by LIJ Wed Nov 21 16:30:35 2018<br>
> [1]PETSC ERROR: Configure options --download-fblaslapack --with-mpi-dir=/opt/mpitch-3.2.1 -download-exodusii --download-hdf5 --download-netcdf --download-zlib --download-pnetcdf<br>
> [1]PETSC ERROR: #1 PetscPartitionerCreate() line 601 in /home/lij/packages/petsc/src/dm/impls/plex/plexpartition.c<br>
> [2]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>
> [2]PETSC ERROR: Null argument, when expecting valid pointer<br>
> [2]PETSC ERROR: Null Pointer: Parameter # 2<br>
> [2]PETSC ERROR: See <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mcs.anl.gov_petsc_documentation_faq.html&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=1lomdbavAvxQQpe-IZtEv3xEovYeZ9lxbOzN-sE8CUQ&s=BYCTTDqEflIdLwRAkF4txknqLg0jeyOcdodQkfHj-TA&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mcs.anl.gov_petsc_documentation_faq.html&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=1lomdbavAvxQQpe-IZtEv3xEovYeZ9lxbOzN-sE8CUQ&s=BYCTTDqEflIdLwRAkF4txknqLg0jeyOcdodQkfHj-TA&e=</a> for trouble shooting.<br>
> [2]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>
> [2]PETSC ERROR: ./htm3d on a arch-linux2-c-opt named fn607018 by LIJ Wed Nov 21 16:30:35 2018<br>
> [2]PETSC ERROR: Configure options --download-fblaslapack --with-mpi-dir=/opt/mpitch-3.2.1 -download-exodusii --download-hdf5 --download-netcdf --download-zlib --download-pnetcdf<br>
> [2]PETSC ERROR: #1 PetscPartitionerCreate() line 601 in /home/lij/packages/petsc/src/dm/impls/plex/plexpartition.c<br>
> [3]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>
> [3]PETSC ERROR: Null argument, when expecting valid pointer<br>
> [3]PETSC ERROR: Null Pointer: Parameter # 2<br>
> [3]PETSC ERROR: See <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mcs.anl.gov_petsc_documentation_faq.html&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=1lomdbavAvxQQpe-IZtEv3xEovYeZ9lxbOzN-sE8CUQ&s=BYCTTDqEflIdLwRAkF4txknqLg0jeyOcdodQkfHj-TA&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mcs.anl.gov_petsc_documentation_faq.html&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=1lomdbavAvxQQpe-IZtEv3xEovYeZ9lxbOzN-sE8CUQ&s=BYCTTDqEflIdLwRAkF4txknqLg0jeyOcdodQkfHj-TA&e=</a> for trouble shooting.<br>
> [3]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>
> [3]PETSC ERROR: ./htm3d on a arch-linux2-c-opt named fn607018 by LIJ Wed Nov 21 16:30:35 2018<br>
> [3]PETSC ERROR: Configure options --download-fblaslapack --with-mpi-dir=/opt/mpitch-3.2.1 -download-exodusii --download-hdf5 --download-netcdf --download-zlib --download-pnetcdf<br>
> [3]PETSC ERROR: #1 PetscPartitionerCreate() line 601 in /home/lij/packages/petsc/src/dm/impls/plex/plexpartition.c<br>
> <br>
> Is there anyone who may encounter similar problem before? Any suggestions or commends are highly appreciated. Thank you very much.<br>
> <br>
> Best,<br>
> <br>
> Jiaoyan<br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>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><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div>