Need to set one's environment like this:
login1$ cat .profile_user
#!/bin/bash
module load intel/11.1
module load java64/1.6.0
module unload mvapich2
module load openmpi
#module swap mvapich openmpi
login1$
In PTP, set:
Target system configuration: edu.utexas.tacc.lonestar.sge.batch
Queue: development
Parallel environment: 12way 12
Also, set the environment variable MY_NSLOTS to 5 by doing the following: