Skip to content
hero
Philippe Bordron

Conda

Description

The tool conda is a package manager that lets you to install some libraries and softwares in compartmentalized environments. Here we'll be using the miniforge distribution that has the following advantages:

Objectives

Configure and use conda on the cluster by using the version available with the modules.

Remark

This documentation is written for conda installed by Genotoul-Bioinfo platform. You can use this documentation with another installation, but some parts may not apply to it.

How to?

TL;DR

Prerequisites

Configure conda the first time you use it on the cluster, else you may block your account by filling your $HOME directory.

Load the Miniforge3 module and use following commands:

# Load conda modulemodule load devel/Miniforge/Miniforge3# Create an envconda create -p <env> ......
# Activate the env# /!\ This command differs from the usual 'conda activate' command /!\source activate <env># Do something with env...
# Deactivate the envconda deactivate

Activation command

On the cluster, environment activation uses the command source activate <env> instead of conda activate <env>.

Video clips

Conda video clips