Lets suppose that you are pumping seawater through that pipe. Some of the water will boil and become steam. That could be collected and sold as pure H2O... the rest of the seawater will become extremely concentrated with the salt. At the end of the pipe where all this comes out, divert the salty water into ponds for evaporation. The steam would be billowing out the end of the pipe with some force. That force could be captured by turbines to create electricity... use the electricity to power the seawater pump.
A slight variation...
Disease-causing organisms in water are killed by exposure to heat in a process called pasteurization. Water that has been heated to 65ºC (150ºF) for a short period of time is free from microbes including Escherichia coli, Rotaviruses, Giardia and the Hepatitis A virus. At around 70ºC (160ºF), milk and other foods are pasteurized.