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.
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.