← Back to team overview

dolfin team mailing list archive

Re: cmake.local - try it

 

Works fine here!

Both cpp and python demos runs!

After I set the Trilinos_DIR it finds that too. However, it would be nice to 
be able to set Trilinos_DIR to the directory where trilinos is installed 
instead of to where it is installed + include. Maybe cmake can look into 
$Trilinos_DIR/include to find the TrilinosConfig.cmake? 

Otherwise cmake finds all 4 LA backends. 

The python path in dolfin.conf file is wrong:

export 
PYTHONPATH=/home/hake/bzr/fenics/dolfin/local//home/hake/bzr/fenics/dolfin/local/lib/python2.6/site-
packages:/home/hake/bzr/fenics/dolfin/local//home/hake/bzr/fenics/dolfin/local/lib/python2.6/site-
packages:$PYTHONPATH

This is the configure ouput:
-- Checking for package 'SCOTCH-PT'
-- Could NOT find SCOTCH  (missing:  SCOTCH_INCLUDE_DIR SCOTCH_LIBRARIES)
-- Checking for package 'UMFPACK'
-- UMF  /usr/include/suitesparse
-- Checking for package 'MTL4'
-- PETSc ARCH=

Is some of the configuring cached? It doesn't tell me that Trlinos or PETSc 
were found. Scotch is not found even if I set SCOTCH_DIR. Do I have to set 
both SCOTCH_INCLUDE_DIR SCOTCH_LIBRARIES? 

What does the notion of PETSc ARCH= mean?

Johan

On Friday August 13 2010 06:23:49 Garth N. Wells wrote:
> I've added a 'cmake.local' file to DOLFIN (analogous to 'scons.local')
> to make building with CMake easy. It would be good if any who is
> interested could try it out and send feedback. My impression is that
> partial re-builds are *much* faster with CMake compared to SCons.
> 
> Garth
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp



Follow ups

References