FW: [Paraview] building paraview3 beta with openmpi?

Moreland, Kenneth kmorel at sandia.gov
Mon May 7 10:21:53 EDT 2007


I've never seen this before, so I am forwarding it on to the mailing
list.

 

-Ken

 

________________________________

From: W. Bryan Smith [mailto:wbsmith at gmail.com] 
Sent: Friday, May 04, 2007 11:33 AM
To: Moreland, Kenneth
Subject: Re: [Paraview] building paraview3 beta with openmpi?

 

so i now tried this:

python -c "import os; os.system('mpiexec -n 4 pvserver')"

and i still get the same error as shown below.  but now, it
looks like when i interact with the data, 2 of my 4 cpus are 
being used (the system is a dual opteron, so 4 cores total).
still, when actually computing the geometry, only one cpu
is being used, while in paraview2.6 i see all 4 processes as
active when the geometry is being computed.  maybe i am 
comparing apples to oranges, but it seems like something's
not quite right here.

thanks,
bryan

On 5/4/07, W. Bryan Smith < wbsmith at gmail.com <mailto:wbsmith at gmail.com>
> wrote:

i tried setting up the server cs://localhost using
mpiexec -n 4 pvserver

and now i get this error:
ERROR: In
/local2/ParaView3/ParaView3/Servers/Common/vtkProcessModuleConnectionMan
ager.cxx, line 180
vtkProcessModuleConnectionManager (0x4149d70): Failed to set up server
socket. 





On 5/4/07, W. Bryan Smith < bryan at ncmir.ucsd.edu
<mailto:bryan at ncmir.ucsd.edu> > wrote:

ok, thanks.  i will look into how to do that and post back if i have
any questions.  thanks for the quick response.

bryan

 

On 5/4/07, Moreland, Kenneth <kmorel at sandia.gov> wrote:

Unlike ParaView 2, the ParaView 3 client application cannot be run in
parallel.  Instead, you have to run pvserver in parallel and connect to
that.  In this mode, you still get all the parallel features of
ParaView.

 

-Ken

 

________________________________

From: paraview-bounces+kmorel=sandia.gov at paraview.org
[mailto:paraview-bounces+kmorel=sandia.gov at paraview.org] On Behalf Of W.
Bryan Smith
Sent: Friday, May 04, 2007 10:25 AM
To: paraview at paraview.org
Subject: [Paraview] building paraview3 beta with openmpi?

 

hi,

i successfully compiled paraview3 beta with openmpi 1.0.2 by setting

SET(CMAKE_C_COMPILER mpicc)
SET(CMAKE_CXX_COMPILER mpicxx)

in my CMakeLists.txt file, and then running cmake like this:

cmake -DVTK_USE_MPI:BOOL=ON \
-DVTK__MPIRUN_EXE:FILEPATH=/path_to_openmpi/openmpi1.0.2/bin/ \
/path_to_paraview3_src/ParaView3/

and when i try to run

mpiexec -n 4 ./paraview

from within my paraview3 bin directory, i get 4 paraview windows rather 
than a single window running in parallel mode.  i have made sure the
path 
to the openmpi bin is on the top of my path, and the path to openmpi lib
is 
on the top of my ld_library_path environment variable, but still no
luck.  i 
have no trouble running paraview2.6 with this same command, built with
the same modifications to CMakeLists.txt and the cmake command line.

any help much appreciated,
bryan

 





 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20070507/64a03059/attachment-0001.htm


More information about the ParaView mailing list