I am very new to firedrake and trying to install it on two machines: ubuntu and mac. I am having problems with each and thought I would start asking about the ubuntu.
running firedrake-install seemed to work. At least I didn’t notice any errors.
However, when I do an upgrade, I get that there is a problem with PETSC_DIR not being defined. Is this something that we should specify ourselves?
Thank you in advance.
firedrake/bin/pip install --no-deps --ignore-installed ffc/
Processing ./ffc
Installing collected packages: FFC
Running setup.py install for FFC ... done
Successfully installed FFC-1.7.0.dev0
Cleaning PyOP2
Error: Could not find PETSc library.
Set the environment variable PETSC_DIR to your local PETSc base
directory or install PETSc from PyPI: pip install petsc
Traceback (most recent call last):
File "firedrake/bin/firedrake-update", line 777, in <module>
clean(p)
File "firedrake/bin/firedrake-update", line 438, in clean
check_call(["python", "setup.py", "clean"])
File "firedrake/bin/firedrake-update", line 182, in check_call
subprocess.check_call(arguments)
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['python', 'setup.py', 'clean']' returned non-zero exit status 1