Author: bugman Date: Thu Mar 22 15:56:58 2012 New Revision: 15605 URL: http://svn.gna.org/viewcvs/relax?rev=15605&view=rev Log: Removed the Mpi_processor.data_upload() method as this will be done at the Processor level. 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=15605&r1=15604&r2=15605&view=diff ============================================================================== --- 1.3/multi/mpi4py_processor.py (original) +++ 1.3/multi/mpi4py_processor.py Thu Mar 22 15:56:58 2012 @@ -87,30 +87,6 @@ MPI.COMM_WORLD.Abort() - def data_upload(self, name=None, value=None, rank=None): - """API function for sending data to be stored on the Processor of the given rank. - - This can be used for transferring data from Processor instance i to the data store of Processor instance j. - - - @keyword name: The name of the data structure to store. - @type name: str - @keyword value: The data structure. - @type value: anything - @keyword rank: An optional argument to send data only to the Processor of the given rank. If None, then the data will be sent to all Processor instances. - @type rank: None or int - """ - - # Send the data to all slaves. - for i in range(MPI.COMM_WORLD.size): - # Only send to the given rank. - if rank != None and rank != 0: - continue - - # Send the data to the given slave (using a special tag for the data store). - MPI.COMM_WORLD.send([name, value], dest=i, tag=10) - - def exit(self, status=0): """Exit the mpi4py processor with the given status.