-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
thetis error #372
Comments
Hello! Looks like you have activated the Firedrake virtual environment but Thetis is not found when you try to run an example - did you install Thetis when you installed Firedrake i.e. If not, you should be able to install Thetis as explained on the website with |
Hello sir, yes i installed thetis in to the following directory in wsl by the command python3 firedrake-install --install thetis Install log saved in /home/charitha/firedrake-install.log |
how can i run the example please? |
The example is not running because Thetis is not being imported, which suggests a problem with the install or the path to Thetis. Firstly, you can check that Firedrake has fully installed correctly by running (within your Firedrake environment)?
|
Hello sir, I will check this and let you know. I extremely sorry for the late reply. Due to a field visit I unable to do the works related to the thetis on the weekend. |
Hello sir, this is the output of the above command. Traceback (most recent call last): |
I notice you’re using Python 2. This is unlikely to work as Firedrake (and therefore Thetis) have Python 3 as a dependency. Please could you try reinstalling Firedrake and Thetis using a recent version of Python 3? |
@charithaRdissanayaka : are you sure you ran that command with the firedrake environment activated? Can you try again but now using:
(notice the change in the second command) |
Hello Sir, I installed python3.12 and set the environment. |
Hello Sir, I uninstalled the firedrake. |
Hello sir, I installed poython3.12 and change the environment. (firedrake) charitha@DRS101092606: now how can I run the tutorial please? |
It looks like there are still some problems with the Firedrake install as libsupermesh is not being installed due to some dependencies, to fix this you can follow these steps: firedrakeproject/firedrake#3374 Please try this and then run the tests as Stephan described above to check that Firedrake has installed correctly. Unfortunately it can be a little tricky to install Firedrake, but once it is installed we can run the Thetis examples. |
Hello sir, Thank you very much for your reply. I will follow the method explain in the given discussion link. |
Dear all,
I am very new for thetis.
i installed firedrake and clone the thetis folder from github.
how can I run the example cases?
I just run examples/channel3d/channel3d.py, then following error encountered.
(firedrake) yachiyo@DRS101092606:/mnt/c/Users/Z02263/Desktop/THETIS/thetis/examples/channel3d$ python3 channel3d.py
Traceback (most recent call last):
File "/mnt/c/Users/Z02263/Desktop/THETIS/thetis/examples/channel3d/channel3d.py", line 13, in
from thetis import *
ModuleNotFoundError: No module named 'thetis'
Please be kind enough to explain me how to start thetis modelling work.
The text was updated successfully, but these errors were encountered: