Dear PETSc’s developer,

Hi, I am a user of PETSc. I have some questions about how we can configure 
PETSc with AOCL BLAS and LAPACK.

Previously, we linked PETSc with Intel MKL BLAS. This solution provides us with 
much better multithreading capability for sparse matrix-vector product compared 
with configuring PETSc with OpenBLAS. Now, our compute nodes have been upgraded 
with AMD CPUs, we are considering switching from Intel MKL to AMD AOCL.

My questions are:


  1.  If we configure PETSc in compile time with —with-blaslapack-dir = 
$AOCLROOT, will we be able to use AOCL BLAS as the backend of PETSc MatMult() 
API?
  2.  What if AOCL BLAS and AOCL LAPACK are installed in two different 
directories, not under AOCLROOT?
  3.  PETSc has MatAIJMKL type for sparse matrix stored in Intel MKL format. 
Does PETSc also have another type for AMD AOCL?

Thanks!
Yongzhong

Reply via email to