Question About Passing Environment Variables for PBS Job

Another option is to use the wrapper script to actually execute the qsub command via ssh to a login node. That would ensure you have the same environment as you would when submitting from the login node.

This issue describes a request on how to use ssh and the individual who posted the issue actually provided a repo with a set of wrappers that appear to work for Slurm. I imagine these could be modified to work in the same way with Open HPC.