[Paraview] console output changed with AutoMPI

Biddiscombe, John A. biddisco at cscs.ch
Fri Jul 22 09:21:57 EDT 2011


I added console output to my paraview on windows using

#ifdef WIN32
 AllocConsole();
 freopen("conin$", "r", stdin);
 freopen("conout$", "w", stdout);
 freopen("conout$", "w", stderr);
#endif

so that I could put 
	std::cout <<"Here " << processed << std::endl;
type messages in the code and see them without having to use the annoying log window. (this has worked ok for years).

Since using the new AutoMPI feature, I notice that std::cout is no longer visible after the connection is made.
Note that if I manually start pvservers - I still see output as before.

What's different about using the server dialog to create a connection, and the AutoMPI connection. How can I make the internal autoMPI connection also pipe output to the console?

Does anyone know?

thanks

JB



-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82



More information about the ParaView mailing list