← Back to team overview

dolfin team mailing list archive

dolfin/viper plotting

 

hi all

i updated to dolfin0.9 today on my amd64-debian-linux4.0. most seems to work fine but i get the following error when i call viper with an xml file, such as

priesen@vierzack01:/<7>cpp>viper data.xml
Traceback (most recent call last):
  File "/home/priesen/dolfin0.9/bin/viper", line 123, in <module>
    _main(args[-1], None)
  File "/home/priesen/dolfin0.9/bin/viper", line 77, in _main
return _dolfin_mesh_plotter(infile, outfile, data=data, lutfile=lutfile, datatype=datatype) File "/home/priesen/dolfin0.9/bin/viper", line 27, in _dolfin_mesh_plotter
    from dolfin import Mesh, UnitSquare, File, plot
File "/home/priesen/dolfin0.9/lib/python2.5/site-packages/dolfin/__init__.py", line 11, in <module>
    import cpp
File "/home/priesen/dolfin0.9/lib/python2.5/site-packages/dolfin/cpp.py", line 6, in <module>
    import _cpp
ImportError: /home/priesen/dolfin0.9/lib/python2.5/site-packages/dolfin/_cpp.so: undefined symbol: Py_InitModule4

does someone have a clue on what went wrong ?

thanks for your help,
patrick





Follow ups