mailr14437 - /1.3/multi/mpi4py_processor.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on August 25, 2011 - 12:13:
Author: bugman
Date: Thu Aug 25 12:13:07 2011
New Revision: 14437

URL: http://svn.gna.org/viewcvs/relax?rev=14437&view=rev
Log:
Removed the _sys_exit module variable from the mpi4py processor.

This is unnecessary.


Modified:
    1.3/multi/mpi4py_processor.py

Modified: 1.3/multi/mpi4py_processor.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/multi/mpi4py_processor.py?rev=14437&r1=14436&r2=14437&view=diff
==============================================================================
--- 1.3/multi/mpi4py_processor.py (original)
+++ 1.3/multi/mpi4py_processor.py Thu Aug 25 12:13:07 2011
@@ -39,9 +39,6 @@
 from multi.multi_processor_base import Multi_processor, 
Too_few_slaves_exception
 
 
-# save original sys.exit to call after wrapper
-_sys_exit = sys.exit
-
 in_main_loop = False
 
 
@@ -79,7 +76,7 @@
         #print 'here'
         exit_mpi()
         #MPI.COMM_WORLD.Abort(1)
-        _sys_exit(status)
+        sys.exit(status)
 
 
 def exit_mpi():




Related Messages


Powered by MHonArc, Updated Thu Aug 25 12:20:02 2011