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

Problem with Oasis installation in Anaconda #27

Open
KoenFranse opened this issue Sep 30, 2019 · 0 comments
Open

Problem with Oasis installation in Anaconda #27

KoenFranse opened this issue Sep 30, 2019 · 0 comments

Comments

@KoenFranse
Copy link

KoenFranse commented Sep 30, 2019

Hello,

Probably a stupid question, but I don't seem to get Oasis running properly.

I have installed Anaconda on one of the university clusters, since it does not run on Ubuntu but on Centos. I managed to get FEniCS working in Anaconda, but for Oasis I have some problems.

Since the git cloning did not work properly, I downloaded the zip-file containing the Oasis files and unpacked this on the cluster in /home/my_account/oasis_solver. After that I navigated to this folder, activated FEniCS in Anaconda using source activate fenicsproject and installed Oasis using:
python setup.py install

The software does install and I am able to run the DrivenCapacity problem with the NSfracStep.py file in /home/my_account/oasis_folder/oasis. However, Oasis does not look in the problems folder that I expected (/home/my_account/oasis_folder/oasis/problems/NSfracStep/) but in a copy that was created during the installation (/home/my_account/anaconda2/envs/fenicsproject/lib/python3.7/site-packages/oasis-2018.1-py2.7.egg/oasis/problems/NSfracStep).

How can I change the problems folder to the location in my normal Oasis folder? Or did I do something wrong in the installation? I also tried using python setup.py install --prefix=/home/my_account/oasis_folder, but I get an error than because this is not in my PYTHONPATH, or it does not support .pth file.

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

1 participant