throws WorkspaceException {
if (memoryMB < 1) {
final String err = "invalid memory " +
"request: " + Integer.toString(memoryMB);
throw new WorkspaceException(err);
}
if (ppn < 0) {
final String err = "invalid processors per node " +
"request: " + Integer.toString(ppn);
throw new WorkspaceException(err);
}
if (walltimeSeconds < 1) {
final String err = "invalid walltime request: " +
Long.toString(walltimeSeconds);
throw new WorkspaceException(err);
}
final ArrayList cmd = new ArrayList(20);
cmd.add(this.submit);