-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
Jorge edited this page Jan 8, 2022
·
1 revision
The BGC library has the following dependencies:
Let's go step by step:
Clone this repository into your machine:
git https://gitlab.com/jorgenavarrom/BGC_lib.git
The easiest way to install all dependencies is through conda. On a Linux-based system, this would be as simple as:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
and following instructions.
Once conda is installed, let's create a virtual environment with all dependencies. Enter the folder with the BGC lib project and do
conda env create --file environment.yml
To activate the environment, do conda activate bgclib
(and to deactivate the environment, conda deactivate
)
If you are running BGCtoolkit from the BGC_lib folder, this step is optional.
With the bgclib
environment activated, go to the BGC_lib project folder and do python setup.py install
.