<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Nov 27, 2018 at 10:51 AM 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks, Chris, for your kind reply. Yes, I believe the mailing list is the most convenient way for Petsc's to communicate with each other. <br></blockquote><div><br></div><div>Hi Jiaoyan,</div><div><br></div><div>I will fix this. Its taking me a few days because its the end of the semester and things get a little compressed. I should have it done this week.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, I am wondering if you may happen to use "PetscPartitioner" before? Have you ever tried to fix Petsc-Fortran problem by yourself before? I believe Petsc needs to build an interface for Fortran from the C source code. But, I don't know where Petsc does that. I am just trying to see if I can fix it by myself. Thank you.<br>
<br>
Jiaoyan<br>
<br>
<br>
On 11/27/18, 00:44, "petsc-users on behalf of Klaij, Christiaan via petsc-users" <<a href="mailto:petsc-users-bounces@mcs.anl.gov" target="_blank">petsc-users-bounces@mcs.anl.gov</a> on behalf of <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br>
<br>
Hi Jiaoyan,<br>
<br>
I've been using the fortran interface since 2004. During these<br>
years I only found a handful of things missing. After an email to<br>
this list the developers are usually quite fast in fixing the<br>
problem.<br>
<br>
Chris<br>
<br>
<br>
Date: Mon, 26 Nov 2018 16:41:29 +0000<br>
From: Jiaoyan Li <<a href="mailto:Jiaoyan.Li@inl.gov" target="_blank">Jiaoyan.Li@inl.gov</a>><br>
To: "<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>" <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>><br>
Subject: [petsc-users] PetscPartitioner is missing for fortran<br>
Message-ID: <<a href="mailto:CA349658-2D98-4BA4-9773-C3685A0CC8AC@inl.gov" target="_blank">CA349658-2D98-4BA4-9773-C3685A0CC8AC@inl.gov</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear Petsc Users:<br>
<br>
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.<br>
<br>
Have a nice day,<br>
<br>
Jiaoyan<br>
<br>
<br>
------------------------------------------------<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><mailto:<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><mailto:<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>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.mcs.anl.gov_pipermail_petsc-2Dusers_attachments_20181126_0b196ca9_attachment.html&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=uadiAPfKAyRcJODTiOtF9X7aTXnk7oBkmdranjsZy8o&s=Q_uM9F9ZoKMnIbdEj6lTkgBeXBhS0xUTDZZ1wMCbLds&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.mcs.anl.gov_pipermail_petsc-2Dusers_attachments_20181126_0b196ca9_attachment.html&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=uadiAPfKAyRcJODTiOtF9X7aTXnk7oBkmdranjsZy8o&s=Q_uM9F9ZoKMnIbdEj6lTkgBeXBhS0xUTDZZ1wMCbLds&e=</a>><br>
<br>
<br>
dr. ir. Christiaan Klaij | Senior Researcher | Research & Development<br>
MARIN | T +31 317 49 33 44 | mailto:<a href="mailto:C.Klaij@marin.nl" target="_blank">C.Klaij@marin.nl</a> | <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marin.nl&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=uadiAPfKAyRcJODTiOtF9X7aTXnk7oBkmdranjsZy8o&s=X4nF6ffp6hFk5qLA9Q_KN8PjMOU5-rQMhKxQ4j5gIVo&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marin.nl&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=uadiAPfKAyRcJODTiOtF9X7aTXnk7oBkmdranjsZy8o&s=X4nF6ffp6hFk5qLA9Q_KN8PjMOU5-rQMhKxQ4j5gIVo&e=</a><br>
<br>
MARIN news: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marin.nl_web_News_News-2Ditems_Maritime-2Dwith-2Da-2DMission-2DTKI-2DEvent-2Dop-2Dhet-2DSS-2DRotterdam-2D30-2Dnovember.htm&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=uadiAPfKAyRcJODTiOtF9X7aTXnk7oBkmdranjsZy8o&s=2K4w9VlCutEzg1zz_NVlsKwk8ECfHknpdmXzF4hyBfo&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marin.nl_web_News_News-2Ditems_Maritime-2Dwith-2Da-2DMission-2DTKI-2DEvent-2Dop-2Dhet-2DSS-2DRotterdam-2D30-2Dnovember.htm&d=DwIGaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=uadiAPfKAyRcJODTiOtF9X7aTXnk7oBkmdranjsZy8o&s=2K4w9VlCutEzg1zz_NVlsKwk8ECfHknpdmXzF4hyBfo&e=</a><br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="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></div>