As reported before, I saw someone saying that they solved this with:
--enable-mca-static=plm:tm

A new install using this configure option does work for me, but only for
code recompiled with this new mpicc. Existing code doesn't spawn properly.

As such, I'd much rather get the existing install working again.

It was suggested that I need the torque libraries on the compute nodes,
which they are. However adding them to ld.so.conf has not solved this,
so I'm not sure what more needs to be done to solve this without
recompiling openmpi.