[petsc-users] sundials and petsc4py
Matthew Knepley
knepley at gmail.com
Sun Apr 13 12:28:12 CDT 2014
On Sun, Apr 13, 2014 at 12:01 PM, Veltz Romain <romain.veltz at inria.fr>wrote:
> Dear users of pets,
>
> I am totally new to petsc. I have been using trilinos a lot but compiling
> of C++ code sickens me. That is why I turned to petc4py.
> I would like to use the sundials time-stepper for petsc4py but I don't
> know how to install it.
>
> For now, and following https://pypi.python.org/pypi/petsc4py/3.4, I use:
>
> pip install petsc==dev petsc4py==dev
>
> When you install petsc4py it will check the env var PETSC_DIR for an
existing installation of PETSc.
This is the way you can overlay a custom installation with 3rd party
packages like sundials. You
can install your own PETSc, configuring with --download-sundials, and then
install petsc4py with
PETSC_DIR (and maybe PETSC_ARCH) pointing to this installation.
Matt
> But how can I specify to install the sundial part?
>
> Thank you in advance for your help,
>
> Best
>
>
> Veltz Romain
>
>
>
>
> *Neuromathcomp Project Team Inria Sophia Antipolis Méditerranée 2004 Route
> des Lucioles-BP 93 FR-06902 Sophia Antipolis*
> http://www-sop.inria.fr/members/Romain.Veltz/public_html/Home.html
>
>
>
>
>
>
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140413/df371aa8/attachment.html>
More information about the petsc-users
mailing list