[yt-svn] [yt_analysis/yt] Streamline 3D parallel (issue #452)

Anonymous issues-reply at bitbucket.org
Fri Oct 19 07:38:08 PDT 2012


--- you can reply above this line ---

New issue 452: Streamline 3D parallel
https://bitbucket.org/yt_analysis/yt/issue/452/streamline-3d-parallel

Anonymous:

Hi, it seems streamline doesn't work in parallel. I used your code (http://yt-project.org/doc/visualizing/streamlines.html) for simple tests and run into this traceback: (i run it only with two processors so i would be as clear as possible)

Traceback (most recent call last):
  File "first_stream.py", line 16, in <module>
Traceback (most recent call last):
  File "first_stream.py", line 16, in <module>
    streamlines.integrate_through_volume()
    streamlines.integrate_through_volume()
  File "/user/yt-x86_64/src/yt-hg/yt/visualization/streamlines.py", line 144, in integrate_through_volume
  File "/user/yt-x86_64/src/yt-hg/yt/visualization/streamlines.py", line 144, in integrate_through_volume
    self._finalize_parallel(None)
      File "/user/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 203, in passage
self._finalize_parallel(None)
  File "/user/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 203, in passage
    return func(self, data, **kwargs)
  File "/user/yt-x86_64/src/yt-hg/yt/visualization/streamlines.py", line 149, in _finalize_parallel
    self.magnitudes = self.comm.mpi_allreduce(self.magnitudes, op='sum')
  File "/user/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 203, in passage
    return func(self, data, **kwargs)
  File "/user/yt-x86_64/src/yt-hg/yt/visualization/streamlines.py", line 149, in _finalize_parallel
    return func(self, data, **kwargs)
  File "/user/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 653, in mpi_allreduce
    self.magnitudes = self.comm.mpi_allreduce(self.magnitudes, op='sum')
  File "/user/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 203, in passage
    return func(self, data, **kwargs)
  File "/user/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 653, in mpi_allreduce
    return self.comm.allreduce(data, op)
  File "Comm.pyx", line 1228, in mpi4py.MPI.Comm.allreduce (src/mpi4py.MPI.c:80799)
  File "msgpickle.pxi", line 804, in mpi4py.MPI.PyMPI_allreduce (src/mpi4py.MPI.c:36192)
  File "msgpickle.pxi", line 772, in mpi4py.MPI._py_reduce (src/mpi4py.MPI.c:35754)
  File "Op.pyx", line 28, in mpi4py.MPI.Op.__call__ (src/mpi4py.MPI.c:60286)
  File "opimpl.pxi", line 13, in mpi4py.MPI._op_SUM (src/mpi4py.MPI.c:13919)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'
    return self.comm.allreduce(data, op)
  File "Comm.pyx", line 1228, in mpi4py.MPI.Comm.allreduce (src/mpi4py.MPI.c:80799)
  File "msgpickle.pxi", line 804, in mpi4py.MPI.PyMPI_allreduce (src/mpi4py.MPI.c:36192)
  File "msgpickle.pxi", line 772, in mpi4py.MPI._py_reduce (src/mpi4py.MPI.c:35754)
  File "Op.pyx", line 28, in mpi4py.MPI.Op.__call__ (src/mpi4py.MPI.c:60286)
  File "opimpl.pxi", line 13, in mpi4py.MPI._op_SUM (src/mpi4py.MPI.c:13919)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'


--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.



More information about the yt-svn mailing list