← Back to team overview

dolfin team mailing list archive

Re: SCOTCH broken?

 

On Tue, Mar 11, 2008 at 05:00:22PM +0000, Garth N. Wells wrote:
 
> johannr@xxxxxxxxx wrote:
> > On Tue, Mar 11, 2008 Anders Logg wrote:
> >> It looks like the SCOTCH test was modified to not include common.h
> >> (as I suggested). But as pointed out by Johannes, common.h is needed
> >> to compile the test program.
> >>
> >> Could we add common.h back?
> > 
> > Sorry about that. Should be fixed now!
> > 
> 
> I'm having trouble with SCOTCH. I get
> 
> Checking for scotch... no (pkg-config file not found)
>   Trying to generate pkg-config file for scotch... failed
>   *** Unable to generate a suitable pkg-config file for scotch.
>   *** If scotch is present on your system, try setting the SCOTCH_DIR
>   *** environment variable to the directory where scotch is installed.
>   *** SCOTCH_DIR is currently set to /usr/local
> 
> both before and after setting SCOCTH_DIR.

I guess you did it without the typo?

Anyway, it works for me now.

Another suggestion for the build system is to collect things that work
and things that didn't work so instead of

  Found optional package: petsc
  Unable to find optional package: slepc
  Found optional package: scotch
  Found optional package: umfpack
  Found optional package: gts

one gets

  Found optional package: petsc
  Found optional package: scotch
  Found optional package: umfpack
  Found optional package: gts
  Unable to find optional package: slepc

Don't know how hard this is to fix. It's not very important but pretty
printing is worth quite a bit.

-- 
Anders


Follow ups

References