[petsc-dev] prefix install and module file

Aron Ahmadia aron at ahmadia.net
Wed Jan 14 12:03:13 CST 2015


Ah, I understand what you're doing now.  You're trying to have `pip`
install the modules file to the correct location.

At your top-level setup.py file you're overriding install():

https://bitbucket.org/petsc/petsc/src/8f5bdbf243df394d73fcb8729f6a9331011281dc/setup.py?at=next#cl-157

The setup.py build command doesn't take a prefix argument, so you shouldn't
build/dump anything that is hardcoded to the prefix there (since as you
say, you don't have it).

You must defer that module dump command until you're installing (it doesn't
actually make much sense for an in-place/development build anyway).  Is
that hard to do?

A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150114/c2fe32b6/attachment.html>


More information about the petsc-dev mailing list