← Back to team overview

dolfin team mailing list archive

Re: SCOTCH broken?

 

On Wed, Mar 12, 2008 Garth N. Wells wrote:
>
>
> Anders Logg wrote:
>> 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?
>>
>
> Yes, even without the typo it doesn't work. Where can I find a log with
> the tests that scons has performed so I can have a go at debugging this?
>
> Garth

There is a log file under the scons folder called simula_scons.log.
However, I'm not sure if this will help in this case. The best way to
debug this problem is probably to run the scotch.py pkg-config generator
script (under scons/simula-scons/simula_scons/pkgconfiggenerators) by
itself and then edit this script.

Johannes

>
>> 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.
>>
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>




Follow ups

References