From: John P. <jwp...@gm...> - 2023-09-01 14:52:36
|
On Fri, Sep 1, 2023 at 1:25 AM INTURU SRINIVAS 20PHD0548 < int...@vi...> wrote: > Hi John, > > I tried with PETSC_DIR=/home/hpcsmec15767/sfw/petsc/3.17.5. I got the > same error as mentioned below > checking for built-in XDR support... yes > checking > /home/hpcsmec15767/sfw/petsc/3.17.5/linux-debug/include/petscversion.h > usability... no > checking > /home/hpcsmec15767/sfw/petsc/3.17.5/linux-debug/include/petscversion.h > presence... no > checking for > /home/hpcsmec15767/sfw/petsc/3.17.5/linux-debug/include/petscversion.h... no > checking /home/hpcsmec15767/sfw/petsc/3.17.5/include/petscversion.h > usability... no > checking /home/hpcsmec15767/sfw/petsc/3.17.5/include/petscversion.h > presence... no > checking for /home/hpcsmec15767/sfw/petsc/3.17.5/include/petscversion.h... > no > configure: error: *** PETSc was not found, but --enable-petsc-required was > specified. > > This one I am trying in the hpc cluster. Few months ago, I tried to > install this IBAMR-0.13.0 open software with petsc 3.17.5 and libmesh 1.6.2 > in our local machine, the same error occurred though. > Right now I am using IBAMR-0.11.0 with petsc 3.13.4 and libmesh 1.6.2 and > it is working in our local machine. > Does petsc 3.17.5 version compatible with libmesh 1.6.2? > The PETSc 3.17.x release series was started in March 2022 commit 30c35bf2dfad782abeabcf00da45fe2af1c737cf (tag: v3.17.0) > Author: Satish Balay <ba...@mc...> > Date: Wed Mar 30 20:50:56 2022 -0500 While libmesh 1.6.2 is from August 2021: commit e98f7419bd062d4c6b3cc3727899e892915af730 (tag: v1.6.2) > Author: John W. Peterson <jwp...@gm...> > Date: Mon Aug 2 14:59:29 2021 -0500 so it predates PETSc 3.17 by several months. Therefore it's definitely possible they are not compatible. Out of curiosity, where is petscversion.h actually located in your installation of PETSc, since it is not located in any of the places listed above? Also, how exactly do you install PETSc? If you follow the directions that are printed to the screen when building PETSc from source then the PETSc headers should just be located at $PETSC_DIR/include and $PETSC_ARCH is not needed/used by libmesh configure. -- John |