[petsc-users] consistence of PETSC/SLEPC with MPI, BLACS, SCALAPACK calls...
Giacomo Mulas
gmulas at oa-cagliari.inaf.it
Mon Nov 27 03:41:01 CST 2017
On Mon, 27 Nov 2017, Jose E. Roman wrote:
> You have PetscInt, PetscBLASInt and PetscMPIInt.
>
> Presumably ScaLAPACK uses the same integer length as BLAS, so you should use PetscBLASInt variables for the arguments of ScaLAPACK subroutines. See also the documentation for PetscBLASIntCast()
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscBLASInt.html#PetscBLASInt
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscBLASIntCast.html
>
> Similarly for MPI calls with PetscMPIInt.
Thanks!
Giacomo
--
_________________________________________________________________
Giacomo Mulas <gmulas at oa-cagliari.inaf.it>
_________________________________________________________________
INAF - Osservatorio Astronomico di Cagliari
via della scienza 5 - 09047 Selargius (CA)
tel. +39 070 71180255
mob. : +39 329 6603810
_________________________________________________________________
"When the storms are raging around you, stay right where you are"
(Freddy Mercury)
_________________________________________________________________
More information about the petsc-users
mailing list