| Thread Tools | Search this thread |
|---|
jesperse
| July 10, 2009 9:46 AM PDT How to flush output written to * | ||||
Given an existing code that writes to * a lot. I'm trying to force all those writes to be flushed, to help tracking down a problem (code is being run under a batch system, so writes to * do not come to the screen). I've tried "FLUSH(6)" and "FLUSH(UNIT=6)" but they fail at runtime with the message "Unit 6 is not connected". Also "FLUSH(*)" and "FLUSH(UNIT=*)" fail at compile time, while as you might expect "FLUSH('*')" and "FLUSH(UNIT='*')" fail at run time. This is compiler version 11.1.038. What's a good way to get standard output (written to *) flushed? | |||||
|
|||||||||||||
| 8445 users have contributed to 31553 threads and 100398 posts to date. |
|---|
| In the past 24 hours, we have 10 new thread(s) 30 new posts(s), and 43 new user(s). In the past 3 days, the most popular thread for everyone has been Lost in MKL The most posts were made to TBB on linux segfaulting The post with the most views is Hi,if you were using imsl yo Please welcome our newest member nonamez |