... | ... | @@ -6,7 +6,6 @@ Identify a directory that can hold ~50GB of files for the conda software install |
|
|
|
|
|
Create a config file to list which conda environments should be installed. Unless you have specific requirements, the cds environment should suffice. Put this in your /opt/conda/conda_config.yaml file:
|
|
|
|
|
|
```
|
|
|
---
|
|
|
home: "/opt/conda"
|
|
|
forge_url: "https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/"
|
... | ... | @@ -14,11 +13,9 @@ remove_missing: false |
|
|
user_configs: []
|
|
|
environs:
|
|
|
cds:
|
|
|
```
|
|
|
|
|
|
Create /etc/profile.d/conda.sh with the following contents, adjusting conda_base as needed:
|
|
|
|
|
|
```
|
|
|
conda_base='/opt/conda/base'
|
|
|
default_env=''
|
|
|
|
... | ... | @@ -42,6 +39,5 @@ if [ "${ssh_incoming_port}" == "22" -o -z "${ssh_incoming_port}" ] ; then |
|
|
fi
|
|
|
fi
|
|
|
fi
|
|
|
```
|
|
|
|
|
|
Now run update_conda.py --config /opt/conda/conda_config.yaml This will take a while (~15 minutes or more per environment). |
|
|
\ No newline at end of file |