cwvh/pbsmake — Issue #15: Getting rid of other #PBS comments
Author: imoverclocked
Created: 2012-01-05 20:35:58+00:00
State: open

Going through the list of options for qsub (http://www.clusterresources.com/torquedocs/commands/qsub.shtml) we need a minimal set of functionality for our environment to cleanly get rid of #PBS in our scripts.

Catch-all keyword for un-supported extensions:
@qsub-opt

Output processing: (-j oe -k oe)
@join oe
@keep oe

Resources: (-l key[=value][,key[=value]]...)
@resource key[=value]

Mail opts: (-m abe -M user@host[,user2@host]...)
@mailon abe
@mailto user@host[,user2@host]...

Job Naming: (-N hr-name)
@name hr-name

Job Queue: (-q queue-name)
@queue queue-name

Environment (see separate issue for -v and -V handling)

Misc attributes: (-W attr_list)
@pbs_attr -W some_random_attr=1
-- this may need to be another cumulative attribute similar in spirit to @export since (for example) we also use -W for dependencies