← Back to team overview

dolfin team mailing list archive

Re: Does cmake.local not build pydolfin by default?

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That's the output of the configure step:

>>>>>>
- -- Checking for package 'Armadillo'
- -- Checking for package 'LAPACK'
- -- Checking for package 'SCOTCH-PT'
- -- Could NOT find SCOTCH  (missing:  SCOTCH_LIBRARIES SCOTCH_INCLUDE_DIRS)
- -- Checking for package 'AMD'
- -- Checking for package 'BLAS'
- -- Checking for package 'UMFPACK'
- -- Checking for package 'AMD'
- -- Checking for package 'BLAS'
- -- Checking for package 'CHOLMOD'
- -- Checking for package 'AMD'
- -- Checking for package 'BLAS'
- -- Checking for package 'LAPACK'
- -- Checking for package 'CHOLMOD'
- -- Checking for package 'AMD'
- -- Checking for package 'BLAS'
- -- Checking for package 'LAPACK'
- -- Checking for package 'Trilinos'
- -- Checking for package 'MTL4'
- -- Checking for package 'BLAS'
- -- MTL4 could not be found. Be sure to set MTL4_DIR  (missing:
MTL4_INCLUDE_DIRS MTL4_TEST_RUNS)
- -- Checking for package 'PETSc'
- -- PETSC_DIR is /usr/lib/petscdir/3.1
- -- PETSC_ARCH is linux-gnu-c-opt
- -- Found petscconf.h
- -- Unable to find library gcc_s
- -- Unable to find library gfortran
- -- Unable to find library stdc++
- -- Unable to find library stdc++
- -- Unable to find library gcc_s
- -- PETSc test runs
- -- Checking for package 'SLEPc'
- -- SLEPC_DIR is SLEPC_DIR-NOTFOUND
- -- SLEPc could not be found. Be sure to set SLEPC_DIR, PETSC_DIR, and
PETSC_ARCH.  (missing:  SLEPC_LIBRARIES SLEPC_DIR SLEPC_INCLUDE_DIRS
SLEPC_TEST_RUNS)
- -- Checking for package 'CGAL'
- -- Checking for package 'CPPUNIT'
- -- CPPUNIT could not be found. Be sure to set CPPUNIT_DIR.  (missing:
CPPUNIT_LIBRARIES CPPUNIT_INCLUDE_DIRS)
- -- 
- -- The following optional packages were found:
- -- -------------------------------------------
- -- (OK) OPENMP
- -- (OK) MPI
- -- (OK) PETSC
- -- (OK) UMFPACK
- -- (OK) CHOLMOD
- -- (OK) PARMETIS
- -- (OK) CGAL
- -- (OK) ZLIB
- -- (OK) PYTHON
- -- 
- -- The following optional packages were not enabled:
- -- -------------------------------------------------
- -- (--) GMP
- -- 
- -- The following optional packages could not be found:
- -- ---------------------------------------------------
- -- (**) SLEPC
- -- (**) TRILINOS
- -- (**) MTL4
- -- (**) SCOTCH
- -- 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named ufc
CMake Warning at dolfin/CMakeLists.txt:242 (message):
  Unable to import UFC.  Install latest UFC or check that PYTHONPATH is set
  appropriately.  Python will be disabled.


- -- Configuring done
- -- Generating done
- -- Build files have been written to:
/data/fr710/src/fenics-lp/dolfin/build
<<<<<<

Later there's definitely no trace of CMake building or installing the
Python package (only dolfin_utils).

Florian

On 01/12/10 10:44, Anders Logg wrote:
> On Wed, Dec 01, 2010 at 10:34:23AM +0000, Florian Rathgeber wrote:
> Hi!
> 
> Just branched the latest DOLFIN trunk on a clean natty installation.
> When running cmake.local (after pointing it to UFC) I can run the C++
> demos just fine, but not the Python demos, since the dolfin Python
> package apparently isn't being installed.
> 
> local/lib/python2.6/site-packages only contains dolfin_utils
> 
> Checking the CMake cache, DOLFIN_ENABLE_PYTHON is ON
> 
> What am I doing wromg here?
> 
> Florian

> What does CMake tell you when you run cmake.local? It should print
> whether or not Python is enabled.

> --
> Anders
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkz2KHcACgkQ8Z6llsctAxaZRACfSomxJujG2/2Ibg3Fyh3LEm5M
GkIAn1bSPyNkXU3TDvFrMd5pIpJvzcp7
=EQua
-----END PGP SIGNATURE-----

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Follow ups

References