openpbs and torque are different. Just in case this is PBS OSS / openpbs forum.
Compiling OpenMPI with openpbs, this forum discussion might be helpful
Thank you.