[petsc-dev] Add dependency to configure

Matthew Knepley knepley at gmail.com
Wed Sep 19 05:36:26 CDT 2018

On Wed, Sep 19, 2018 at 6:22 AM Marek Pecha <marek.pecha at vsb.cz> wrote:

> Hello,
> I work on clustering framework uses PETSc. Basically, I would like to use
> this framework for segmentation images. So, I had idea - implement viewer
> for loading images (JPEG,TIFF, etc) into PETSc. For this purpose, I would
> like to add OpenCV dependency to PETSc configure. But I have no idea, how
> can I do it. Can you help me?

Yes. I recommend the following:

  1) Determine how OpenCV builds, namely GNU or CMake. There is a lot of
documentation of these classes, for example


  2) Find a package with similar checks in


  3) Copy that module to opencv.py, make your changes, and leave it in the

  4) Configure should automatically pick it up

  5) Once everything works, make a PR for that and we will incorporate it



> Thank you
> Marek

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/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180919/3d5d31cf/attachment.html>

More information about the petsc-dev mailing list