I'm using Qube 5.1.0 and the expand flag doesn't seem to work. For example:
qbsub --flags expand --range 1-5 Render -r mr -s QB_FRAME_NUMBER -e QB_FRAME_NUMBER /path/to/mayaSceneFile.ma
In this case, the frames get rendered one at a time on one machine. However if I use this:
qbsub --cpus 100 --range 1-5 Render -r mr -s QB_FRAME_NUMBER -e QB_FRAME_NUMBER /path/to/mayaSceneFile.ma
then frames get rendered concurrently on multiple machines. Any ideas? Also are there any drawbacks to just using
--cpus 9999999
for all the qbsub submissions to use all the available processors?
The expand flag will dispatch subjobs until the first frame completes, so if your frames are very short, you could conceivably have a single subjob do all your frames.
If you want to force a certain number of subjobs, then I would go with the second form, however I wouldn't request any more than the total number of licensed hosts. Any more, and you will just waste time dispatching subjobs even after all the frames are completed. They'll run, but they will consume resources until they find out there are no frames to render.
--cpus 9999999would be very bad. You would lock up your farm until 9 million subjobs ran, and you would have to kill them to get anything going. Even killing 9 million subjobs would take a non-trivial amount of time. Please don't do this.