[petsc-users] Combining petsc with libocca

Samuel Miller smil at lle.rochester.edu
Fri Dec 14 13:47:02 CST 2018


I’m in the process of planning a basic fluids code based on the lattice Boltzmann method (LBM) and would like some input from the petsc user base. All the computation in LBM is local, so parallelization is straightforward and can be simply done in a threaded application; a simple google search yields numerous of simple LBM codes on GitHub. I’d like to possibly use petsc's dmda to facilitate splitting the grid across multiple compute nodes and use a framework like libocca (cuda/opencl/openmp backend) to handle the on-node computation through kernels. In my limited knowledge, it looks like libraries like libCEED do something similar to this. I’ve also looked through a LANL code called Taxila that uses fortran and petsc for LBM, but that doesn’t use kernels.

Is it overkill (or recommended even) to have petsc split the grid across nodes, while the majority of the computation is handled by a cuda/opencl/openmp kernel?

Thanks for your input,

Sam


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181214/be2885e1/attachment.html>


More information about the petsc-users mailing list