The movie "On the Beach" was made in 1959, I forget when I saw it for the first time, probably in the 1970's. It stuck with me so much that in the 80's when I had a VCR I bought the VHS tape. It sometimes appears on the HDNET Movie channel and a few others at times.
It's about an American submarine crew that is docked in Australia when nuclear war breaks out and everyone in Europe and N. America are wiped out, they determine that a radioactive cloud will reach Australia and they have five months to live.
Fred Astaire plays a race car driver and in a big race everyone is crashing and going out of control because they know they will all die. The submarine crew decides to return to America because they rather die on U.S. soil, it has a very interesting ending.