Hi Reuti
I tried this but the problem I ran into was that the value of the environment variable OMPI_MCA_btl set in the PE start script is not propagated to the job script. Therefore the mpirun environment is not aware of its value. I must be missing something here, do you have any idea?
(I associate each hostgroup with its own PE, similar to the suggestion in that url, but with a common start script)