<p>hi, I have some problem running DistributedData.cxx ( in the parallel/testing folder )</p>
<p>I have compiled the compiled the DistributedData using this Cmakelists.txt</p>
<p>PROJECT (DistributedData.cxx)</p>
<p>FIND_PACKAGE(VTK REQUIRED)<br>IF(NOT VTK_USE_RENDERING)<br>&nbsp; MESSAGE(FATAL_ERROR &quot;Example ${PROJECT_NAME} requires VTK_USE_RENDERING.&quot;)<br>ENDIF(NOT VTK_USE_RENDERING)<br>INCLUDE(${VTK_USE_FILE})</p>
<p>ADD_EXECUTABLE(DistributedData DistributedData.cxx)<br>TARGET_LINK_LIBRARIES(DistributedData vtkCommon vtkDICOMParser vtkexpat vtkfreetype vtkftgl vtkGenericFiltering vtkHybrid vtkImaging vtkNetCDF vtkIO.a vtkGraphics vtkRendering vtkFiltering vtkWidgets vtkParallel)</p>

<p>&nbsp;</p>
<p>I, however have problem running the executable, I loaded both the executabe into 2 machines</p>
<p>Machine A ( <a href="http://192.168.10.20">192.168.10.20</a> )<br>Machine B ( <a href="http://192.168.10.21">192.168.10.21</a>)</p>
<p>and I am accesing it from my computer( DHCP enabled )</p>
<p>after running the following command - I use OpenMPI</p>
<p>mpirun -hostfile myhostfile -np 2 -bynode ./DistributedData</p>
<p>and I keep getting these errors</p>
<p>ERROR: In /home/kalpanak/Installation_Files/VTKProject/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 326<br>vtkXOpenGLRenderWindow (0x8664438): bad X server connection.</p>
<p><br>ERROR: In /home/kalpanak/Installation_Files/VTKProject/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 169<br>vtkXOpenGLRenderWindow (0x8664438): bad X server connection.</p>
<p><br>[vrc1:27394] *** Process received signal ***<br>[vrc1:27394] Signal: Segmentation fault (11)<br>[vrc1:27394] Signal code: Address not mapped (1)<br>[vrc1:27394] Failing at address: 0x84<br>[vrc1:27394] [ 0] [0xffffe440]<br>
[vrc1:27394] [ 1] ./DistributedData(_ZN22vtkXOpenGLRenderWindow20GetDesiredVisualInfoEv+0x229) [0x8227e7d]<br>[vrc1:27394] [ 2] ./DistributedData(_ZN22vtkXOpenGLRenderWindow16WindowInitializeEv+0x340) [0x8226812]<br>[vrc1:27394] [ 3] ./DistributedData(_ZN22vtkXOpenGLRenderWindow10InitializeEv+0x29) [0x82234f9]<br>
[vrc1:27394] [ 4] ./DistributedData(_ZN22vtkXOpenGLRenderWindow5StartEv+0x29) [0x82235eb]<br>[vrc1:27394] [ 5] ./DistributedData(_ZN15vtkRenderWindow14DoStereoRenderEv+0x1a) [0x82342ac]<br>[vrc1:27394] [ 6] ./DistributedData(_ZN15vtkRenderWindow10DoFDRenderEv+0x427) [0x8234757]<br>
[vrc1:27394] [ 7] ./DistributedData(_ZN15vtkRenderWindow10DoAARenderEv+0x5b7) [0x8234d19]<br>[vrc1:27394] [ 8] ./DistributedData(_ZN15vtkRenderWindow6RenderEv+0x690) [0x82353b4]<br>[vrc1:27394] [ 9] ./DistributedData(_ZN22vtkXOpenGLRenderWindow6RenderEv+0x52) [0x82245e2]<br>
[vrc1:27394] [10] ./DistributedData [0x819e355]<br>[vrc1:27394] [11] ./DistributedData(_ZN16vtkMPIController19SingleMethodExecuteEv+0x1ab) [0x837a447]<br>[vrc1:27394] [12] ./DistributedData(main+0x180) [0x819de78]<br>[vrc1:27394] [13] /lib/libc.so.6(__libc_start_main+0xe0) [0xb79c0fe0]<br>
[vrc1:27394] [14] ./DistributedData [0x819dc21]<br>[vrc1:27394] *** End of error message ***<br>mpirun noticed that job rank 0 with PID 27394 on node <a href="http://202.185.77.86">202.185.77.86</a> exited on signal 11 (Segmentation fault).</p>

<p>&nbsp;</p>
<p>I am not really sure if it is a VTK error or an openmpi error, maybe I am not doing the xforwading properly, I am posting this to the openmpi group also, but has anyone ever encountered the same problem, it works fine on one pc, and I read the mailing list but I just don&#39;t know if my prob is similiar to their, I even tried changing the DISPLAY env</p>

<p><br>This is what I want to do</p>
<p>my mpirun should run on 2 machines ( A and B ) and I should be able to view the output ( on my PC ),<br>are there any specfic commands to use.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>