[Paraview] [EXTERNAL] Re: Python scripts and exit
Scott, W Alan
wascott at sandia.gov
Tue Feb 21 15:25:55 EST 2012
Yep, I am not using -sym. Thanks.
From: Andy Bauer [mailto:andy.bauer at kitware.com]
Sent: Tuesday, February 21, 2012 1:22 PM
To: Scott, W Alan
Cc: paraview at paraview.org
Subject: [EXTERNAL] Re: [Paraview] Python scripts and exit
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<mailto: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<tel:%28505%29%20284-0932> FAX (505) 284-5619<tel:%28505%29%20284-5619>
---------------------------------------------------------
_______________________________________________
Powered by 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120221/6f5dd09f/attachment-0001.htm>
More information about the ParaView
mailing list