[petsc-dev] prefix install and module file

Aron Ahmadia aron at ahmadia.net
Wed Jan 14 11:40:56 CST 2015


On Wed, Jan 14, 2015 at 12:21 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>    PETSc is organized around the ./configure --prefix  ; make ; make
> install model we don't have true support for pass the prefix only at the
> install time. It looks like Python distutils setup.py is based on only
> knowing the --prefix info at install time?
>

Yes, setup.py only needs to know prefix at install time, because the Python
installation step is the only one that needs to know the prefix.

This is not hard to fix.  At configure time, write down into setup.cfg the
location you'd like to install to.  If no prefix command is given to setup
at install time, it can look there.  This isn't currently in petsc4py, but
it would be easy to add.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150114/bcd6971a/attachment.html>


More information about the petsc-dev mailing list