[Paraview] mpirun and pvbatch crash with StillRender()

bcurtis3 bcurtis3 at masonlive.gmu.edu
Fri Aug 9 14:50:18 EDT 2013


Hi Utkarsh,

That seems to be the fix. I had probably turned the flag off for some previous error that i've fixed since and never turned back on. I really appreciate your time.

Thanks,
~Brian
________________________________________
From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com]
Sent: Friday, August 09, 2013 2:39 PM
To: bcurtis3
Cc: paraview at paraview.org
Subject: Re: [Paraview] mpirun and pvbatch crash with StillRender()

Looks like you've turned off PARAVIEW_USE_ICE_T cmake flag. Any reason why? That needs to be ON. Parallel rendering isn't supported without IceT. That's what's causing the problems.

Utkarsh


On Fri, Aug 9, 2013 at 2:22 PM, bcurtis3 <bcurtis3 at masonlive.gmu.edu<mailto:bcurtis3 at masonlive.gmu.edu>> wrote:
Hi Utkarsh,

http://paste.ubuntu.com/5967266/

Thanks for your time,
~Brian
________________________________________
From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com<mailto:utkarsh.ayachit at kitware.com>]
Sent: Friday, August 09, 2013 2:12 PM
To: bcurtis3
Cc: paraview at paraview.org<mailto:paraview at paraview.org>
Subject: Re: [Paraview] mpirun and pvbatch crash with StillRender()

I am not sure what could be going wrong. Try changing the vtkPVClientServerSynchronizedRenderers::MasterEndRender() and vtkPVClientServerSynchronizedRenderers::SlaveEndRender()  function calls to print the following before the assert(). Let's figure out what class type is it using.

cout << __LINE__ << ": ParallelController: " << (this->ParallelController? this->ParallelController->GetClassName() : "none") << endl;

The file is <ParaViewSource>/ParaViewCore/ClientServerCore/Rendering/vtkPVClientServerSynchronizedRenderers.cxx

Utkarsh




On Fri, Aug 9, 2013 at 2:02 PM, bcurtis3 <bcurtis3 at masonlive.gmu.edu<mailto:bcurtis3 at masonlive.gmu.edu><mailto:bcurtis3 at masonlive.gmu.edu<mailto:bcurtis3 at masonlive.gmu.edu>>> wrote:
Hi Utkarsh,

The simple code you provided still crashes: http://paste.ubuntu.com/5967196/

~Brian

________________________________________
From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com<mailto:utkarsh.ayachit at kitware.com><mailto:utkarsh.ayachit at kitware.com<mailto:utkarsh.ayachit at kitware.com>>]
Sent: Friday, August 09, 2013 1:48 PM
To: bcurtis3
Cc: paraview at paraview.org<mailto:paraview at paraview.org><mailto:paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: Re: [Paraview] mpirun and pvbatch crash with StillRender()

Can you try using a simpler script as follows instead. Does that still crash?

from paraview.simple import *
Sphere()
Show()
Render()




On Fri, Aug 9, 2013 at 1:36 PM, bcurtis3 <bcurtis3 at masonlive.gmu.edu<mailto:bcurtis3 at masonlive.gmu.edu><mailto:bcurtis3 at masonlive.gmu.edu<mailto:bcurtis3 at masonlive.gmu.edu>><mailto:bcurtis3 at masonlive.gmu.edu<mailto:bcurtis3 at masonlive.gmu.edu><mailto:bcurtis3 at masonlive.gmu.edu<mailto:bcurtis3 at masonlive.gmu.edu>>>> wrote:
The issue is my code crashes at my view.StillRender() but it happens only when using mpirun and pvbatch. If i just use pvbatch without mpirun, the crash does not occur.

> Code: http://paste.ubuntu.com/5960325/
> Crash: http://paste.ubuntu.com/5960330/
> CMakeCache.txt: http://paste.ubuntu.com/5960331/

Thanks,
~Brian
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com><http://www.kitware.com><http://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






More information about the ParaView mailing list