problem with firedake installation
Hello, I work with Patrick Farrell and he sent me a code to run in firedrake. I installed it on my ubuntu system using the instructions on your website, installing it in a python virtual environment (unsetting my environmental variable $PETSC_DIR to do this as it came up with a warning about that). The installation seemed to work, but when I test the installation I get errors. Terminal output pasted below. Is this something to do with having the virtual environment and where it is trying to access python/petsc? How should I fix it? Many thanks for your help in advance. Teresa (firedrake) terkyr@tksbeast:~/firedrake/src/firedrake$ make alltest Building extension modules Linting firedrake codebase Linting firedrake test suite Linting firedrake scripts Running all regression tests ============================================================================== test session starts =============================================================================== platform linux2 -- Python 2.7.6, pytest-2.9.1, py-1.4.31, pluggy-0.3.1 benchmark: 3.0.0 (defaults: timer=time.time disable_gc=False min_rounds=5 min_time=5.00us max_time=1.00s calibration_precision=10 warmup=False warmup_iterations=1) rootdir: /home/terkyr/firedrake/src/firedrake, inifile: plugins: xdist-1.14, benchmark-3.0.0 collected 0 items / 1 errors ===================================================================================== ERRORS ===================================================================================== _______________________________________________________________________________ ERROR collecting ________________________________________________________________________________ ../../local/lib/python2.7/site-packages/py/_path/common.py:332: in visit for x in Visitor(fil, rec, ignore, bf, sort).gen(self): ../../local/lib/python2.7/site-packages/py/_path/common.py:368: in gen if p.check(dir=1) and (rec is None or rec(p))]) ../../local/lib/python2.7/site-packages/_pytest/main.py:647: in _recurse ihook = self.gethookproxy(path) ../../local/lib/python2.7/site-packages/_pytest/main.py:550: in gethookproxy my_conftestmodules = pm._getconftestmodules(fspath) ../../local/lib/python2.7/site-packages/_pytest/config.py:297: in _getconftestmodules mod = self._importconftest(conftestpath) ../../local/lib/python2.7/site-packages/_pytest/config.py:322: in _importconftest raise ConftestImportFailure(conftestpath, sys.exc_info()) E ConftestImportFailure: (local('/home/terkyr/firedrake/src/firedrake/tests/extrusion/conftest.py'), (<type 'exceptions.ImportError'>, ImportError('cannot import name map_expr_dags',), <traceback object at 0x2b67296b77a0>)) ============================================================================ 1 error in 0.38 seconds ============================================================================= make: *** [test] Error 1 -- Dr Teresa Kyrke-Smith Glaciologist British Antarctic Survey Cambridge +44 1223 221644 terkyr@bas.ac.uk<mailto:terkyr@bas.ac.uk> ________________________________ This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. ________________________________
Dear Teresa,
On 26 May 2016, at 09:49, Teresa Kyrke-Smith <terkyr@bas.ac.uk> wrote:
Hello,
I work with Patrick Farrell and he sent me a code to run in firedrake. I installed it on my ubuntu system using the instructions on your website, installing it in a python virtual environment (unsetting my environmental variable $PETSC_DIR to do this as it came up with a warning about that).
The installation seemed to work, but when I test the installation I get errors. Terminal output pasted below. Is this something to do with having the virtual environment and where it is trying to access python/petsc? How should I fix it?
Is your PYTHONPATH environment variable empty? If not, this may be the cause of the problem. Cheers, Lawrence
Many thanks for your help in advance. (<type 'exceptions.ImportError'>, ImportError('cannot import name map_expr_dags',), <traceback object at 0x2b67296b77a0>)) https://mailman.ic.ac.uk/mailman/listinfo/firedrake
participants (2)
- 
                
                Lawrence Mitchell
- 
                
                Teresa Kyrke-Smith