← Back to team overview

dolfin team mailing list archive

Re: PyDOLFIN: [...]

 

This looks really cool, but I can't run the demo:

galerkin:> python swigtest.py 
Traceback (most recent call last):
  File "swigtest.py", line 1, in ?
    import pydolfin
  File
  "/extra/src/dolfin/dolfin/src/demo/scripting/pydolfin/pydolfin.py",
  line 5, in ?
    import _pydolfin
ImportError:
/extra/src/dolfin/dolfin/src/demo/scripting/pydolfin/_pydolfin.so:
undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE

Something you recognize?

If we get the Python interface up and running, we should consider how
to distribute it and what to name it. PyDOLFIN sounds good though.

Maybe in the context of Python, it could just be called DOLFIN:

    import dolfin

instead of pydolfin?

Just some random thoughts.

/Anders

On Thu, Sep 29, 2005 at 05:34:05PM +0200, dolfin@xxxxxxxxxx wrote:
> Commit from johanjan (2005-09-29 17:34 CEST)
> --------------------
> 
> PyDOLFIN:
> 
> Added new demo "pydolfin" which is a SWIG-generated Python module
> containing some of DOLFIN's interface (Mesh, File).
> 
>   dolfin  configure.ac                               1.94
>   dolfin  src/demo/Makefile.am                       1.19
>   dolfin  src/demo/Makefile.in                       1.116
>   dolfin  src/demo/bench/Makefile.in                 1.37
>   dolfin  src/demo/fem/Makefile.in                   1.15
> + dolfin  src/demo/scripting/Makefile.am             1.1
> + dolfin  src/demo/scripting/Makefile.in             1.1
> + dolfin  src/demo/scripting/pydolfin/Makefile       1.1
> + dolfin  src/demo/scripting/pydolfin/cow05b.xml.gz  1.1
> + dolfin  src/demo/scripting/pydolfin/cow05c.xml.gz  1.1
> + dolfin  src/demo/scripting/pydolfin/pydolfin.i     1.1
> + dolfin  src/demo/scripting/pydolfin/swigtest.py    1.1
> + dolfin  src/demo/scripting/pydolfin/test.sh        1.1
>   dolfin  src/demo/solvers/Makefile.in               1.110
>   dolfin  src/demo/solvers/navierstokes/Makefile.in  1.78
>   dolfin  src/demo/solvers/ode/Makefile.in           1.95
>   dolfin  src/demo/solvers/ode/homotopy/Makefile.in  1.40
>   dolfin  src/demo/solvers/ode/modeling/Makefile.in  1.67
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> 

-- 
Anders Logg
Research Assistant Professor
Toyota Technological Institute at Chicago
http://www.tti-c.org/logg/



Follow ups

References