[petsc-dev] backport setup.py to release-3.1

Lisandro Dalcin dalcinl at gmail.com
Fri Sep 17 13:49:56 CDT 2010


On 17 September 2010 14:54, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>  Sorry, didn't work. Please find attached the .pip/pip.log file
>

My fault, I gave you wrong flags. Let's try something more robust (as
you have Python 2.6, it should work:)

pip install --install-option=--user petsc slepc


Then the stuff whould be installed in
~/.local/lib/python2.6/site-packages, you should have 'petsc' and
'slepc' subdirectories, plus some *egg-info subdirectories.

Next, go to a petsc4py-dev clone, hg pull -u, and :

unset PETSC_DIR PETSC_ARCH
python setup.py build
python setup.py install --user # install to to ~/.local/...
make test


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169



More information about the petsc-dev mailing list