Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-06-03 Thread Junchao Zhang
On Sun, May 31, 2020 at 10:33 AM Drew Parsons wrote: > On 2020-05-27 22:00, Junchao Zhang wrote: > > On Wed, May 27, 2020 at 12:09 AM Drew Parsons > > wrote: > > > >> On 2020-05-24 10:01, Drew Parsons wrote: > >>> On 2020-05-23 23:45, Satish Balay wrote: > > One more issue: Most

Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-05-31 Thread Drew Parsons
On 2020-05-27 22:00, Junchao Zhang wrote: On Wed, May 27, 2020 at 12:09 AM Drew Parsons wrote: On 2020-05-24 10:01, Drew Parsons wrote: On 2020-05-23 23:45, Satish Balay wrote: One more issue: Most externalpackages don't support 64bit-indices. ... We haven't tried using MUMPS in this

Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-05-27 Thread Junchao Zhang
On Wed, May 27, 2020 at 12:09 AM Drew Parsons wrote: > On 2020-05-24 10:01, Drew Parsons wrote: > > On 2020-05-23 23:45, Satish Balay wrote: > >> > >> One more issue: Most externalpackages don't support 64bit-indices. > ... > >> We haven't tried using MUMPS in this mode with PETSc > > > > This

Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-05-26 Thread Drew Parsons
On 2020-05-24 10:01, Drew Parsons wrote: On 2020-05-23 23:45, Satish Balay wrote: One more issue: Most externalpackages don't support 64bit-indices. ... We haven't tried using MUMPS in this mode with PETSc This will be the interesting test. I'll start with the 64-bit build of MUMPS and see

Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-05-25 Thread Jed Brown
Drew Parsons writes: > On 2020-05-23 14:49, Drew Parsons wrote: >> On 2020-05-23 14:18, Jed Brown wrote: >> >>> I wonder if you are aware of any static analysis tools that can >>> flag implicit conversions of this sort: >>> >>> int64_t n = ...; >>> for (int32_t i=0; i>> ... >>> } >>> >>>

Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-05-25 Thread Drew Parsons
On 2020-05-23 14:49, Drew Parsons wrote: On 2020-05-23 14:18, Jed Brown wrote: I wonder if you are aware of any static analysis tools that can flag implicit conversions of this sort: int64_t n = ...; for (int32_t i=0; i I'll ask the Debian gcc team and the Science team if they have ideas

Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-05-23 Thread Drew Parsons
On 2020-05-23 23:45, Satish Balay wrote: One more issue: Most externalpackages don't support 64bit-indices. Note: OpenBLAS supports 64bit indices. MKL has bunch of packages built as ILP64 [MPICH/OpenMPI - as far as I know is LP64] The primary reason PETSc defaults to 32bit indices is -

Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-05-23 Thread Drew Parsons
On 2020-05-23 20:27, Junchao Zhang wrote: On Sat, May 23, 2020 at 1:49 AM Drew Parsons wrote: On 2020-05-23 14:18, Jed Brown wrote: You don't need to change BLAS or MPI. I see, the PETSc API allows for PetscBLASInt and PetscMPIInt distinct from PetscInt. That gives us more flexibility.

Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-05-23 Thread Satish Balay
On Sat, 23 May 2020, Junchao Zhang wrote: > On Sat, May 23, 2020 at 1:49 AM Drew Parsons wrote: > > > On 2020-05-23 14:18, Jed Brown wrote: > > > Drew Parsons writes: > > > > > >> Hi, the Debian project is discussing whether we should start providing > > >> a > > >> 64 bit build of PETSc

Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-05-23 Thread Satish Balay
On Sat, 23 May 2020, Drew Parsons wrote: > On 2020-05-23 14:18, Jed Brown wrote: > > Drew Parsons writes: > > > >> Hi, the Debian project is discussing whether we should start providing a > >> 64 bit build of PETSc (which means we'd have to upgrade our entire > >> computational library stack,

Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-05-23 Thread Junchao Zhang
On Sat, May 23, 2020 at 1:49 AM Drew Parsons wrote: > On 2020-05-23 14:18, Jed Brown wrote: > > Drew Parsons writes: > > > >> Hi, the Debian project is discussing whether we should start providing > >> a > >> 64 bit build of PETSc (which means we'd have to upgrade our entire > >> computational

Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-05-23 Thread Drew Parsons
On 2020-05-23 14:18, Jed Brown wrote: Drew Parsons writes: Hi, the Debian project is discussing whether we should start providing a 64 bit build of PETSc (which means we'd have to upgrade our entire computational library stack, starting from BLAS and going through MPI, MUMPS, etc). You

Bug#953116: [petsc-maint] 32 bit vs 64 bit PETSc

2020-05-23 Thread Jed Brown
Drew Parsons writes: > Hi, the Debian project is discussing whether we should start providing a > 64 bit build of PETSc (which means we'd have to upgrade our entire > computational library stack, starting from BLAS and going through MPI, > MUMPS, etc). You don't need to change BLAS or MPI.