On 26 Nov 2021, at 14:45, Sagiyama, Koki <k.sagiyama@imperial.ac.uk> wrote:
Hi Oliver,
I'm not sure. Could you also post "/Users/os3918/Documents/firedrake/src/petsc/configure.log"?
Thanks,Koki
From: Street, Oliver <o.street18@imperial.ac.uk>
Sent: Friday, November 26, 2021 11:50 AM
To: Sagiyama, Koki <k.sagiyama@imperial.ac.uk>; firedrake <firedrake@imperial.ac.uk>
Subject: Re: Installation issueHi Koki,Thanks for your reply and your suggestion. I implemented those steps and it’s given me another error seemingly related to C compilers - it’s also given me an update log. Any ideas?Best,Oliver
Depending on your platform, PETSc may take an hour or more to build!Traceback (most recent call last):File "/Users/os3918/Documents/firedrake/src/../bin/firedrake-update", line 1766, in <module>install("petsc/")File "/Users/os3918/Documents/firedrake/src/../bin/firedrake-update", line 882, in installbuild_and_install_petsc()File "/Users/os3918/Documents/firedrake/src/../bin/firedrake-update", line 1017, in build_and_install_petsccheck_call([python, "./configure", "PETSC_DIR={}".format(petsc_dir), "PETSC_ARCH={}".format(petsc_arch)] + petsc_options)File "/Users/os3918/Documents/firedrake/src/../bin/firedrake-update", line 539, in check_calllog.debug(subprocess.check_output(arguments, stderr=subprocess.STDOUT, env=os.environ).decode())File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 424, in check_outputreturn run(*popenargs, stdout=PIPE, timeout=timeout, check=True,File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in runraise CalledProcessError(retcode, process.args,subprocess.CalledProcessError: Command '['/Users/os3918/Documents/firedrake/bin/python', './configure', 'PETSC_DIR=/Users/os3918/Documents/firedrake/src/petsc', 'PETSC_ARCH=default', '--download-hwloc', '--download-superlu_dist', '--download-hdf5', '--download-mpich', '--download-mpich-configure-arguments=--disable-opencl', '--with-fortran-bindings=0', '--with-x=0', '--download-chaco', '--download-pastix', '--with-cxx-dialect=C++11', '--CFLAGS=-I/usr/local/opt/openblas/include -Wno-implicit-function-declaration', '--with-zlib', '--download-metis', '--download-eigen=/Users/os3918/Documents/firedrake/src/eigen-3.3.3.tgz ', '--LDFLAGS=-Wl,-rpath,/usr/local/opt/openblas/lib -L/usr/local/opt/openblas/lib -L/usr/local/opt/gcc/lib/gcc/8', '--download-hypre', '--with-debugging=0', '--download-hwloc-configure-arguments=--disable-opencl', '--download-netcdf', '--download-scalapack', '--with-c2html=0', '--download-ptscotch', '--with-shared-libraries=1', '--download-mumps', '--download-pnetcdf', '--download-suitesparse', '--with-blaslapack-dir=/usr/local/opt/openblas', '--download-ml']' returned non-zero exit status 1.
Update log saved in /Users/os3918/Documents/firedrake/firedrake-update.log
On 26 Nov 2021, at 00:29, Sagiyama, Koki <k.sagiyama@imperial.ac.uk> wrote:
Hi Oliver,
It seems that your eigen is at "/Users/os3918/Documents/eigen-3.3.3.tgz", but Firedrake still tells PETSc that eigen is at "/Users/os3918/Documents/firedrake/src/eigen-3.3.3.tgz"; this path is hard-coded here https://github.com/firedrakeproject/firedrake/blob/master/scripts/firedrake-install#L567.
I think the easiest solution is, using your failed installation, to move eigen-3.3.3.tgz to "/Users/os3918/Documents/firedrake/src", activate firedrake venv, and run `firedrake-update --rebuild` (using unmodified install script).
Thanks,Koki
From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Ollie Street <olliestreet@outlook.com>
Sent: Thursday, November 25, 2021 11:13 AM
To: firedrake <firedrake@imperial.ac.uk>
Subject: [firedrake] Installation issueHi,I’m still attempting to get a stable version of firedrake installed on my MacBook, I have encountered an issue with PETSc. It first hit an issue with the file 'eigen-3.3.3.tgz’, so I downloaded this separately and modified the installation file to point it towards this. The installation seemingly got over this issue, but returned the following error on the command line. I’ve also attached the install log. Any help would be much appreciated!Best,Oliver
Depending on your platform, PETSc may take an hour or more to build!Traceback (most recent call last):File "/Users/os3918/Documents/firedrake-install", line 1650, in <module>install("petsc/")File "/Users/os3918/Documents/firedrake-install", line 882, in installbuild_and_install_petsc()File "/Users/os3918/Documents/firedrake-install", line 1019, in build_and_install_petsccheck_call(["make", "PETSC_DIR={}".format(petsc_dir), "PETSC_ARCH={}".format(petsc_arch), "all"])File "/Users/os3918/Documents/firedrake-install", line 539, in check_calllog.debug(subprocess.check_output(arguments, stderr=subprocess.STDOUT, env=os.environ).decode())File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 424, in check_outputreturn run(*popenargs, stdout=PIPE, timeout=timeout, check=True,File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in runraise CalledProcessError(retcode, process.args,subprocess.CalledProcessError: Command '['make', 'PETSC_DIR=/Users/os3918/Documents/firedrake/src/petsc', 'PETSC_ARCH=default', 'all']' returned non-zero exit status 2.
Install log saved in /Users/os3918/Documents/firedrake-install.log