Commit 35ce327e authored by André Anjos's avatar André Anjos 💬

Implement io_big flag for jman script

parent 7f037f7d
......@@ -164,6 +164,7 @@ def submit(args):
'array': args.array,
'memfree': args.memory,
'hvmem': args.memory,
'io_big': args.io_big,
}
if args.dry_run:
......@@ -174,7 +175,8 @@ def submit(args):
print 'deps:', args.deps,
print 'stdout:', args.stdout,
print 'stderr:', args.stderr,
print 'env:', args.env
print 'env:', args.env,
print 'io_big:', args.io_big
return
# if you get here, submit the job
......@@ -350,6 +352,8 @@ def main():
action='store_true', help='Wrap execution of your command using the current python interpreter')
subparser.add_argument('-z', '--dry-run',
action='store_true', help='Do not really submit anything, just print out what would submit in this case')
subparser.add_argument('-I', '--io-big', dest='io_big', default=False,
action='store_true', help='Sets "io_big" on the submitted jobs so it limits the machines in which the job is submitted to those that can do high-throughput')
subparser.add_argument('job', metavar='command', nargs=argparse.REMAINDER)
subparser.set_defaults(func=submit)
......
......@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='gridtk',
version='0.3.6',
version='0.3.7',
description='SGE Grid Submission and Monitoring Tools for Idiap',
url='https://github.com/idiap/gridtk',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment