TRQ-1709. For -lgpus=X... the ... was being appended to the gres, so it looked like Resource_List.gres=gpus:X... instead of simply .gres=gpus:X. This is now fixed.
Merge branch '4.1-dev' of https://github.com/adaptivecomputing/torque into 4.1-dev