Skip to main content

Dendro compute resource prerequisites

Suppose you have a Linux machine and would like to use it as a dendro compute resource. Here are the recommended steps to prepare it with the necessary software.

Use Linux

Any distribution should do.

Conda / Miniconda

I recommend using Miniconda, but you can use other conda solutions, virtualenv, etc.

Follow these instructions: https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html

This will involve downloading the Linux installation script file (usually the "Miniconda3 Linux 64-bit" option) and running it using bash.

Create a new conda environment. I'd recommend using Python 3.9, but you can more recent versions as well.

conda create -n processing python=3.9

You can replace "processing" with any name you like. To use this environment run the following each time you open your terminal

conda activate processing

or add this command to your ~/.bashrc file to automatically start in this environment each time you open a new terminal.

Install docker or apptainer

To use your computer as a dendro compute resource, you'll most likely need to install either docker or apptainer (or singularity). Docker is simpler to install, whereas apptainer is better for shared environments or compute clusters.

To install docker server (or docker engine): https://docs.docker.com/engine/install/

To get started with apptainer: https://apptainer.org/