[petsc-dev] [SLEPc - GPU] Problems running SLEPc on GPUs

Jose E. Roman jroman at dsic.upv.es
Fri Jul 24 03:20:14 CDT 2015


> El 24/7/2015, a las 10:09, Leoni, Massimiliano <Massimiliano.Leoni at Rolls-Royce.com> escribió:
> 
> Hi everybody,
>  
> I have recently being trying to run SLEPc on GPUs, but I am experiencing some trouble.
> I think I correctly installed PETSc to run on GPUs, as I can actually see an execution time difference in PETSc programs when run with or without –vec_type cusp –mat_type aijcusp.
> When I try to do the same with SLEPc, I get the following error [running hands-on exercise 2]
> [0]PETSC ERROR: No support for this operation for this object type
> [0]PETSC ERROR: Cannot create a BVSVEC from a non-standard template vector
>  
> From the documentation I understood this BVSVEC is a base SLEPc type, so I am not sure how to interpret this [wouldn’t know what to touch at high-level].
> Can anyone please point me to some examples/documentation on this?
>  
> Thanks in advance
>  
> Massimiliano Leoni
> 

As you can seen in section 8.3 of SLEPc’s users manual, the command-line example adds -bv_type vecs, otherwise you get this error. In the short term we plan to add GPU support for the default BV, but for the moment you have to use this BV type.

We would be interested in knowing how this works for you, send feedback to slepc-maint.

Thanks.
Jose




More information about the petsc-dev mailing list