On 26 Sep 2025, at 2:52 PM, Matthew Knepley <[email protected]> wrote:


On Fri, Sep 26, 2025 at 2:54 AM 岳新海 <[email protected]> wrote:

Dear PETSc Team,

I am currently working on a cluster where I would like to use PETSc with CUDA support. In particular, I am interested in whether it is possible to combine VECCUDA with VECGHOST.

I have searched through the documentation and but have not found explicit examples. May I ask:

  • Has VECCUDA been used successfully together with VECGHOST?

VECGHOST just uses two regular vectors (a local form and a ghosted form), and VecScatter to map between them. Those vectors can be of any type.
 
  • If so, are there recommended approaches, examples, or best practices to follow?
I don't think you have to do anything special. Have you had a problem?


Thanks,
Pierre 

  Thanks,

     Matt
 

Any guidance or references would be greatly appreciated.

Best regards,
Xinhai





岳新海

南方科技大学/学生/研究生/2023级研究生

广东省深圳市南山区学苑大道1088号

 


--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener

Reply via email to