<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;}
@font-face
{font-family:-webkit-standard;
panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"-webkit-standard",serif;color:black">Dear Petsc Users:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"-webkit-standard",serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"-webkit-standard",serif;color:black">I am developing a Fortran code which uses Petsc APIs. But, seems the interface between Fortran and Petsc is not completed, as replied by Barry. Is there anyone
may have some experience on building the Fortran interface for Petsc? Any suggestions or comments are highly appreciated. Thank you.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"-webkit-standard",serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"-webkit-standard",serif;color:black">Have a nice day,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"-webkit-standard",serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"-webkit-standard",serif;color:black">Jiaoyan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"-webkit-standard",serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"-webkit-standard",serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"-webkit-standard",serif;color:black">------------------------------------------------
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black">On 11/21/18, 19:25, "Smith, Barry F." <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> Matt,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> PetscPartitioner is missing from lib/petsc/conf/bfort-petsc.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> Barry<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > On Nov 21, 2018, at 3:33 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></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> ><span class="apple-converted-space"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > Dear Petsc users:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > I am trying to use Petsc APIs for Fortran. One problem that I am facing right now is about the PetscPartitioner, i.e.,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > #include “petsc/finclude/petsc.h”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > use petscdmplex<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > PetscPartitioner :: part<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > PetscErrorCode :: ierr<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > Call PetscPartitionerCreate(PETSC_COMM_WORLD, part, ierr)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > But, I got the error message as follows:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [0]PETSC ERROR: Null argument, when expecting valid pointer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [0]PETSC ERROR: Null Pointer: Parameter # 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [0]PETSC ERROR: See<span class="apple-converted-space"> </span><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=">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><span class="apple-converted-space"> </span>for
trouble shooting.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [0]PETSC ERROR: Petsc Release Version 3.10.2, unknown<span class="apple-converted-space"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [0]PETSC ERROR: ./htm3d on a arch-linux2-c-opt named fn607018 by LIJ Wed Nov 21 16:30:35 2018<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [0]PETSC ERROR: #1 PetscPartitionerCreate() line 601 in /home/lij/packages/petsc/src/dm/impls/plex/plexpartition.c<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [1]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [1]PETSC ERROR: Null argument, when expecting valid pointer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [1]PETSC ERROR: Null Pointer: Parameter # 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [1]PETSC ERROR: See<span class="apple-converted-space"> </span><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=">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><span class="apple-converted-space"> </span>for
trouble shooting.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [1]PETSC ERROR: Petsc Release Version 3.10.2, unknown<span class="apple-converted-space"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [1]PETSC ERROR: ./htm3d on a arch-linux2-c-opt named fn607018 by LIJ Wed Nov 21 16:30:35 2018<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [1]PETSC ERROR: #1 PetscPartitionerCreate() line 601 in /home/lij/packages/petsc/src/dm/impls/plex/plexpartition.c<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [2]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [2]PETSC ERROR: Null argument, when expecting valid pointer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [2]PETSC ERROR: Null Pointer: Parameter # 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [2]PETSC ERROR: See<span class="apple-converted-space"> </span><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=">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><span class="apple-converted-space"> </span>for
trouble shooting.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [2]PETSC ERROR: Petsc Release Version 3.10.2, unknown<span class="apple-converted-space"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [2]PETSC ERROR: ./htm3d on a arch-linux2-c-opt named fn607018 by LIJ Wed Nov 21 16:30:35 2018<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [2]PETSC ERROR: #1 PetscPartitionerCreate() line 601 in /home/lij/packages/petsc/src/dm/impls/plex/plexpartition.c<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [3]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [3]PETSC ERROR: Null argument, when expecting valid pointer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [3]PETSC ERROR: Null Pointer: Parameter # 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [3]PETSC ERROR: See<span class="apple-converted-space"> </span><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=">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><span class="apple-converted-space"> </span>for
trouble shooting.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [3]PETSC ERROR: Petsc Release Version 3.10.2, unknown<span class="apple-converted-space"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [3]PETSC ERROR: ./htm3d on a arch-linux2-c-opt named fn607018 by LIJ Wed Nov 21 16:30:35 2018<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > [3]PETSC ERROR: #1 PetscPartitionerCreate() line 601 in /home/lij/packages/petsc/src/dm/impls/plex/plexpartition.c<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > Is there anyone who may encounter similar problem before? Any suggestions or commends are highly appreciated. Thank you very much.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black"> > Jiaoyan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
</body>
</html>