 A US Navy yard oiler was used to escort the sub at the beginning of  the movie. It was in Long Beach CA, and the Red October was built to  look like it submerged by using two articulated barges and flooding  the front one while being towed.