Closed dorugeber closed 9 years ago
Running python firedrake-install
again fails at
...
Creating firedrake virtualenv.
/home/andrew/firedrake/bin/pip install -U pip
Requirement already up-to-date: pip in ./firedrake/lib/python2.7/site-packages
Traceback (most recent call last):
File "firedrake-install", line 405, in <module>
os.mkdir("src")
OSError: [Errno 17] File exists: 'src'
Can you verify that petsc will pip install outside of the install script? Also, is it conceivable that Petsc just takes an hour to build on your machine?
Running pip install --no-deps --ignore-installed petsc/
from the ~/firedrake/src
directory works (in under 5 minutes).
(firedrake)andrew@ubuntu:~/firedrake/src$ pip install --no-deps --ignore-installed petsc/
Processing ./petsc
Installing collected packages: petsc
Running setup.py install for petsc
Successfully installed petsc-3.7.0.dev0
I'm mystified. That's exactly what the script does.
Will try that again from clean, in case my non-virtualenv petsc install messed things up.
I'll close this, because I believe you were right that "Petsc just takes [more than] an hour to build". It took the best part of an hour on my (faster) desktop... I didn't realise PETSc is set to install a bunch of packages by default, unless the appropriate flag is set.
Unfortunately the new install wasn't error-free, so I'll dump that in a new issue.
Terminal output below, in three sections.
One hour later, it was still at this stage.