On Thu, 29 Jan 2015 17:59:31 +0100
Claire Lestringant <[email protected]> wrote:

> Hello,
> 
> I installed FEniCS from source on my computer (mac OS Yosemite), and
> I wish to work with slepc4py. What is the best way to install it ?

If you did a manual build from source then you should not have a
problem doing this also for slepc4py. Once you have SLEPc 3.5.x, 
Cython, compiler wrapper mpicc in your paths

 $ git pull https://bitbucket.org/slepc/slepc4py.git
 $ git checkout maint
 $ python setup.py install --prefix=/path/to/your/FEniCS/

Or there is an interesting alternative by handling whole PETSc, SLEPc,
mpi4py, petsc4py, slepc4py stack by pip, see 
https://bitbucket.org/slepc/slepc4py/src/ed59a95494a88c32a97c974d90eca6aeb2458501/DESCRIPTION.rst?at=master
but I haven't tried it yet.

CMake should find SLEPc during DOLFIN configuration once it is in
your PYTHONPATH. Note that version >= 3.5.1 is needed.

Jan

> 
> Thanks in advance,
> 
> C. Lestringant
> _______________________________________________
> fenics-support mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics-support

_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to