[vtkusers] I can't run ParallelIso example
Stanley Dunn
smd at occlusal.rutgers.edu
Tue Aug 8 09:37:50 EDT 2000
On Tue, 8 Aug 2000, Frederic Kleinermann wrote:
> I have tried a simple hello world mpi example without linking any VTK
> libraries and this simple example works.
>
> I have also replaced the relative paths to the VTK libraries with
> complete paths. But so far I still have the same problem.
>
Fredric, I've spent the better part of this summer and had a heck of a
time getting this example to work on our Linux cluster. I don't recall
ever getting the error messages you got, but maybe there is some
relationship.
To make a long story short, the trouble we had running vtk + MPI turned
out to be due to conflicting OpenGL libraries. Like you, we were able to
run all the mpi examples, but ParallelIso wouldn't run. I was able to
track this down to multiple different versions of libGL.so being in
/usr/X11R6/lib and /usr/lib. There was also Mesa running around that I
had to remove. Only one libGL was right for our NVidia cards -
once I removed the others I could run ParallelIso. If you do make
changes, don't forget to rebuild your ld.so cache.
One other thing I did was to change the controller in main() to be
vtkMPIController instead of the vtkMultiProcessController. With the
MultiProcessController, it would run on the network, But I'd get multiple
render windows (as I would have expected).
Good luck. I don't know if this will help or hurt.
Stan Dunn
Rutgers Univ/Princeton Plasma Physics Lab
More information about the vtkusers
mailing list