Giter VIP home page Giter VIP logo

sbatch_job_monitor's Introduction

sbatch_job_monitor

Brief Summary

sbatch interface for "plco-analysis" project

Overview

This README is an automated stub generated from a cookiecutter template. Documentation below reflects the state of the templated project immediately after creation and may not reflect the current state of the project after development updates.

Requirements

  • g++ >= 8.2.0
  • automake/autoconf
  • make >= 4.2
  • git >= 2.28.0
  • nodejs (for commitizen)
  • pre-commit
  • associated linting tools for C++: cppcheck, clang-format
  • boost headers
  • boost program_options

Build

By default, a build process involving a conda environment is supported.

  • if you wish to use conda and it's not currently available, you can install it with the instructions here

  • navigate into your project directory (sbatch_job_monitor)

  • create the conda environment for installation as follows:

    conda env create -f environment.yaml

  • activate the conda environment:

    conda activate sbatch_job_monitor-env

  • (one time only per environment) install commitizen:

    npm install -g commitizen cz-conventional-changelog

  • (one time only per environment) install pre-commit linters:

    pre-commit install

  • update (create) the necessary configure scripts with autoreconf:

    autoreconf --force --install

    • note that this can also be run with ./generate.bash inside the repo
  • run configure:

    ./configure --with-boost=/path/to/miniconda3/envs/sbatch_job_monitor-env --with-boost-libdir=/path/to/miniconda3/envs/sbatch_job_monitor-env/lib

    • if you are planning on installing software to a local directory, run instead ./configure --prefix=/install/dir [...]
    • periodically there are some incompatibility issues between configure and conda. if so, you may need to override some default locations detected by configure. for example, you might override the detected compiler with: CC=gcc CXX=g++ ./configure [...]
  • run make CPPFLAGS=""

    • this is a non-standard make invocation. the reason this is included is because the project is configured to specifically use a boost installation in the accompanying conda environment. if you'd rather remove boost from the conda environment, or ignore it in favor of a system-wide boost installation, you can adjust the appropriate configure parameters accordingly and instead invoke make without any further variable overrides
  • if desired, run make install. if permissions issues are reported, see above for reconfiguring with ./configure --prefix.

    • as above, if you run installation without compiling first, you will again need to override CPPFLAGS as follows: make CPPFLAGS="" check

Usage

By default, the final compiled program can be run with

./sbatch_job_monitor.out

Version History

14 01 2021: project generated from cookiecutter template

sbatch_job_monitor's People

Watchers

James Cloos avatar Wendy Wong avatar Mia Steinberg avatar Nathan Cole avatar Bari Ballew avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.