Setting up distributed workers on seperate nodes of cluster - PBS and OpenMPI

The solution ended up being very specific to the HPC I’m using. I’ve attached a screenshot below in case it is useful for someone else in the future, but it’s so particular that I somewhat doubt it: