Hello, I have tried updating firedrake for the first time in months but it seems to fail. The output suggests doing a firedrake-clean, which I have tried but that seems to have failed. I am attaching the log file. Can anyone suggest something that I might be able to try to get this working? Cheers, Francis ------------------ Francis Poulin Associate Dean, Undergraduate Studies Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637 [X]
Dear Francis,
On 22 Oct 2018, at 01:29, Francis Poulin <fpoulin@uwaterloo.ca> wrote:
Hello,
I have tried updating firedrake for the first time in months but it seems to fail. The output suggests doing a firedrake-clean, which I have tried but that seems to have failed. I am attaching the log file.
Can anyone suggest something that I might be able to try to get this working?
It looks like basically everything worked, but firedrake-clean failed. Can you try running that on its own in an activated venv? Cheers, Lawrence
Thanks Lawrence, I am not sure if this is exactly what you meant but I tried this and have the following output. Unfortunately, the updating does not get any better. Cheers, Francis (firedrake) fpoulin@amlt21:~/Desktop/Talks/10-ExperientialLearning/Notebooks$ firedrake-clean Removing cached TSFC kernels from /home/fpoulin/software/firedrake/.cache/tsfc Removing cached PyOP2 code from /home/fpoulin/software/firedrake/.cache/pyop2 ------------------ Francis Poulin Associate Dean, Undergraduate Studies Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637 [X] ________________________________ From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Lawrence Mitchell <wencel@gmail.com> Sent: Monday, October 22, 2018 4:36:59 AM To: firedrake Subject: Re: [firedrake] problems updating Dear Francis,
On 22 Oct 2018, at 01:29, Francis Poulin <fpoulin@uwaterloo.ca> wrote:
Hello,
I have tried updating firedrake for the first time in months but it seems to fail. The output suggests doing a firedrake-clean, which I have tried but that seems to have failed. I am attaching the log file.
Can anyone suggest something that I might be able to try to get this working?
It looks like basically everything worked, but firedrake-clean failed. Can you try running that on its own in an activated venv? Cheers, Lawrence _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
On 22 Oct 2018, at 12:32, Francis Poulin <fpoulin@uwaterloo.ca> wrote:
Thanks Lawrence,
I am not sure if this is exactly what you meant but I tried this and have the following output.
Unfortunately, the updating does not get any better.
Cheers, Francis
(firedrake) fpoulin@amlt21:~/Desktop/Talks/10-ExperientialLearning/Notebooks$ firedrake-clean Removing cached TSFC kernels from /home/fpoulin/software/firedrake/.cache/tsfc Removing cached PyOP2 code from /home/fpoulin/software/firedrake/.cache/pyop2
OK this was successful. I think, if I read the output correctly, that your firedrake-update step did complete successfully. Other than the final error message about firedrake-clean failing, was there any other reason you thought it had not? Lawrence
Yes, when I try importing firedrake things go badly. See below. (firedrake) fpoulin@amlt21:~/Desktop/Talks/10-ExperientialLearning/Notebooks$ python Python 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.
import firedrake Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/fpoulin/software/firedrake/src/firedrake/firedrake/__init__.py", line 30, in <module> import ufl File "/home/fpoulin/software/firedrake/src/ufl/ufl/__init__.py", line 323, in <module> from ufl.operators import rank, shape, \ File "/home/fpoulin/software/firedrake/src/ufl/ufl/operators.py", line 41, in <module> from ufl.mathfunctions import Sqrt, Exp, Ln, Erf,\ File "/home/fpoulin/software/firedrake/src/ufl/ufl/mathfunctions.py", line 25, in <module> import cmath ModuleNotFoundError: No module named 'cmath'
------------------ Francis Poulin Associate Dean, Undergraduate Studies Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637 [X] ________________________________ From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Lawrence Mitchell <wence@gmx.li> Sent: Monday, October 22, 2018 8:58:35 AM To: firedrake@imperial.ac.uk Subject: Re: [firedrake] problems updating
On 22 Oct 2018, at 12:32, Francis Poulin <fpoulin@uwaterloo.ca> wrote:
Thanks Lawrence,
I am not sure if this is exactly what you meant but I tried this and have the following output.
Unfortunately, the updating does not get any better.
Cheers, Francis
(firedrake) fpoulin@amlt21:~/Desktop/Talks/10-ExperientialLearning/Notebooks$ firedrake-clean Removing cached TSFC kernels from /home/fpoulin/software/firedrake/.cache/tsfc Removing cached PyOP2 code from /home/fpoulin/software/firedrake/.cache/pyop2
OK this was successful. I think, if I read the output correctly, that your firedrake-update step did complete successfully. Other than the final error message about firedrake-clean failing, was there any other reason you thought it had not? Lawrence _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
I decided to do a fresh install and that did the trick. Cheers, Francis ------------------ Francis Poulin Associate Dean, Undergraduate Studies Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637 [X] ________________________________ From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Francis Poulin <fpoulin@uwaterloo.ca> Sent: Monday, October 22, 2018 1:07:09 PM To: firedrake@imperial.ac.uk Subject: Re: [firedrake] problems updating Yes, when I try importing firedrake things go badly. See below. (firedrake) fpoulin@amlt21:~/Desktop/Talks/10-ExperientialLearning/Notebooks$ python Python 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.
import firedrake Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/fpoulin/software/firedrake/src/firedrake/firedrake/__init__.py", line 30, in <module> import ufl File "/home/fpoulin/software/firedrake/src/ufl/ufl/__init__.py", line 323, in <module> from ufl.operators import rank, shape, \ File "/home/fpoulin/software/firedrake/src/ufl/ufl/operators.py", line 41, in <module> from ufl.mathfunctions import Sqrt, Exp, Ln, Erf,\ File "/home/fpoulin/software/firedrake/src/ufl/ufl/mathfunctions.py", line 25, in <module> import cmath ModuleNotFoundError: No module named 'cmath'
------------------ Francis Poulin Associate Dean, Undergraduate Studies Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637 [X] ________________________________ From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Lawrence Mitchell <wence@gmx.li> Sent: Monday, October 22, 2018 8:58:35 AM To: firedrake@imperial.ac.uk Subject: Re: [firedrake] problems updating
On 22 Oct 2018, at 12:32, Francis Poulin <fpoulin@uwaterloo.ca> wrote:
Thanks Lawrence,
I am not sure if this is exactly what you meant but I tried this and have the following output.
Unfortunately, the updating does not get any better.
Cheers, Francis
(firedrake) fpoulin@amlt21:~/Desktop/Talks/10-ExperientialLearning/Notebooks$ firedrake-clean Removing cached TSFC kernels from /home/fpoulin/software/firedrake/.cache/tsfc Removing cached PyOP2 code from /home/fpoulin/software/firedrake/.cache/pyop2
OK this was successful. I think, if I read the output correctly, that your firedrake-update step did complete successfully. Other than the final error message about firedrake-clean failing, was there any other reason you thought it had not? Lawrence _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
On 22 Oct 2018, at 01:29, Francis Poulin <fpoulin@uwaterloo.ca> wrote:
Hello,
I have tried updating firedrake for the first time in months but it seems to fail. The output suggests doing a firedrake-clean, which I have tried but that seems to have failed. I am attaching the log file.
Can anyone suggest something that I might be able to try to get this working?
It looks like basically everything worked, but firedrake-clean failed. Can you try running that on its own in an activated venv? Cheers, Lawrence
participants (3)
- 
                
                Francis Poulin
- 
                
                Lawrence Mitchell
- 
                
                Lawrence Mitchell