Add option to select memory unit for SGE

We would need this option @CRG to configure JIP for our cluster configuration