85c85
< -j <jobfile> specify the jobfile (default is <basedir>/test.py)
---
> -j <jobfile> specify the jobfile (default is <rootdir>/Test.py)
89c89
< -j <jobfile> specify the jobfile (default is <basedir>/test.py)
---
> -j <jobfile> specify the jobfile (default is <rootdir>/Test.py)
99c99
< opts, args = getopt.getopt(sys.argv[1:], '-CRcd:efhj:lq:v')
---
> opts, args = getopt.getopt(sys.argv[1:], '-Ccdefhj:lq:Rt:v')
102a103
> depend = False
110c111
< jfile = 'Base/test.py'
---
> jfile = 'Test.py'
113a115
> node_type = 'FAST'
118,119d119
< if opt == '-R':
< runflag = True
121a122,123
> if opt == '-d':
> depend = True
134a137,140
> if opt == '-R':
> runflag = True
> if opt == '-t':
> node_type = arg
151a158,159
> if not isdir(conf.basedir):
> os.mkdir(conf.basedir)
239a248,250
> if depend:
> cptdir = JobDir(joinpath(conf.rootdir, job.checkpoint.name))
> cptjob = cptdir.readval('.pbs_jobid')
252c263
< qsub.node_type = 'FAST'
---
> qsub.node_type = node_type
255c266,268
< if len(queue):
---
> if depend:
> qsub.afterok = cptjob
> if queue: