S&P 500 Index opens flat as rising energy shares offset tech