GithubHelp home page GithubHelp logo

pbsmake's Introduction

pbsmake

distributed make for PBS job scheduling systems

install

pbsmake is a simple Python script, so you only need to add it to your $PATH. We also rely on the argparse module which is included in Python 2.7 and q* family of commands from a PBS installation in $PATH.

usage

Running pbsmake requires a build target to be specified on the command-line and takes an optional path to a makefile. If no makefile is given, the default './Makefile' will be used like in traditional make programs.

$ python pbsmake.py
usage: pbsmake.py [-h] [-f MAKEFILE] target [target ...]

$ python pbsmake.py mytarget

$ python pbsmake.py -f some/Makefile myothertarget

Also, pbsmake can be used as a script interpreter by using -f as follows.

--- makescript ---
#!/usr/bin/env pbsmake.py -f

target1: target2
	echo running target 1

target2:
	echo running target 2
------------------

$ ./makescript target1

Sometimes this may not work (notably OSX) and you will need to use a work-around: (NB: still need to thoroughly test this...)

--- makescript ---
#!/usr/bin/env python /path/to/pbsmake.py -f

target1: target2
	echo running target 1

target2:
	echo running target 2
------------------

authors

Tim Spriggs

Chris Van Horne

pbsmake's People

Contributors

cwvh avatar imoverclocked avatar

Watchers

 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.