| 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? | |||||
|
|||||||||||||
| 8286 users have contributed to 31231 threads and 99107 posts to date. |
|---|
| In the past 24 hours, we have 7 new thread(s) 31 new posts(s), and 43 new user(s). In the past 3 days, the most popular thread for everyone has been comparison cilk++, openmp, pthreads first results The most posts were made to comparison cilk++, openmp, pthreads first results The post with the most views is Very amusing... Escalated as Please welcome our newest member titanius.anglesmith |