add autodetection of host and conditional usage of openmpi versions