In terms of performance it doesn't matter if you install it below or above the water line. The net elevation change is always zero because the pump needs to return the water to the same level from which it got it so net static head is zero. However, when the pump is below the water line, you need extra valves to prevent draining the pool which creates more head loss.