dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #00694
Re: installation of DOLFIN 0.5.7 on Debian
On Mon, Jul 04, 2005 at 02:36:19PM -0400, Faheem Mitha wrote:
> I've successfully built DOLFIN using the steps you describe above.
>
> I'm now also packaged an *extremely* primitive Debian package for PETSc
> 2.2.1. This uses the steps you describe above, with the difference that I
> use PETSc's 'make install' target.
Good to know!
I guess you have seen that we have now updated to PETSc 2.3.0...
> I've not used Powell's packaging. I tried, but had difficulty
> understanding it, so opted for a from-scratch approach.
>
> To build dolfin against this build of petsc, I ran
>
> ./configure --with-petsc-dir=/usr/lib/petsc-2.2.1
>
> I got the error messages
>
> make: *** No rule to make target `getincludedirs'. Stop.
> make: *** No rule to make target `getlinklibs'. Stop.
>
> However, the configure script does not actually stop. :-)
Can you send the output from DOLFINs configure? In particular the part
where it says "using PETSC_DIR...".
> But, later on it cannot find the include dirs etc. In successful builds
> these messages did not appear. On further investigation, I see it is
> trying to source files inside the directory 'bmake', possibly 'variable'.
>
> Please take a look and let me know what I am doing wrong. At a superfical
> comparison, the result looks similar to an in-place build like you
> suggested. I do think that DOLFIN should be able to build against the
> unmodified result of a 'make install'.
>
> You can get my version of petsc 2.2.1 from
>
> deb http://www.cbcb.duke.edu/~faheem/debian/ ./
> deb-src http://www.cbcb.duke.edu/~faheem/debian/ ./
>
> Just do
>
> apt-get source petsc
>
> or
>
> apt-get install libpetsc
>
> As I said, this is extremely primitive, so any comments for improvement
> would be appreciated.
>
> Note that one thing that should be improved, is that according to apt, the
> space used by this package is 130 Mb, while Powell's package for 2.2.0 was
> around 11 Mb. So there is room for trimming down and breaking into smaller
> packages.
Maybe this will be useful if we decide to provide precompiled packages
for DOLFIN, but the best thing would be if PETSc (and DOLFIN) was
available directly from Debian.
/Anders
Follow ups
References