[petsc-users] About PC hpddm

Pierre Jolivet pierre at joliv.et
Thu May 9 01:01:12 CDT 2024



> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240509/9cbbc6a9/attachment-0001.html>


More information about the petsc-users mailing list