chooseOPI function

chooseOPI selects an OPI machine to use.