On Fri, 2010-08-13 at 15:19 -0700, Johan Hake wrote: > 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?
Strange - I set just $Trilinos_DIR. I observed some strange behaviour yesterday for SLEPc with the 'include'. > 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 > I just pushed a fix. The Python installation path now comes from distutils, which should be platform independent. > 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? > Just SCOTCH_DIR. Do you have PT-SCOTCH installed? It checks for that. > What does the notion of PETSc ARCH= mean? > For a while now with PETSc it's been necessary to set PETSC_ARCH (a PETSc change) unless it's installed in a default location. The SLEPc test is quick and simple use PETSC_ARCH for now. Garth > 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@lists.launchpad.net > > Unsubscribe : https://launchpad.net/~dolfin > > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp