← Back to team overview

dolfin team mailing list archive

Re: dofin installing problem on SGI

 

On Tue, Mar 21, 2006 at 07:27:00PM +0100, Johan Jansson wrote:
> On Tue, Mar 21, 2006 at 12:10:31PM -0600, junwang@xxxxxxx wrote:
> > Hi,
> >    i met a problem when i installed the dofin on SGI Origin Unix System. I have
> > installed the the dolfin several times on the Redhat Linux without any
> > difficulty, just simply following the instructions. However, it is not the case
> > on  SGI. i configured it succesfully, but cannot make it. when i typed "make"
> > or "gmake" there always errors showed as following:
> > 
> 
> ...
> 
> > ../../../src/kernel/la/dolfin/Matrix.h:12:22: petscmat.h: No such file or
> 
> ...
> 
> >     Since i am not familiar with the SGI Origin Unix System, i cannot figure out
> > what's wrong with it. Could you give me any ideas what i shall do. Thank you
> > very much!
> > 
> > jun
> > 
> 
> Hi Jun,
> 
> It seems DOLFIN cannot find PETSc. The configure script checks for
> that though, so it should have complained that PETSc isn't
> there. Perhaps one option could be to install PETSc yourself in some
> other directory and reconfigure DOLFIN with:
> 
> ./configure --with-petsc-dir=<path-to-your-petsc>
> 
> then you would know that there is nothing wrong with PETSc at least.
> 
>   Johan

Another option is to check where PETSc is installed on your system and
which version you are running. Did you install PETSc yourself on the
SGI machine?

Is the variable PETSC_DIR set when you run configure? Check with

    printenv PETSC_DIR

If so, DOLFIN configure checks for the script configarch in
$PETSC_DIR/bin/

If not, DOLFIN configure checks for the script configarch in
/usr/local/lib/petsc/bin/

If configarch is found, DOLFIN configure assumes that it has found
PETSc on your system, but apparently something goes wrong since
petscmat.h is missing.

/Anders