This is an old revision of the document!
Installation of the Bilby Framework
All of the following explanations expect that you use a linux command line.
Whenever some names are subject to your choice, they are marked as [CHOICE]
.
While some of the routines displayed here can be helpful 'for private use', you usually employ parallel bilby on a computer cluster.
This should usually have python
and miniconda
available. You might need to activate these, though, typing:
module load python
If miniconda
is not yet installed, you can get it the usual way.
Basic Packages
It will save you a great amount of pain to use a dedicated python environment for your work with bilby. Create it with
conda create -n [YOUR_PBILBY_ENVIRONMENT] python=3.7
and hit y
when asked if you want to proceed. Then activate it by typing
conda activate [YOUR_PBILBY_ENVIRONMENT]
Python packages are distributed through sometimes conflicting channels. To avoid conflicts, we make sure to use the very common channel conda-forge
:
conda config --add channels conda-forge conda config --set channel_priority strict
Then execute the following commands to install packages that the bilby-family requires:
conda install mpi4py conda install ipython conda install numpy conda install scipy conda install matplotlib
[CHOICE]