Folks,
Apologies for not responding with this idea earlier. This question is essentially a duplicate of Question About Passing Environment Variables for PBS Job - #2 by rodgers.355.
The idea is to write a wrapper for qsub
to SSH to a login node and launch from there. To support that sort of workflow many of OnDemand’s adapters including the one for PBSPro support overriding the default scheduler commands (qsub
, qstat
, …) using the bin_overrides
section of the PBSPro cluster config.