I have long thought of creating a C++ wrapper of Viper. It should be possible, with passing just NumPy arrays of coordinates, connectivities and data, from DOLFIN to Viper. But I have never got my but around to code it up. To put it clear, it is not one of my highest priorities...
Have you tried letting Viper read parallel vtk files, or would it still be a problem to call Viper using system? Does xterm work on Mac, and Linux, but not on Windos? Maybe you can "fix" it using xterm and then dissable parallel C++ plotting on Windows? Johan On Wednesday June 1 2011 07:59:28 Anders Logg wrote: > I tried to work around this bug but without luck. For some reason, the > combination of MPI, VTK (Viper) and system() leads to errors like > > routed:binomial: Connection to lifeline [[27229,0],0] lost > > The error does not show up if the call to viper is replaced by a call to > for example xterm. > > The error does not show up if MPI::Init() is not called. > > > ** Changed in: dolfin > Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of DOLFIN Team, which is subscribed to DOLFIN. https://bugs.launchpad.net/bugs/427534 Title: Viper plotting does not work in parallel from C++ Status in DOLFIN: Won't Fix Bug description: Plotting fails in parallel. To reproduce this bug, uncomment the call to not_working_in_parallel in plot.cpp and run the Poisson demo with mpirun -n 2 ./demo Exits with a message about a lost lifeline. _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp