On 2015-01-05 22:32, Garth N. Wells wrote:
I think is is great.

I haven’t tested yet, but a suggestion to make the process simpler is to let 
PETSc build suitesparse, etc. PETSc is a C library but can be installed with 
pip (it has a Python-based build system). It can take care of a number of 
dependencies (solvers, graph partitioners, etc).

Thanks for the suggestion Garth. You are right PETSc simplifies considerably the build process with the proper options. I had to add a line to FindPETSc.cmake to account for site-packages[1].

Right now my problem is that PETSc is by default configured without Cusp support and this makes the compilation halt, but I am not sure this is the desired behavior: there is a program whose exit status is 1 but just because it's checking for the PETSC_HAVE_CUSP variable. Here are the CMakeError.log and the output of the build process:

https://gist.github.com/Juanlu001/976e8dc7dd9050cf5d2c

Should I just install Cusp and let it go?

Juan Luis

[1] https://github.com/Juanlu001/conda-recipes/blob/juanlu001/fenics/dolfin/find_petsc.patch
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to