// [-pe pe-name slot_range] request slot range for parallel jobs
@OptionAnnotation(value = "-pe", min = 2)
public void setPE(final OptionInfo oi) throws JGDIException {
job.setPe(oi.getFirstArg());
String[] range = oi.getFirstArg().split("[-]");
Range apeRange = new RangeImpl();
if (range[0] != null && range[0].length() > 0) {
apeRange.setMin(Integer.parseInt(range[0]));
}
if (range.length > 1 && range[1] != null && range[1].length() > 0) {
apeRange.setMax(Integer.parseInt(range[1]));
}
job.addPeRange(apeRange);
}