Skip to content

flxb/pygrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyGrid

PyGrid provides a map-like interface for job submissions to gridengine clusters. Read the installation instructions and the tutorial in the documentation.

Features

  • No dependencies
  • Easy to use: no code rewrite necessary
  • Robust: Interactive interface allows to resubmit single jobs with different resource requests
  • Well documented: Tutorial and Function reference

Example use

import pygrid


def example_function(arg1, arg2, arg3=2):
    return arg1 + arg2 * arg3

if __name__ == '__main__':
    args = [{'arg1': 1, 'arg2': 2},
            {'arg1': 2, 'arg2': 3, 'arg3': 4}]

    results = pygrid.map(example_function, args, temp_folder='tmp',
                         use_cluster=True)

    print results  # will print [array(5), array(14)]

About

PyGrid provides a map-like interface for job submissions to gridengine clusters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages