Hi users,
(firedrake) hpc@hpc:~/Downloads/Exemplos_Firedrake/HDG/poroso/MWE/SDHM$ python3 sdhm_monolithic.py
Traceback (most recent call last):
File "sdhm_monolithic.py", line 1, in <module>
from firedrake import *
File "/home/hpc/firedrake/src/firedrake/firedrake/__init__.py", line 8, in <module>
raise ImportError("PETSC_DIR is set, but you did not install with --honour-petsc-dir.\n"
ImportError: PETSC_DIR is set, but you did not install with --honour-petsc-dir.
Please unset PETSC_DIR (and PETSC_ARCH) before using Firedrake.
try installing with python3 firedrake-install --honor-petsc-dir, but I have the following error:
hpc @ hpc: ~ $ python3 firedrake-install --honor-petsc-dir
Running firedrake-install --honor-petsc-dir
The --honor-petsc-dir is set, but PETSC_DIR environment variable is
not defined. If you have compiled PETSc manually, set PETSC_DIR
(and optionally PETSC_ARCH) variables to point to the build directory.
could you help me on how to solve that problem, please.
Best regards,
Emmanuel Y. Medina
Ph.D Student in UFJF-Brazil