-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix channel name, spell out all options, cleaning
- Loading branch information
Showing
1 changed file
with
2 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,24 +5,11 @@ conda_base_path=$(conda info --base) | |
env_name=$1 | ||
|
||
### Run this to use conda in the script | ||
source $(conda info --base)/etc/profile.d/conda.sh | ||
source ${conda_base_path}/etc/profile.d/conda.sh | ||
|
||
### Create the Environment with mamba | ||
conda create -y --name ${env_name} -c conda_forge python=3.9 mamba | ||
conda create --yes --name ${env_name} --channel conda-forge python=3.9 mamba | ||
conda activate ${env_name} | ||
|
||
# ### 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/[email protected] | ||
# pip install git+https://github.com/blechta/[email protected] | ||
# pip install git+https://github.com/blechta/[email protected] | ||
# pip install git+https://github.com/mdolab/[email protected] | ||
# pip install singledispatch networkx pulp openmdao fatpack | ||
|
||
# ### Install editible version of WindSE | ||
# pip install -e . | ||
|
||
### Install dependencies from environment | ||
mamba env update --prefix ${conda_base_path}/envs/${env_name} --file environment.yaml --prune |