Re: [petsc-users] About PC hpddm

2024-05-08 Thread Satish Balay via petsc-users
Try: spack install slepc+hpddm ^petsc+hpddm Satish On Thu, 9 May 2024, Ng, Cho-Kuen via petsc-users wrote: > Pierre, > > petec and slepc libraries are found in the spack directory, but > libhpddm_petsc is not. So it is not built during the spack install process. > > ... ... > ./opt/spack/li

Re: [petsc-users] About PC hpddm

2024-05-08 Thread Ng, Cho-Kuen via petsc-users
Pierre, petec and slepc libraries are found in the spack directory, but libhpddm_petsc is not. So it is not built during the spack install process. ... ... ./opt/spack/linux-sles15-zen3/gcc-12.3.0/petsc-3.21.0-tdljbqbgvde4zv6jr6tf7bbpae3rfkyg/lib/libpetsc.so ./var/spack/environments/demo1/.spack

Re: [petsc-users] About PC hpddm

2024-05-08 Thread Pierre Jolivet
> On 9 May 2024, at 6:31 AM, Ng, Cho-Kuen via petsc-users > wrote: > > This Message Is From an External Sender > This message came from outside your organization. > I used spack to install petsc with hpddm as follows. > > o spack install petsc+hpddm > o spack install slepc ^petsc+hpddm > > I

[petsc-users] About PC hpddm

2024-05-08 Thread Ng, Cho-Kuen via petsc-users
I used spack to install petsc with hpddm as follows. o spack install petsc+hpddm o spack install slepc ^petsc+hpddm I got the following runtime error of finding the library hpddm_petsc. argv0 -ksp_converged_reason -ksp_view_final_residual -ksp_type gmres -pc_type hpddm -ksp_monitor -log_view -o

Re: [petsc-users] HDF5 time step count

2024-05-08 Thread Adrian Croucher
hi Matt, On 9/05/24 3:00 am, Matthew Knepley wrote: Sorry about the delay. I had lost track of this. Can you look at branch   knepley/feature-hdf5-seq-len I have not made a test yet, but if this works for you, I will make a test and merge it in. Thanks for looking at that. I just tried to

Re: [petsc-users] HDF5 time step count

2024-05-08 Thread Matthew Knepley
On Wed, May 1, 2024 at 11:03 PM Adrian Croucher wrote: > hi Matt & all, > > I just had a query from one of my users which prompted me to see if any > progress had been made on the issue below - using PETSc to get the number > of time steps in an HDF5 file. > > I can't see anything new in PETSc on

Re: [petsc-users] Question about petsc4py createWithArray function

2024-05-08 Thread Samar Khatiwala
Hi Stefano, Thank you for this. Your example was invaluable in helping me figure out what is going on. (I did not know about about sys.getrefcount - I’m only just starting to learn python.) It was indeed the refcount. Until the Vec is destroyed it can’t go to zero and my array destructor method