← Back to team overview

dolfin team mailing list archive

Re: cmake scotch check does not pass

 

On 10/06/2011 09:22 AM, Johannes Ring wrote:
> On Thu, Oct 6, 2011 at 3:37 AM, Andre Massing <massing@xxxxxxxxx>
> wrote:
>> I just branched dolfin trunk and to my surprise I ran into a
>> problem during cmake configuration:
>> 
>> -- Checking for package 'SCOTCH-PT' -- Performing test
>> SCOTCH_TEST_RUNS -- Performing test SCOTCH_TEST_RUNS - Failed --
>> Performing test SCOTCH_ZLIB_TEST_RUNS -- Performing test
>> SCOTCH_ZLIB_TEST_RUNS - Failed -- SCOTCH could not be found. Be
>> sure to set SCOTCH_DIR. (missing: SCOTCH_TEST_RUNS)
>> 
>> Could somebody remind me on the right option or where to look in
>> order to make cmake more verbose and to get exactly the test
>> (with compile/link options etc.) which failed? That would be
>> great (and highly appreciated) Google was not really that helpful
>> ...
> 
> Try adding -DSCOTCH_DEBUG:BOOL=ON when running cmake. Also look in 
> CMakeFiles/CMakeError.log in the build directory.

Thanks! So useful to have a bit more output :) It turned out that I
picked up an openmpi version which was not compiled with
mpi-threads-enable :(

But in my case no CMakeFiles/CMakeError.log was generated... It is
because SCOTCH is not strictly required in DOLFIN?

Andre

> 
> Johannes



Follow ups

References