The operation of the submarine as shown in this movie was so accurate that the Navy used it as a training film during World War II.
The Copperfin submarine was an exact scale model of a real US Navy submarine. However, for reasons of military security, equipment and operating mechanisms were of varying kinds and varieties not found on US submarines so the enemy could not get an accurate picture of what the interior of a Navy submarine looked like.
Two members of the real-life US Navy submarine Wahoo were consultants and technical advisers on this film, according to a story in the "New York Herald Tribune". They were crew member Andy Lennox and Lt. Cmdr. Dudley Walker Morton. As a way of saying "thank you" the chili and canned pumpkin used by "Cookie" is labeled as being made by "Lennox".
The enlisted men joke that the Captain uses the sun lamp a lot. This was a way to explain the deep tan that Cary Grant always maintained because he hated wearing makeup.