Home »
Public Forums »
archive »
flush output files
flush output files [message #2306] |
Thu, 09 June 1994 11:34 |
eharold
Messages: 12 Registered: July 1993
|
Junior Member |
|
|
I have a long IDL program which I've designed to be run in
the background in batch mode. All output goes to various files.
One of the files contains various informational messages, particularly
counters that let me know how far into a given loop the program has
progressed. These are placed into a file via printf statements.
Unfortunately IDL doesn't seem to write into the file as soon as
a printf statement is issued but rather waits for sufficient data to
accumulate to fill some buffer. Or at least that's what the
behavior looks like. Does anyone know a way I can force IDL to
flush it's buffers so the data gets written to disk? If it makes a
difference this is on both SunOS 4.1.3 and Solaris 2.3. Thanks.
--
Elliotte Rusty Harold National Solar Observatory
eharold@sunspot.noao.edu Sunspot NM 88349
|
|
|
Current Time: Fri Oct 10 09:51:55 PDT 2025
Total time taken to generate the page: 1.84291 seconds