Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is the working minimum installation needed to submit HERA calibration jobs to HTCondor at CHTC.

Set Variables (alter this for your account)

export BASE=~/hera/share

Download Miniconda for python-3.7

Install Miniconda

bash ~/download/Miniconda3-latest-Linux-x86_64.sh -p ${BASE}/miniconda3 -b


Activate conda's base environment 

source ${BASE}/miniconda3/bin/activate

Optionally install conda environment in your .bashrc

conda init

Update Conda (381MB)

conda update -y conda

conda install -y pip



Install HERA specific repos (2.6GB)

pip install git+https://github.com/HERA-Team/hera_cal.git

pip install git+https://github.com/HERA-Team/hera_cal.git

    git clone https://github.com/HERA-Team/hera_opm.git

pushd hera_opm

git pull

git checkout condor_v2

pip install .

python setup.py install

popd


Install Makeflow

cd ${BASE}

git clone https://github.com/cooperative-computing-lab/cctools.git

pushd cctools

./configure --prefix=${BASE}/cctools

make clean

make install

    This produces an ignorable error about manuals and doc

export PATH=${PATH}:${BASE}/cctools/bin

popd


Re-install hera_opm

pushd ${BASE}/hera_opm

pip install .

popd



Running

export BASE=~/hera/share

source ${BASE}/miniconda3/bin/activate

export PATH=${PATH}:${BASE}/cctools/bin