1. Download latest CASA tarball that pipeline is being developed from (currently CASA 6.4.1) if not available already
    1. https://casa.nrao.edu/download/distro/casa/releaseprep/
  2. Install astropy and bdsf modules into CASA
    1. $CASAPATH/bin/pip3 install astropy
    2. $CASAPATH/bin/pip3 install bsdf
  3. Download pipeline trunk from git repository
    1. git clone https://open-bitbucket.nrao.edu/scm/pipe/pipeline.git pipeline-main.git

Installing pipeline using a direct build from the main branch

export CASAPATH=/lustre/aoc/projects/srdp/casa-6.4.1-7
export PATH=$CASAPATH:$PATH
export PATH=$CASAPATH/bin:$PATH
export PATH=/lustre/aoc/projects/srdp//pipeline-main.git:$PATH
export SCIPIPE_HEURISTICS="/lustre/aoc/projects/srdp/pipeline-main.git"

cd pipeline-main.git
git pull
python3 setup.py install

$CASAPATH/bin/casa --pipeline   - should now work!


Installing pipeline branch for ticket validation

export CASAPATH=/lustre/aoc/projects/srdp/casa-6.4.1-7
export PATH=$CASAPATH:$PATH
export PATH=$CASAPATH/bin:$PATH
export PATH=/lustre/aoc/projects/srdp//pipeline-main.git:$PATH
export SCIPIPE_HEURISTICS="/lustre/aoc/projects/srdp/pipeline-main.git"

cd pipeline-main.git
git checkout PIPE-835-reorganize-amp-vs-uv-distance-amp-vs-freq-phase-vs-freq-target-vs.freq-plots-in
git pull
python3 setup.py install

$CASAPATH/bin/casa --pipeline - should now work! - check pipeline version to ensure install went properly




Hints- if validating lots of tickets, might be worthwhile to copy your original CASA directory to ones specific to the tickets being tested and to download separate clones of the pipeline trunk. For example,

cp -r  casa 6.4.1-7 casa-6.4.1-7-pipe-835

git clone https://open-bitbucket.nrao.edu/scm/pipe/pipeline.git  pipeline-pipe-835.git

export CASAPATH=/lustre/aoc/projects/srdp/casa-6.4.1-7-pipe-835
export PATH=$CASAPATH:$PATH
export PATH=$CASAPATH/bin:$PATH
export PATH=/lustre/aoc/projects/srdp//pipeline-pipe-835.git:$PATH
export SCIPIPE_HEURISTICS="/lustre/aoc/projects/srdp/pipeline-pipe-835.git"

cd pipeline-pipe-835.git
git checkout PIPE-835-reorganize-amp-vs-uv-distance-amp-vs-freq-phase-vs-freq-target-vs.freq-plots-in
git pull
python3 setup.py install

$CASAPATH/bin/casa --pipeline

  • No labels