Installation

It is easies to run WindSE within a conda environment. To install conda check this link: Conda Installation. Additionally, WindSE has been tested on MacOS Catalina (10.15), but in theory should also run on linux. Windows is not recommended.

Source Conda Installation (Script):

The easiest way to install windse is to run:

sh install.sh <enviroment_name>

Then the enviroment can be activated using:

conda activate <enviroment_name>

Source Conda Installation (Manual):

If you want to use the latest version or just want to setup the environment manually, follow these steps. After conda is installed, create a new environment using:

conda create --name <enviroment_name>

You can replace the name <enviroment_name> with a different name for the environment if you want. Next we activate the environment using:

conda activate <enviroment_name>

or whatever you named your environment. Now we need to install the dependent packages using:

conda install -c conda-forge fenics=2019.1.0=py38_9 dolfin-adjoint matplotlib scipy=1.4.1 slepc mshr hdf5 pyyaml memory_profiler pytest pytest-cov pytest-mpi coveralls

Next, we need to install the tsfc form compilers::

pip install git+https://github.com/blechta/tsfc.git@2018.1.0
pip install git+https://github.com/blechta/COFFEE.git@2018.1.0
pip install git+https://github.com/blechta/FInAT.git@2018.1.0
pip install git+https://github.com/mdolab/pyoptsparse@v1.0
pip install singledispatch networkx pulp openmdao

Finally, download/clone the WindSE repo and run:

pip install -e .

in the root folder.