Skip to content

Building and installing the UCoMP pipeline code

Michael Galloy edited this page May 23, 2023 · 13 revisions

Requirements

  • IDL 8.2.3 or later (installed on all MLSO systems)
  • cmake 3.1.3 or later (use /home/mgalloy/software/bin/cmake or build your own)
  • MySQL developer installation (installed on mahi, ask CSMT if you need it installed somewhere else)
  • Python 3 or later (use /home/mgalloy/anaconda3/bin/python or get your own Anaconda installation)

Get the ucomp-pipeline code

Checkout the ucomp-pipeline code with:

git clone https://github.com/NCAR/ucomp-pipeline.git

Configuring your system

To configure the UCoMP pipeline for your system (if you are at HAO), you can use the example configuration script, linux_configure, in the pipeline source code:

./linux_configure

Otherwise, you can do the following from the top-level of the pipeline source code (change the location of your IDL installation and the location where you want the pipeline to be installed to your needs):

mkdir build
/home/mgalloy/software/bin/cmake/cmake \
  -DCMAKE_INSTALL_PREFIX:PATH=~/software/ucomp-pipeline \
  -DIDL_ROOT_DIR:PATH=/opt/share/idl8.5/idl85 \
..

Build and install

Next, run:

cd build
make install

This will create the ucomp script in ~/software/ucomp-pipline/bin that you can run. Put this directory in your PATH if you want to be able to run it regularly.

Clone this wiki locally