[petsc-users] petsc4py and numpy
Aron Ahmadia
aron.ahmadia at kaust.edu.sa
Tue May 8 14:18:44 CDT 2012
>
> Thanks for the hint. I was wondering whether I should start with a working
> prototype based on numpy, then do parallelization with PETSc on demand - or
> start with PETSc wherever matrices and vectors are needed.
>
You need to write parallel code in a Single Program Multiple Data fashion
if you want it to scale well to hundreds or thousands of processors. This
is the best model supported by mpi4py and petsc4py.
A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120508/161e8083/attachment.htm>
More information about the petsc-users
mailing list