Support OpenMPI hosts files with turbine -f
@@ -184,8 +184,13 @@ fi
if [[ ${MACHINE_FILE} != 0 ]]
then
+ if [[ ${MPI_IMPL} == "OpenMPI" ]]
+ then
+ TURBINE_LAUNCH_OPTIONS+=( --hostfile ${MACHINE_FILE} )
+ else # MPICH
TURBINE_LAUNCH_OPTIONS+=( -f ${MACHINE_FILE} )
fi
+fi
shift $(( OPTIND-1 ))
