<div>i was mistaken about the error, it's exactly just </div>
<div>Fatal error; unknown error handler<br>May be MPI call before MPI_INIT.&nbsp; Error message is MPI_COMM_SIZE and code is 197</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>aslo vtkoutputwindow is displayed with &quot;null communicator&quot; written inside it..</div>
<div>&nbsp;</div>
<div>thanks</div>
<div>Hanan<br>&nbsp;</div>
<div><span class="gmail_quote">On 7/27/06, <b class="gmail_sendername">Hanan Hassanein</b> &lt;<a href="mailto:hanan.hassanein@gmail.com">hanan.hassanein@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div>Dear sir, </div>
<div>&nbsp;</div>
<div>Among the examples in the path u specified, when i try to run (from the command line)&nbsp;example like parallelIso.cxx, i got the following error:</div>
<div>&nbsp;</div>
<div>MPIRun.exe -np 2 -localonly VTK_MPI.exe</div>
<div><br>Fatal error; unknown error handler<br>May be MPI call before MPI_INIT.&nbsp; Error message is MPI_COMM_SIZE and code is 197</div>
<div>Wait for process 0 to write port to temporary file timed out</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>any help plz, thanks a lot for the hello world code..</div>
<div>by the way, i am new to vtk..</div>
<div>&nbsp;</div>
<div>thanks a lot for your fast response &amp; guiding me..</div>
<div>Hanan</div>
<div>&nbsp;</div>
<div></div>
<div><span class="q"><span class="gmail_quote">On 7/27/06, <b class="gmail_sendername">Kevin H. Hobbs</b> &lt;<a title="mailto:hobbsk@ohiou.edu" onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:hobbsk@ohiou.edu" target="_blank">
hobbsk@ohiou.edu</a>&gt; wrote:</span> </span></div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"></blockquote></div>
<div><span class="e" id="q_10cb05825d326eae_3">On Thu, 2006-07-27 at 14:37 +0300, Hanan Hassanein wrote:<br>&gt; Dear all,<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I tried first using VTKMPI functions, but i couldn't find good <br>&gt; online support like functions or so, i just found 1 example on the vtk
<br>&gt; site named MPIgroups.cxx ( i am using c++ by the way), it wasn't<br>&gt; helpful at all, not commented or so..<br>&gt;<br><br>Well there are other examples in <br>VTK/Examples/ParallelProcessing/Generic/Cxx . You can browse to them on
<br>the web from the Doxygen documentation by seraching for MPI in the page<br><a title="http://www.vtk.org/doc/nightly/html/annotated.html" onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/doc/nightly/html/annotated.html" target="_blank">
http://www.vtk.org/doc/nightly/html/annotated.html </a>and following the<br>&quot;Tests&quot; and &quot;Examples&quot; sections.<br><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; so, i started to try another way, although i know i am trying to<br>&gt; reinvent the wheel, coz i am trying to use both vtk &amp; MPI separately, 
<br>&gt; but i got stuck now in sending vtk objects between processors like<br>&gt; vtkactors, coz as u know MPI communication function send/receive<br>&gt; objects of type MPI_datatype, eith it's primitive like MPI_Double, or 
<br>&gt; user defined datatype which must be also some combination of MPI<br>&gt; primitive datatypes.<br>&gt;<br>&gt;<br><br>I think this is a very wrong path. VTK objects contain pointers to other<br>objects, which would not make sense when sent to another machine. 
<br><br>Here is a VTK MPI hello world.<br><br>#include &quot;vtkMPIController.h&quot;<br><br>void process(vtkMultiProcessController* controller, void*<br>vtkNotUsed(arg))<br>{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int myId = controller-&gt;GetLocalProcessId(); 
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; std::cout &lt;&lt; &quot;My process id is &quot;;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; std::cout &lt;&lt; myId &lt;&lt; &quot;.&quot; &lt;&lt; std::endl;<br>}<br><br>int main( int argc, char* argv[] )<br>{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtkMPIController* controller = vtkMPIController::New(); 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; controller-&gt;Initialize(&amp;argc, &amp;argv);<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; controller-&gt;SetSingleMethod(process, 0);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; controller-&gt;SingleMethodExecute();<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; controller-&gt;Finalize();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; controller-&gt;Delete(); 
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 0;<br>}<br><br><br><br></span></div>
<div><span class="q">-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.4 (GNU/Linux)<br><br></span></div>
<div>iD8DBQBEyKqgqBtEuW+gRPERAow7AJ90xucUn9M0AsgPhnFwC768mcMWowCeM9/B<br>Ecb9yA7hlPtOoZvbbfnda0c=<br>=aDwN<br>-----END PGP SIGNATURE-----<br><br><br>
<blockquote></blockquote></div></div></blockquote></div>