Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Running programs quietly

rafadix08
Beginner
777 Views
Is there is a command in Fortran to disable any printing in the command prompt?
I am using this RLSE function from IMSL that prints a message every time I have perfect colinearity in a linear regression, which I do not care.
The problem is that, I guess printing on the screen can make the program run slower, especially when this RLSE function is inside a loop and prints this warning message thousands and thousands of times...
As far as I know there is no option in RLSE for it to run quietly.
Thanks,
Rafael
0 Kudos
3 Replies
TimP
Honored Contributor III
777 Views
Quoting - rafadix08
I guess printing on the screen can make the program run slower,
Hiding or minimizing the screen window, or redirecting the screen output, can minimize the performance effect. If those are not done, installing the correct video driver may make a big difference.
0 Kudos
rafadix08
Beginner
777 Views
Quoting - tim18
Hiding or minimizing the screen window, or redirecting the screen output, can minimize the performance effect. If those are not done, installing the correct video driver may make a big difference.

Hi, thanks a lot. How can I redirect the screen output to a log file?
0 Kudos
TimP
Honored Contributor III
777 Views
Quoting - rafadix08

Hi, thanks a lot. How can I redirect the screen output to a log file?
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true
and many other such URLs.
0 Kudos
Reply