Skip to content

imoverclocked/pbsmake

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Make-like wrapper for job scheduling on PBS systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published