forked from NatLabRockies/WindSE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
21 lines (16 loc) · 782 Bytes
/
install.sh
File metadata and controls
21 lines (16 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
### Run this to use conda in the script
source $(conda info --base)/etc/profile.d/conda.sh
### Create the Environment
conda create -y --name $1
conda activate $1
### Install conda-forge dependencies
conda install -y -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
### Install the new tsfc compiler
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==3.16.0
### Install editible version of WindSE
pip install -e .