Maybe Python extension has not been built. Can you post the output of

 $ cmake <build_dir> [...]

and check if the problem persists

 $ make
 $ make install
 $ source <install_dir>/share/dolfin.conf
 $ python -c"import dolfin"

?

Jan


On Fri, 28 Aug 2015 14:01:03 -0400
Gideon Simpson <[email protected]> wrote:

> In: /Users/gideonsimpson/software/dolfin/lib
> 
> -rwxr-xr-x  1 gideonsimpson  staff  5698232 Aug 28 13:25
> libdolfin.1.5.0.dylib lrwxr-xr-x  1 gideonsimpson  staff       21 Aug
> 28 13:25 libdolfin.1.5.dylib -> libdolfin.1.5.0.dylib lrwxr-xr-x  1
> gideonsimpson  staff       19 Aug 28 13:25 libdolfin.dylib ->
> libdolfin.1.5.dylib drwxr-xr-x  3 gideonsimpson  staff      102 Aug
> 28 13:25 pkgconfig drwxr-xr-x  3 gideonsimpson  staff      102 Aug 28
> 13:25 python2.7
> 
> But
> in  
> /Users/gideonsimpson/software/dolfin/lib/python2.7/site-packages/dolfin/cpp,
> 
> the only thing I have is 
> 
> -rw-r--r--  1 gideonsimpson  staff  2740 Jan 12  2015 __init__.py
> -rw-r--r--  1 gideonsimpson  staff  1263 Aug 28 13:26 __init__.pyc
> 
> this ~/software/dolfin directory was created using a make install
> with that directory set by -DCMAKE_INSTALL_PREFIX
> 
> -gideon
> 
> > On Aug 28, 2015, at 1:55 PM, Jan Blechta
> > <[email protected]> wrote:
> > 
> > On Fri, 28 Aug 2015 13:42:27 -0400
> > Gideon Simpson <[email protected]> wrote:
> > 
> >> gideonsimpson@titan:~$ ls
> >> -lA 
> >> /Users/gideonsimpson/software/dolfin/lib/python2.7/site-packages/dolfin/cpp/
> >> total 16 -rw-r--r--  1 gideonsimpson  staff  2740 Jan 12  2015
> >> __init__.py -rw-r--r--  1 gideonsimpson  staff  1263 Aug 28 13:26
> >> __init__.pyc
> > 
> > This looks like src dir. On linux install dir looks like
> > 
> > ls -lA
> > ~/opt/fenics-dev/r0d0_fenics-dep/master/lib/python2.7/site-packages/dolfin/cpp/
> > total 39992 -rw-r--r-- 1 blechta cluster    81161 Aug  9 22:54
> > common.py -rw-r--r-- 1 blechta cluster   123155 Aug  9 22:57
> > common.pyc -rw-r--r-- 1 blechta cluster  2482887 Aug  9 22:54
> > _common.so -rw-r--r-- 1 blechta cluster   153238 Aug  9 22:54 fem.py
> > -rw-r--r-- 1 blechta cluster   193601 Aug  9 22:57 fem.pyc
> > -rw-r--r-- 1 blechta cluster  8169979 Aug  9 22:54 _fem.so
> > -rw-r--r-- 1 blechta cluster    75804 Aug  9 22:54 function.py
> > -rw-r--r-- 1 blechta cluster   102242 Aug  9 22:57 function.pyc
> > -rw-r--r-- 1 blechta cluster  4243070 Aug  9 22:54 _function.so
> > -rw-r--r-- 1 blechta cluster     2740 Feb 27 16:18 __init__.py
> > -rw-r--r-- 1 blechta cluster     1283 Jul 17 12:07 __init__.pyc
> > -rw-r--r-- 1 blechta cluster    39882 Aug  9 22:54 io.py
> > -rw-r--r-- 1 blechta cluster    52290 Aug  9 22:57 io.pyc
> > -rw-r--r-- 1 blechta cluster  4434811 Aug  9 22:54 _io.so
> > -rw-r--r-- 1 blechta cluster   170751 Aug  9 22:54 la.py
> > -rw-r--r-- 1 blechta cluster   239029 Aug  9 22:57 la.pyc
> > -rw-r--r-- 1 blechta cluster  7690013 Aug  9 22:54 _la.so
> > -rw-r--r-- 1 blechta cluster   330695 Aug  9 22:54 mesh.py
> > -rw-r--r-- 1 blechta cluster   430648 Aug  9 22:57 mesh.pyc
> > -rw-r--r-- 1 blechta cluster 11791638 Aug  9 22:54 _mesh.so
> > 
> > Can you can locate those files somewhere, maybe with
> > extension .dylib instead of .so.
> > 
> > Jan
> 
> _______________________________________________
> fenics-support mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics-support

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

Reply via email to