Skip to content
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

missing dependency in Oasis? #1

Open
gasagna opened this issue Jul 17, 2014 · 2 comments
Open

missing dependency in Oasis? #1

gasagna opened this issue Jul 17, 2014 · 2 comments

Comments

@gasagna
Copy link

gasagna commented Jul 17, 2014

HI,

I am trying the driven cavity problem, and I get this exception by oasis:

vagrant@vagrant-ubuntu-trusty-64:/vagrant/Oasis$ python NSfracStep.py problem=DrivenCavity Nx=100 Ny=100
Creating initial folders
Traceback (most recent call last):
  File "NSfracStep.py", line 260, in <module>
    vars().update(setup(**vars()))
  File "/vagrant/Oasis/solvers/IPCS_ABCN.py", line 67, in setup
    from fenicstools.WeightedGradient import weighted_gradient_matrix
ImportError: No module named fenicstools.WeightedGradient

I am running fenics within the new Vagrant installation option. I am able to run any other fenics demo, so apparently i am missing something.

Davide

@mikaem
Copy link
Owner

mikaem commented Jul 17, 2014

Hi David,

I'm currently on vacation without a computer so it's a bit difficult to help. You need fenicstools installed to use the weighted gradient option. See if you can get fenicstools installed alright first and then we can take it from there.

Best regards

Mikael

Den 17. juli 2014 kl. 11:28 skrev Davide Lasagna notifications@github.com:

HI,

I am trying the driven cavity problem, and I get this exception by oasis:

vagrant@vagrant-ubuntu-trusty-64:/vagrant/Oasis$ python NSfracStep.py problem=DrivenCavity Nx=100 Ny=100
Creating initial folders
Traceback (most recent call last):
File "NSfracStep.py", line 260, in
vars().update(setup(**vars()))
File "/vagrant/Oasis/solvers/IPCS_ABCN.py", line 67, in setup
from fenicstools.WeightedGradient import weighted_gradient_matrix
ImportError: No module named fenicstools.WeightedGradient
I am running fenics within the new Vagrant installation option. I am able to run any other fenics demo, so apparently i am missing something.

Davide


Reply to this email directly or view it on GitHub.

@gasagna
Copy link
Author

gasagna commented Jul 18, 2014

Hi,

I have installed fenicstools from your repo, and I am able to run some of the example problems. However, i have encountered a strange bug, see mikaem/fenicstools#5.

mikaem pushed a commit that referenced this issue Feb 28, 2015
Update fork repo from master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants