How to write a script for a program run in two hosts?


Bravo! I’ve solved this issue.
It’s not the wrong configuration.
I re-install with source code(18.1.2) and it works.

To everyone view this topic, it is not recommended to install pbs pro(14.1.2) via yum from the repo of ohpc.

At last, adarsh, thank you for your generous help.