----- Original Message -----
> From: "Johannes Ring" <[email protected]>
> To: "Charles Henry" <[email protected]>
> Cc: [email protected]
> Sent: Tuesday, November 5, 2013 9:36:38 AM
> Subject: Re: [FEniCS-support] Ho do I add python modules "parameters, 
> Parameters, and MPI" from dolfin.cpp?
> 
> On Tue, Nov 5, 2013 at 4:17 PM, Charles Henry <[email protected]> wrote:
> > There's nothing in the site-packages directory of my installation that
> > creates classes parameters or MPI.  Does your installation have files
> > parameters.py, MPI.py, or does your dolfin/cpp module have classes defined
> > "parameters" and "MPI"?
> 
> These should be defined in site-packages/dolfin/cpp. What do you have
> in this directory?

__init__.py and __init__.pyc

> > I think I'm missing something in my installation, but I don't know how to
> > get it.
> 
> Yes, it looks like the Python extension module wasn't built correctly.
> Can you run cmake again in the build directory and look for any error
> message and if Python is enabled or not?
> 
> Johannes

Thanks Johannes,
It is enabled.  I wonder if there's a swig step that got missed.  I've pasted 
the output from the cmake step below, but there's nothing there about python:

-----
-- Boost version: 1.51.0
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   system
--   thread
--   iostreams
--   mpi
--   serialization
--   timer
--   chrono
-- UFC version: 2.2.0
-- Checking for package 'Armadillo'
-- A library with BLAS API found.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Checking for package 'PETSc'
-- PETSC_DIR is /tools/cluster/6.2/fenics/1.2.0
-- PETSC_ARCH is linux-gnu-cxx-opt
-- Found petscconf.h
-- Performing test PETSC_TEST_RUNS - Success
-- PETSc configured without Cusp support
-- Checking for package 'SLEPc'
-- SLEPC_DIR is /tools/cluster/6.2/fenics/1.2.0
-- Performing test SLEPC_TEST_RUNS - Success
-- ParMETIS could not be found/configured. (missing:  PARMETIS_TEST_RUNS) 
(Required is at least version "4.0.2")
-- Checking for package 'SCOTCH-PT'
-- Found SCOTCH (version 6.0.0)
-- Performing test SCOTCH_TEST_RUNS
-- Performing test SCOTCH_TEST_RUNS - Success
-- Checking for package 'AMD'
-- Checking for package 'UMFPACK'
-- Checking for package 'AMD'
-- Checking for package 'CHOLMOD'
-- Checking for package 'AMD'
-- A library with BLAS API found.
-- UMFPACK could not be found. Be sure to set UMFPACK_DIR. (missing:  
UMFPACK_TEST_RUNS) 
-- Checking for package 'CHOLMOD'
-- Checking for package 'AMD'
-- A library with BLAS API found.
-- CHOLMOD could not be found. Be sure to set CHOLMOD_DIR. (missing:  
CHOLMOD_TEST_RUNS) 
-- HDF5 has been found, but is missing parallel support. It will not be enabled.
-- PASTIX_LIBRARIES 
/tools/cluster/6.2/fenics/1.2.0/lib64/libpastix_64bit_mpi_smp_int32_double_real_scotch_i686_pc_linux.so;/usr/lib64/librt.so;/usr/lib64/libm.so
-- A library with BLAS API found.
-- PaStiX could not be found. Be sure to set PASTIX_DIR. (missing:  
PASTIX_TEST_RUNS) 
-- Checking for package 'CGAL'
-- CGAL could not be found. Be sure to set CGAL_DIR (missing:  CGAL_TEST_RUNS) 
(Required is at least version "4.1")
-- Checking for package 'Sphinx'
-- Could NOT find Sphinx (missing:  SPHINX_EXECUTABLE SPHINX_VERSION_OK) 
(Required is at least version "1.0.7")
-- Found VTK: /tools/cluster/6.2/fenics/1.2.0/lib/vtk-5.8 (found version "5.8")
-- 
-- The following optional packages were found:
-- -------------------------------------------
-- (OK) MPI
-- (OK) PETSC
-- (OK) SLEPC
-- (OK) UMFPACK
-- (OK) CHOLMOD
-- (OK) PASTIX
-- (OK) SCOTCH
-- (OK) PARMETIS
-- (OK) CGAL
-- (OK) ZLIB
-- (OK) PYTHON
-- (OK) VTK
-- (OK) QT
-- 
-- The following optional packages were not enabled:
-- -------------------------------------------------
-- (--) OPENMP
-- (--) TRILINOS
-- 
-- The following optional packages were not be found:
-- --------------------------------------------------
-- (**) SPHINX
-- (**) HDF5
-- 
-- Disabling generation of documentation because Sphinx is missing.
-- Configuring done

 
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to