项目作者: NCAR

项目描述 :
Pipeline code for CoMP
高级语言: IDL
项目地址: git://github.com/NCAR/comp-pipeline.git
创建时间: 2015-06-12T20:01:08Z
项目社区:https://github.com/NCAR/comp-pipeline

开源协议:Other

下载


CoMP Pipeline code

Requirements

  • IDL 8.2.3 or later
  • cmake 3.1.3 or later
  • MySQL developer installation

Installation

To build the CoMP pipeline code, your system must have IDL, the MySQL client development package, and CMake 3.1.3 or later. Make sure these are installed on your system before continuing.

Configuring your system

To configure the CoMP pipeline for your system, 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 your needs):

  1. mkdir build
  2. cmake \
  3. -DCMAKE_INSTALL_PREFIX:PATH=~/software/comp-pipeline \
  4. -DIDL_ROOT_DIR:PATH=/opt/share/idl8.5/idl85 \
  5. ..

There are example configuration scripts, linux_configure.sh and mac_configure.sh, in the pipeline source code.

Build and install

Next, run:

  1. cd build
  2. make install

Running the pipeline

A configuration file is needed to run the pipeline. See the config directory of the installation for an example file with explanations for each option. Copy this configuration file to:

  1. comp.{username}.{machine_name}.cfg

with your username and machine name filled in. Edit this file, indicating where your data is and what options you want to run with.

To run the pipeline, from the installation root directory, do:

  1. make pipe

Run unit tests

If you specified a valid mgunit location in your installation configuration, you can run the unit tests. To run the unit tests:

  1. make unit

Generate API documentation

If you specified a valid IDLdoc location in your installation configuration, you can generate the API documentation. To generate the API documentation from the build directory, simply do:

  1. make doc