David,

The 100% CPU for pvserver is expected. It's what the MPI
implementation does for waiting processes. The locking when paraview
connects is fishy. Any more details there? ANy output text or
something?

Utkarsh

On Thu, Apr 19, 2012 at 11:08 AM, David Gobbi <david.go...@gmail.com> wrote:
> Hi All,
>
> I'm having trouble getting pvserver to run on OS X.  If I run just a
> single instance of pvserver everything works fine and I'm able to
> connect ParaView to it.  But if I do this:
>
> mpirun -np 4 /path/to/pvserver
>
> then all the pvserver processes spin their wheels, taking up 100% of
> the CPU, and if I try to connect ParaView, then ParaView freezes until
> the pvserver processes are killed.  A stack trace of the pvserver
> processes yields the following:
>
> #0  0x00007fff87c77e46 in swtch_pri ()
> #1  0x00007fff87d5301f in sched_yield ()
> #2  0x000000010f755ab5 in mca_pml_ob1_recv ()
> #3  0x00000001091beca8 in MPI_Recv ()
> #4  0x0000000102c13f35 in vtkMPICommunicator::ReceiveDataInternal
> (this=0x7fff5fbff2a0, data=0x7fff5fbff2a0 "??_?", length=512,
> sizeoftype=1606414376, remoteProcessId=-1, tag=1606414672,
> info=0x7fff5fbff1c8, useCopy=0, senderId=@0x10f001958) at
> vtkMPICommunicator.cxx:269
> #5  0x0000000102c13ad8 in vtkMPICommunicator::ReceiveVoidArray
> (this=0x7fff5fbff220, data=0x7fff5fbff2a0, maxlength=512,
> type=1606414880, remoteProcessId=1606414880, tag=1606414880) at
> vtkMPICommunicator.cxx:856
> #6  0x0000000102b2c696 in vtkCommunicator::Receive () at
> /Users/dgobbi/Work/Kitware/paraview-git/VTK/Parallel/vtkCommunicator.h:544
> #7  0x0000000102b2c696 in vtkMultiProcessController::ProcessRMIs
> (this=0x10f000240, reportErrors=1606415568, dont_loop=0) at
> vtkMultiProcessController.cxx:544
> #8  0x0000000102b2cbed in vtkMultiProcessController::ProcessRMIs
> (this=0x10f001900) at vtkMultiProcessController.cxx:531
> #9  0x0000000100015b5b in RealMain [inlined] () at
> /Users/dgobbi/Work/Kitware/paraview-git/CommandLineExecutables/pvserver_common.h:81
> #10 0x0000000100015b5b in main (argc=251664640,
> argv=0x5fbff29000000001) at pvserver_common.h:21
>
> This occurs on OS X 10.6 and OS X 10.7.  This is with ParaView 3.14.1,
> using the system MPI that is located in /usr/lib, and compiled with
> RelWithDebInfo.  The client and server are on the same machine, and
> are part of the same build.
>
> I might be missing some important step, because this is the first time
> that I've tried running ParaView in client/server mode.  Any help is
> appreciated.
>
>  - David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to