Analysis code for SIDM, making use of Coffea.
Environment management: Miniconda
Requirements:
- python3
- Coffea
- xrootd
- jupyterlab
conda activate FireHydrant
conda deactivate
jupyter lab --no-browser --port=8888 # replace by your favourite port
-
Install Miniconda (if you have not install Miniconda yet)
- go to https://docs.conda.io/en/latest/miniconda.html,
- get the bash installer script of Linux, Python3.7 64-bit with
wget
orcurl
, - then
bash Miniconda3-latest-Linux-x86_64.sh
- (you need to type
ENTER
oryes
at some point, add conda sourcing to your.bashrc
or equivalent) - a quick reference on managing environments with
conda
.
-
Edit/create .bash_profile file (for Bash users only)
- open
~/.bash_profile
- add the line:
source ~/.bashrc
- save and exit
- open
-
Clone repo
git clone https://github.com/phylsix/FireHydrant.git cd FireHydrant
-
Install packages
./setup.sh