[VoxBo] Job control - environment variables and excluding machines

Daniel Kimberg kimberg at mail.med.upenn.edu
Fri Jan 23 08:16:28 EST 2009


Phil Cook wrote:
> I have two questions about vbbatch:

Not sure if this is still relevant, but just in case...

> 1. Is it possible to pass environment variables to the cluster. In SGE
> I would do something like "qsub -v HOME=/home/pcook". Is this possible
> with voxbo?

You can prepend environment variables to the command line the same way you would do from the shell.  E.g.:

vbbatch -c "ABABAB=xxx mycommand_here" a b c -r

(if you use something like "env > myenv.txt" as your command, you can satisfy yourself that it's working)

> 2. Can I exclude certain machines from receiving my jobs?

There's a mechanisms for indicating which machines have some facility you need (e.g., the non-crashing facility), but right now users can't do it manually, you'd need to get us to tag the machines in the cluster configuration.  Actually, I don't think you can do it with vbbatch at all.

dan


More information about the voxbo-general mailing list