-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathinstall.sh
23 lines (17 loc) · 869 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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 pandas
# ### 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 fatpack
# ### Install editible version of WindSE
# pip install -e .
conda env create --name ${1} --file environment.yaml