[Paraview] Python scripts and exit

Andy Bauer andy.bauer at kitware.com
Tue Feb 21 15:21:30 EST 2012


That worked for me for "bin/pvbatch <scriptname>".  I did get 2 debug leak
warnings but no problems exiting.  If I comment out exit(), I don't get the
leaks.

When I ran in parallel I get similar behavior with respect to using
exit().  I do have to use the -sym flag (mpirun -np X bin/pvbatch -sym
<scriptname>) though with pvbatch.  Maybe that's what you're missing.

Andy

On Tue, Feb 21, 2012 at 1:57 PM, Scott, W Alan <wascott at sandia.gov> wrote:

>  When I run pvbatch, with the following script, pvbatch never exits.  Is
> there a way to get pvbatch to exit?
>
>
> # write a file
> f = open('/… /working.txt', 'w')
> f.write('script worked\n')
> f.close()
>
> # exit
> exit()
>
>
> Thanks,
>
> Alan
>
> --------------------------------------------------------
> W. Alan Scott
> ParaView Support Manager
>
> GAITS
> Sandia National Laboratories, MS 0822
> Org 9326 - Building 880 A1-C
> (505) 284-0932   FAX (505) 284-5619
> ---------------------------------------------------------
>
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120221/b8e9c24d/attachment.htm>


More information about the ParaView mailing list