This directory provides scripts to automate the creation of a conda environment for reproducible runs of the Tutorial notebooks in both python and R.
bash -i setup_env.sh
This will create the environment with both Python and R dependencies, but it does not enable a GPU.
The following optional flags are available as well:
- -c | --conda: use the conda command to generate the environment, otherwise defaults to mamba
- -k | --kernel: install jupyter kernels to run notebooks in the environment
- -g | --gpu: install necessary dependencies to run a cuda-enabled GPU
- -p | --python-only: sets up only the python-associated dependencies. Use this if you do not plan using R.
- -n | --name <ENV_NAME>: specify the environment name, otherwise defaults to "ccc_protocols"
In case of issues, .yml files are commented to include exact versions and builds used.
bash -i setup_env.sh --conda --gpu --kernel
bash -i setup_env.sh --conda --python-only --kernel
bash -i setup_env.sh --conda --python-only --gpu --kernel