Subject: [Fenics-viper] viper doesn't work with RHEL6/CentOS6/SL6

From: Douglas Arnold <[email-masked]>
Date: Thu, 30 Jun 2011 18:54:45 -0500

It seems that viper does not work on
Red Hat Enterprise Linux 6/CentOS6/Scientific Linux 6.
The dorsal platform file for that distribution (rhel6.platform)
leaves viper out.  When I put it back in, dolfin builds
fine, but when run fails with a viper error
related to libvtkParallel (see below).  If I build
without viper, dolfin works fine.

Any workaround?  Is it possible to use viper on this platform?

 >>> from dolfin import *
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/home/faculty/arnold/workshop/FEniCS-sl6/lib/python2.6/site-packages/dolfin/__init__.py", 
line 28, in <module>
     from dolfin.common import *
   File 
"/home/faculty/arnold/workshop/FEniCS-sl6/lib/python2.6/site-packages/dolfin/common/__init__.py", 
line 4, in <module>
     from dolfin.common import plotting
   File 
"/home/faculty/arnold/workshop/FEniCS-sl6/lib/python2.6/site-packages/dolfin/common/plotting.py", 
line 83, in <module>
     from viper import viper_dolfin
   File "/home/faculty/arnold/workshop/FEniCS-sl6/lib/python2.6/site-packages/viper/__init__.py", 
line 36, in <module>
     from viper import *
   File "/home/faculty/arnold/workshop/FEniCS-sl6/lib/python2.6/site-packages/viper/viper.py", line 
61, in <module>
     import vtk, numpy, os, math
   File "/usr/lib/python2.6/site-packages/vtk/__init__.py", line 76, in <module>
     __helper.refine_import_err('hybrid', 'vtkHybridPython', exc)
   File "/usr/lib/python2.6/site-packages/vtk/__helper.py", line 32, in refine_import_err
     raise LinkError, str(exc)
vtk.__helper.LinkError: /usr/lib/libvtkParallel.so.5.6: undefined symbol: 
_ZN11VPICDataSet16loadVariableDataEPfiii