Re: [petsc-users] using hypre's GPU feature through PETSc

2018-04-04 Thread Smith, Barry F.

   Our config/BuildSystem/config/packages/hypre.py does not yet have code to 
communicate GPU information for building hypre. One would need to go through 
the hypre install documentation to determine the hypre configure flags for 
enabling the GPU and add support to hypre.py for passing these flags to hypre 
configure.

   Barry

An example of the type of flag needed can be found in superlu_dist.py 

help.addArgument('SUPERLU_DIST', '-download-superlu_dist-gpu=',
nargs.ArgBool(None, 0, 'Install Superlu_DIST to use GPUs'))



> On Apr 3, 2018, at 7:24 PM, Xiangdong  wrote:
> 
> Hello everyone,
> 
> The latest Hypre has GPU capability. Can I use hypre GPU feature through 
> PETSc? If it is possible, what configuration changes should I make in PETSc?
> 
> Thank you.
> 
> Best,
> Xiangdong
> 
> 



Re: [petsc-users] using hypre's GPU feature through PETSc

2018-04-04 Thread Mark Adams
On Tue, Apr 3, 2018 at 9:24 PM, Xiangdong  wrote:

> Hello everyone,
>
> The latest Hypre has GPU capability. Can I use hypre GPU feature through
> PETSc? If it is possible, what configuration changes should I make in PETSc?
>

It should work. I don't if anyone has used it yet. We recently verified
that the OpenMP in hypre works.


>
> Thank you.
>
> Best,
> Xiangdong
>
>
>