Matt,

Thanks a lot for your reply, and I look forward to your further info.

Best,

Jiaoyan

From: Matthew Knepley <[email protected]>
Date: Tuesday, November 27, 2018 at 09:06
To: Jiaoyan Li <[email protected]>
Cc: "Klaij, Christiaan" <[email protected]>, PETSc <[email protected]>
Subject: Re: [petsc-users] PetscPartitioner is missing for fortran

On Tue, Nov 27, 2018 at 10:51 AM Jiaoyan Li via petsc-users 
<[email protected]<mailto:[email protected]>> wrote:
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.

Hi Jiaoyan,

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.

  Thanks,

    Matt

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.

Jiaoyan


On 11/27/18, 00:44, "petsc-users on behalf of Klaij, Christiaan via 
petsc-users" 
<[email protected]<mailto:[email protected]> on 
behalf of [email protected]<mailto:[email protected]>> wrote:

    Hi Jiaoyan,

    I've been using the fortran interface since 2004. During these
    years I only found a handful of things missing. After an email to
    this list the developers are usually quite fast in fixing the
    problem.

    Chris


    Date: Mon, 26 Nov 2018 16:41:29 +0000
    From: Jiaoyan Li <[email protected]<mailto:[email protected]>>
    To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
    Subject: [petsc-users] PetscPartitioner is missing for fortran
    Message-ID: 
<[email protected]<mailto:[email protected]>>
    Content-Type: text/plain; charset="utf-8"

    Dear Petsc Users:

    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.

    Have a nice day,

    Jiaoyan


    ------------------------------------------------

    On 11/21/18, 19:25, "Smith, Barry F." 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
 wrote:


           Matt,

             PetscPartitioner is missing from lib/petsc/conf/bfort-petsc.txt

           Barry



        > On Nov 21, 2018, at 3:33 PM, Jiaoyan Li via petsc-users 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
 wrote:
        >
        > Dear Petsc users:
        >
        > I am trying to use Petsc APIs for Fortran. One problem that I am 
facing right now is about the PetscPartitioner, i.e.,
        >
        > #include ?petsc/finclude/petsc.h?
        >   use petscdmplex
        >
        >   PetscPartitioner :: part
        >   PetscErrorCode :: ierr
        >
        >   Call PetscPartitionerCreate(PETSC_COMM_WORLD, part, ierr)
        >
        > But, I got the error message as follows:
        >
        > [0]PETSC ERROR: --------------------- Error Message 
--------------------------------------------------------------
        > [0]PETSC ERROR: Null argument, when expecting valid pointer
        > [0]PETSC ERROR: Null Pointer: Parameter # 2
        > [0]PETSC ERROR: See 
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=
 for trouble shooting.
        > [0]PETSC ERROR: Petsc Release Version 3.10.2, unknown
        > [0]PETSC ERROR: ./htm3d on a arch-linux2-c-opt named fn607018 by LIJ 
Wed Nov 21 16:30:35 2018
        > [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
        > [0]PETSC ERROR: #1 PetscPartitionerCreate() line 601 in 
/home/lij/packages/petsc/src/dm/impls/plex/plexpartition.c
        > [1]PETSC ERROR: --------------------- Error Message 
--------------------------------------------------------------
        > [1]PETSC ERROR: Null argument, when expecting valid pointer
        > [1]PETSC ERROR: Null Pointer: Parameter # 2
        > [1]PETSC ERROR: See 
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=
 for trouble shooting.
        > [1]PETSC ERROR: Petsc Release Version 3.10.2, unknown
        > [1]PETSC ERROR: ./htm3d on a arch-linux2-c-opt named fn607018 by LIJ 
Wed Nov 21 16:30:35 2018
        > [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
        > [1]PETSC ERROR: #1 PetscPartitionerCreate() line 601 in 
/home/lij/packages/petsc/src/dm/impls/plex/plexpartition.c
        > [2]PETSC ERROR: --------------------- Error Message 
--------------------------------------------------------------
        > [2]PETSC ERROR: Null argument, when expecting valid pointer
        > [2]PETSC ERROR: Null Pointer: Parameter # 2
        > [2]PETSC ERROR: See 
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=
 for trouble shooting.
        > [2]PETSC ERROR: Petsc Release Version 3.10.2, unknown
        > [2]PETSC ERROR: ./htm3d on a arch-linux2-c-opt named fn607018 by LIJ 
Wed Nov 21 16:30:35 2018
        > [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
        > [2]PETSC ERROR: #1 PetscPartitionerCreate() line 601 in 
/home/lij/packages/petsc/src/dm/impls/plex/plexpartition.c
        > [3]PETSC ERROR: --------------------- Error Message 
--------------------------------------------------------------
        > [3]PETSC ERROR: Null argument, when expecting valid pointer
        > [3]PETSC ERROR: Null Pointer: Parameter # 2
        > [3]PETSC ERROR: See 
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=
 for trouble shooting.
        > [3]PETSC ERROR: Petsc Release Version 3.10.2, unknown
        > [3]PETSC ERROR: ./htm3d on a arch-linux2-c-opt named fn607018 by LIJ 
Wed Nov 21 16:30:35 2018
        > [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
        > [3]PETSC ERROR: #1 PetscPartitionerCreate() line 601 in 
/home/lij/packages/petsc/src/dm/impls/plex/plexpartition.c
        >
        > Is there anyone who may encounter similar problem before? Any 
suggestions or commends are highly appreciated. Thank you very much.
        >
        > Best,
        >
        > Jiaoyan

    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: 
<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=>


    dr. ir. Christiaan Klaij  | Senior Researcher | Research & Development
    MARIN | T +31 317 49 33 44 | 
mailto:[email protected]<mailto:[email protected]> | 
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=

    MARIN news: 
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=




--
What most experimenters take for granted before they begin their experiments is 
infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cse.buffalo.edu_-7Eknepley_&d=DwMFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=5MMpjBrVOPpVGfIH9op1r4nz1k4YC8LDRnpo_HwMgZU&m=2VnuwcivctQ0vV_wpG-Jj5wCy0CPG-RDAmXYxKRKZDI&s=n55JghEoi85h8YxKjfVsRiD4Co0E6l7tUwByLUH0IuQ&e=>

Reply via email to