Correct. Notice that Travis <https://travis-ci.org/firedrakeproject/firedrake/builds> is throwing the same error, too. <a_mcrae> gah, travis is still erroring (during the petsc/python setup?) <wence> yeah, travis is currently borked due to petsc/petsc4py incompatibility <a_mcrae> fuuuuuu <wence> I have local fixes, but no merge request in yet On 16 October 2014 08:21, Cotter, Colin J <colin.cotter@imperial.ac.uk> wrote:
Dear all, Andy Thomas is trying to build Firedrake on the Maths cluster for me, and seems to be getting some trouble with the petsc installation. Please could you take a look and see what might be wrong? Cheers Cjc ---------- Forwarded message ---------- From: "andy thomas" <andy.thomas@imperial.ac.uk> Date: 16 Oct 2014 07:31 Subject: Re: Firedrake on Maths Cluster To: "Colin Cotter" <colin.cotter@imperial.ac.uk> Cc:
On Tue, 14 Oct 2014, Colin Cotter wrote:
On 14/10/14 10:40, andy thomas wrote:
Knee-jerk reaction to this suggestion is "B*LLS!" because I spent hours trying to do this back in July. But I'll put it on my ever-lengthening list of things to do - it's on a UROP server so should now be easy to replicate from that.
cheers, Andy
Hi Andy, I'll put you in touch with some Firedrake people who can help - it's best if you talk to them rather than trying to do it on your own. We also will shortly be getting Tim Greaves who is an AMCG system support person who's job will shortly become making sure Firedrake runs on things so you'll be able to talk to him.
As predicted, n*2 hours have been spent trying to install PETSc on two sample systems and it keeps bombing out with the error:
ImportError: No module named install
There is indeed no module called install in the Python 2.7 installation so I'm guessing it's created in /tmp as part of the build process but is destroyed as part of the clean-up after the install fails.
Any ideas or could you please pass this on to someone who may know the answer?
cheers, Andy
Some relevant info:
1) PYTHONPATH: /usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7
2) PETSc installation invoked with:
PETSC_CONFIGURE_OPTIONS="--download-ctetgen --download-triangle --download-chaco --with-threadcomm --with-openmp --with-pthreadclasses" pip install -U --no-deps https://bitbucket.org/petsc/petsc/get/master.tar.bz2
3) tail end of error report:
Copying petsc.egg-info to /usr/local/lib/python2.7/dist- packages/petsc-3.6.dev0.egg-info
running install_scripts
writing list of installed files to '/tmp/pip-HbDw3I-record/ install-record.txt'
PETSc: install
install options:
--destDir=/usr/local/lib/python2.7/dist-packages/petsc
--prefix=/usr/local/lib/python2.7/dist-packages/petsc
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-lrwh8t-build/setup.py", line 307, in <module>
**metadata)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-lrwh8t-build/setup.py", line 221, in run
install(dest_dir, prefix, self.dry_run)
File "/tmp/pip-lrwh8t-build/setup.py", line 160, in install
import install
ImportError: No module named install
---------------------------------------- Rolling back uninstall of petsc Cleaning up... Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip- lrwh8t-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-HbDw3I-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-lrwh8t-build Traceback (most recent call last): File "/usr/bin/pip", line 9, in <module> load_entry_point('pip==1.5.4', 'console_scripts', 'pip')() File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 185, in main return command.main(cmd_args) File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main text = '\n'.join(complete_log) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 68: ordinal not in range(128)