<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Matt,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks a lot for your update. I will test it out and let you know if there is any problem.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Jiaoyan<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Matthew Knepley <knepley@gmail.com><br>
<b>Date: </b>Friday, December 14, 2018 at 08:57<br>
<b>To: </b>Jiaoyan Li <Jiaoyan.Li@inl.gov><br>
<b>Cc: </b>Barry Smith <bsmith@mcs.anl.gov>, PETSc <petsc-users@mcs.anl.gov><br>
<b>Subject: </b>Re: [petsc-users] PetscPartitioner in Fortran<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">I finally fixed this: <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__bitbucket.org_petsc_petsc_branch_knepley_fix-2Ddmplex-2Dfortran&d=DwMFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=mVlB7MjAbzi4HzdfNibnhGRkfnfFLac246NrNtB4V8E&s=ZxNw-nlQ1eaNA2m7X41IiZMWLv62TIS094ajfqIxAdY&e=">https://bitbucket.org/petsc/petsc/branch/knepley/fix-dmplex-fortran</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> Matt<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">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:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt">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=" 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=" 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=" 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=" 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>
<o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">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<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cse.buffalo.edu_-7Eknepley_&d=DwMFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=mVlB7MjAbzi4HzdfNibnhGRkfnfFLac246NrNtB4V8E&s=vn0wryWiz5mxgkUYzHqHIMFxTVu8mw6ojUQGsagXIUM&e=" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>