From 10d57192f9d1abeaf4f75d3eb562fa10134e7474 Mon Sep 17 00:00:00 2001 From: Ethan Young Date: Tue, 26 Mar 2024 15:16:36 -0600 Subject: [PATCH] fix channel name, spell out all options, cleaning --- install.sh | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/install.sh b/install.sh index 4216b79..1b2457f 100644 --- a/install.sh +++ b/install.sh @@ -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/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 . - ### Install dependencies from environment mamba env update --prefix ${conda_base_path}/envs/${env_name} --file environment.yaml --prune