[petsc-users] About PC hpddm

Satish Balay balay at mcs.anl.gov
Thu May 9 01:49:39 CDT 2024


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/linux-sles15-zen3/gcc-12.3.0/petsc-3.21.0-tdljbqbgvde4zv6jr6tf7bbpae3rfkyg/lib/libpetsc.so
> ./var/spack/environments/demo1/.spack-env/._view/6rqhi7tgwui4fjo74fgkkyq4lklghged/lib/libpetsc.so
> 
> ... ...
> ./opt/spack/linux-sles15-zen3/gcc-12.3.0/slepc-3.21.0-qhuhkznl5rlhqknsdqervlevup6xiuyt/lib/libslepc.so
> ./var/spack/environments/demo1/.spack-env/._view/6rqhi7tgwui4fjo74fgkkyq4lklghged/lib/libslepc.so
> 
> Thanks,
> Cho
> ________________________________
> From: Pierre Jolivet <pierre at joliv.et>
> Sent: Wednesday, May 8, 2024 11:01 PM
> To: Ng, Cho-Kuen <cho at slac.stanford.edu>
> Cc: petsc-users at mcs.anl.gov <petsc-users at mcs.anl.gov>
> Subject: Re: [petsc-users] About PC hpddm
> 
> 
> 
> On 9 May 2024, at 6:31 AM, Ng, Cho-Kuen via petsc-users <petsc-users at mcs.anl.gov> 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 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 -options_left -device_view
> $$$$$$$$$$$$$$ buildmatrix petsc
> [6]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
> [6]PETSC ERROR: Petsc has generated inconsistent data
> [6]PETSC ERROR: /global/cfs/cdirs/ace3p/software/spack/var/spack/environments/demo1/.spack-env/view/lib/libhpddm_petsc not found
> 
> Is there something wrong with the install procedure?
> 
> The command lines look OK to me (but I don’t know Spack).
> I’m not sure where things are being installed.
> Could you please send the path to:
> 1) libpetsc.so
> 2) libslepc.so
> 3) libhpddm_petsc.so
> If there is a mismatch between some of these, you may want to set the environment variable SLEPC_DIR or the command line parameter -hpddm_dir.
> 
> Thanks,
> Pierre
> 
> Thanks,
> Cho
> 
> 


More information about the petsc-users mailing list