Replies: 8 comments 30 replies
-
Hi, @gtheler! The file that tells CMake where to search for PETSC is here. It doesn't use $PETSC_DIR nor $PETSC_ARCH :(. Maybe you can help me to figure out how to use those variables inside the script (I always use the PETSc libraries shipped with Ubuntu, so I have no experience using a "custom folder" for PETSc). Where are your "petsc.h" and "petscconf.h" files? Sorry for the inconvenience. |
Beta Was this translation helpful? Give feedback.
-
Hi, @gtheler. I've modified FindPetsc.cmake to take into account the environment variables if they exist. Could you test if the modification works on your machine? Regarding Fedora, when I have a bit more time to spend, I'll try to create a virtual machine with Fedora installed to test the installation process. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Inspecting the related file FindGMSH.cmake it seems you can set the `GMSH_ROOT_DIR' similarly as you did with PETSC_DIR. Could you try that? |
Beta Was this translation helpful? Give feedback.
-
Are the PETSc libraries in |
Beta Was this translation helpful? Give feedback.
-
Yeah, he's complaining about the FORTRAN code in ITPACK which is quite old. We'll need to search for a flag to instruct the FORTRAN compiler to be more tolerant ... |
Beta Was this translation helpful? Give feedback.
-
Hi, @gtheler |
Beta Was this translation helpful? Give feedback.
-
I've only openmpi installed. I think XC will work also with mpich so, if this can help, you can remove openmpi. |
Beta Was this translation helpful? Give feedback.
-
It worked? |
Beta Was this translation helpful? Give feedback.
-
Hi @lcpt . I use PETSc all the time and I have
PETSC_DIR
andPETSC_ARCH
:But CMake cannot find PETSc:
This is Debian\ 11. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions