Discussion:
[Community] intersects() with mpi4py
Kai Li
2013-07-22 22:09:49 UTC
Permalink
Hello,

Does anyone has the experience of using shapely with mpi4py?
I just used intersects() function with mpi4py. Although I assigned points
to each process and broadcast the polygon to be passed as parameter of
intersects(), the program only take advantage of one single cpu (rank 1).
It's weired that function like numpy.lib.bench() can take advantage of
multiple cpu with the same program.

Regards,
--
Kai Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20130723/3b37ffc5/attachment.htm>
Kai Li
2013-07-23 09:37:10 UTC
Permalink
Sorry for write again, It's solved now. I found it's really a load balance
problem. Now the computation is more balanced with utilizing a random
sequence function.
Post by Kai Li
Hello,
Does anyone has the experience of using shapely with mpi4py?
I just used intersects() function with mpi4py. Although I assigned points
to each process and broadcast the polygon to be passed as parameter of
intersects(), the program only take advantage of one single cpu (rank 1).
It's weired that function like numpy.lib.bench() can take advantage of
multiple cpu with the same program.
Regards,
--
Kai Li
--
Kai Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20130723/4225ec63/attachment.htm>
Loading...