Hello,<br><br>I am trying to add a profile object to a Plot Collection (via pc.add_profile_object(data,fields) ) while running in parallel on Kraken. I get the following error: "TypeError: message: expecting a list or tuple" which ultimately comes from mpi4py.MPI.Comm.Allreduce which is called by ParallelAnalysisInterface._mpi_allsum(). In ._mpi_allsum() there is the following comment: "# We use old-school pickling here on the assumption the arrays are relatively small ( < 1e7 elements )". The dataset I am working with is larger than 1e7 elements, so is _mpi_allsum not able to pass such a large array to Comm.Allreduce? <br>
<br>Thanks,<br>Anthony<br><br>Here is the traceback:<br><br>File "/yt-2.1stable-py2.7-linux-x86_64.egg/yt/data_objects/profiles.py", line 146, in add_fields<br>    self._lazy_add_fields(fields, weight, accumulation)<br>
File "/yt-2.1stable-py2.7-linux-x86_64.egg/yt/data_objects/profiles.py", line 94, in _lazy_add_fields<br>    for gi,grid in enumerate(self._get_grids(fields)):<br>File "/yt-2.1stable-py2.7-linux-x86_64.egg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 134, in __iter__<br>
    if not self.just_list: self.pobj._finalize_parallel()<br>File "/yt-2.1stable-py2.7-linux-x86_64.egg/yt/data_objects/profiles.py", line 122, in _finalize_parallel<br>
    self.__data[key] = self._mpi_allsum(self.__data[key])<br>File "/yt-2.1stable-py2.7-linux-x86_64.egg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 185, in passage<br>    return func(self, data)<br>
File "/yt-2.1stable-py2.7-linux-x86_64.egg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 1124, in _mpi_allsum<br>    MPI.COMM_WORLD.Allreduce(data, tr, op=MPI.SUM)<br>File "Comm.pyx", line 530, in mpi4py.MPI.Comm.Allreduce (src/mpi4py_MPI.c:43646)<br>
File "message.pxi", line 426, in mpi4py.MPI._p_msg_cco.for_allreduce (src/mpi4py_MPI.c:14446)<br>File "message.pxi", line 33, in mpi4py.MPI.message_simple (src/mpi4py_MPI.c:11108)<br>TypeError: message: expecting a list or tuple<br>
<br>