[petsc-users] Have you heard of UPC: unified Parallel C?

Aron Ahmadia aron.ahmadia at kaust.edu.sa
Mon Aug 1 16:05:33 CDT 2011


Dear Rebecca,

PETSc+UPC is certainly possible since UPC is an extension to C99, so
underneath PETSc+UPC your parallelism model would be MPI+UPC.  If you are
planning on using PETSc for your distributed-memory parallelism and UPC for
your 'accelerator' such as multicore or GPU, this would just require you to
use UPC to parallelize your kernels.

On the other hand, if you want UPC to handle your distributed memory
parallelism as well in true PGAS fashion, you could extend a no-MPI PETSc,
but at the effort in parallelizing that (introducing new Mat, Vec, KSP, SNES
objects as needed with UPC parallelism) seems to not be worth the payoff.

A

On Mon, Aug 1, 2011 at 11:35 PM, Xuefei (Rebecca) Yuan <xyuan at lbl.gov>wrote:

> Hello all,
>
> Could I convert a C code using PETSc library to a UPC code using PETSc?
>
> Thanks,
>
> Xuefei (Rebecca) Yuan
> Postdoctoral Fellow
> Lawrence Berkeley National Laboratory
> Tel: 1-510-486-7031
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110802/9d4cc812/attachment.htm>


More information about the petsc-users mailing list