<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
Howdy,<BR>
<BR>
It's been a while since I've played with the PBGL filters but it looks like it runs fine on my system (you might want to make the graph smaller, I set the lines to this to speed up rendering:<BR>
<BR>
<BLOCKQUOTE>
<TT>source->SetNumberOfVertices(100);</TT><BR>
<TT>source->SetNumberOfEdges(800);</TT><BR>
</BLOCKQUOTE>
One thing I am seeing on my system is that if I try to run it through mpirun then I get an error because I don't have things set up for x-forwarding under MPI. Probably there's a setting I need to set to allow the shells to do the right thing. <BR>
<BR>
Have you enabled testing? If you run ctest -R "PBGL" it should run all the PBGL tests if they are built. I'm seeing something like this on my system:<BR>
<BLOCKQUOTE>
<BR>
<TT><FONT COLOR="#000000">ParaView3-build] > ctest -R "PBGL"</FONT></TT><BR>
<TT><FONT COLOR="#000000">Start processing tests</FONT></TT><BR>
<TT><FONT COLOR="#000000">Test project /home/wcmclen/dev/Titan/ParaView3-build</FONT></TT><BR>
<TT><FONT COLOR="#000000">593/753 Testing PBGLRandomGraph Passed</FONT></TT><BR>
<TT><FONT COLOR="#000000">594/753 Testing PBGLNamedVertexGraph Passed</FONT></TT><BR>
<TT><FONT COLOR="#000000">595/753 Testing TestPBGLGraphSQLReader Passed</FONT></TT><BR>
<TT><FONT COLOR="#000000">596/753 Testing TestPBGLGraphSQLReaderFile Passed</FONT></TT><BR>
<TT><FONT COLOR="#000000">599/753 Testing TestPBGLCollapseGraph Passed</FONT></TT><BR>
<TT><FONT COLOR="#000000">600/753 Testing TestPBGLCollectGraph Passed</FONT></TT><BR>
<TT><FONT COLOR="#000000">601/753 Testing TestPBGLPipeline ***Failed </FONT></TT><BR>
<TT><FONT COLOR="#000000">602/753 Testing TestPBGLPedigrees ***Failed </FONT></TT><BR>
<TT><FONT COLOR="#000000">603/753 Testing TestPBGLEdgesPedigrees Passed</FONT></TT><BR>
<TT><FONT COLOR="#000000">630/753 Testing TestPBGLAlgorithms Passed</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">80% tests passed, 2 tests failed out of 10</FONT></TT><BR>
</BLOCKQUOTE>
<BR>
I don't know why the example is commented out, perhaps someone at Kitware would know?<BR>
<BR>
Just in case it's useful, I'm building on an Ubuntu system using whichever version of OpenMPI that synaptic provides and Boost 1.40.0.<BR>
<BR>
-William<BR>
<BR>
<BR>
On Thu, 2009-10-01 at 07:40 -0600, Mathieu Malaterre wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi there,
I am reading :
<A HREF="http://www.sandia.gov/Titan/media/Information_Visualization_in_VTK.pdf">http://www.sandia.gov/Titan/media/Information_Visualization_in_VTK.pdf</A>
Looking at page 57, I decided to try the example :
VTK/Examples/Infovis/Cxx/ParallelBFS.cxx
It looks like it was removed from compilation, for a reason I do not
quite understand:
<A HREF="http://public.kitware.com/cgi-bin/viewcvs.cgi/Examples/Infovis/Cxx/CMakeLists.txt?r1=1.2&r2=1.3">http://public.kitware.com/cgi-bin/viewcvs.cgi/Examples/Infovis/Cxx/CMakeLists.txt?r1=1.2&r2=1.3</A>
Why can't I just test for the value of VTK_USE_PARALLEL_BGL ?
Anyway after applying a small patch I tried it on my computer but
only got a segfault. Steps:
$ lamboot
LAM 7.1.2/MPI 2 C++/ROMIO - Indiana University
$ ./bin/ParallelBFS
MPI process rank 0 (n0, p20203) caught a SIGSEGV.
[2] 20203 segmentation fault ./bin/ParallelBFS
Do I need some special command line options ?
Thanks
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>